Agent skill
typescript-default-lib
Install a default set of commonly used libraries when initializing a new TypeScript Node.js project (or retrofitting an existing one). Use when a user asks to "create a TypeScript project" and wants the standard dependencies installed (p-map, p-retry, luxon, lodash-es, winston, prisma + @prisma/client, ioredis, express, dotenv) plus common tooling (rimraf, tsc-alias) with optional @types packages and Prisma init.
Install this agent skill to your Project
npx add-skill https://github.com/shaowei-g/codex-skills/tree/main/skills/typescript-default-lib
SKILL.md
TypeScript Default Lib
Install (latest) versions of a standard dependency set for TypeScript + Node.js backends.
Quick start
- Run the installer from your project root (must contain
package.json):bash /home/harry/.codex/skills/typescript-default-lib/scripts/install_default_libs.sh- Add Prisma scaffolding too:
bash /home/harry/.codex/skills/typescript-default-lib/scripts/install_default_libs.sh --init-prisma
What gets installed
Dependencies
p-mapp-retryluxonlodash-eswinstonioredisexpressdotenv@prisma/client
Dev dependencies
prismarimraftsc-alias@types/express(unless--no-types)@types/lodash-es(unless--no-types)
Manual install commands (no script)
Use these if you don’t want to run the script:
-
npm
npm i p-map p-retry luxon lodash-es winston ioredis express dotenv @prisma/clientnpm i -D prisma rimraf tsc-alias @types/express @types/lodash-esnpx prisma init(optional)
-
pnpm
pnpm add p-map p-retry luxon lodash-es winston ioredis express dotenv @prisma/clientpnpm add -D prisma rimraf tsc-alias @types/express @types/lodash-espnpm prisma init(optional)
-
yarn
yarn add p-map p-retry luxon lodash-es winston ioredis express dotenv @prisma/clientyarn add -D prisma rimraf tsc-alias @types/express @types/lodash-esyarn prisma init(optional)
Notes / gotchas
p-map,p-retry, andlodash-esare ESM-first; avoid compiling your app to CommonJS unless you plan to use dynamicimport()or switch to TSmodulesettings compatible with ESM (e.g.NodeNext/Bundler).- Prisma best practice: keep
prismaas a dev dependency; ship@prisma/clientas a runtime dependency. tsc-aliasis useful when you compile withtscand rely onpathsaliases; run it aftertscto rewrite emitted import paths.
scripts/
Contains scripts/install_default_libs.sh.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
ekoen-frontend-code-review
Production-grade code review for the eKoEN frontend codebase. Use when asked to review, audit, inspect, or harden eKoEN React/Next.js frontend code, pages, components, hooks, API clients, or state layers for bugs, performance bottlenecks, TypeScript safety issues, request inefficiency, state-management risks, memory leaks, rendering regressions, error-handling gaps, duplication, or maintainability problems, especially when a structured severity-ranked report with code locations, root causes, suggested fixes, and example refactors is required.
ekoen-backend.doc.route-error
Add HttpErrorRes responses to eKoEN backend routes when controllers can throw errors from app/util/errors/index.ts
conventional-commit-helper
Generate and validate Conventional Commit messages for semantic-release workflows. Use when a user asks to write a commit message, asks to commit changes, asks for commit type/scope selection, or asks to enforce Conventional Commits consistency.
codex-cli-subagent-transport
Use only when native subagent execution is unavailable and the caller needs one deterministic Codex CLI run with repo-local artifacts and a manifest-based result contract.
skill-usage-logger
All skill MUST use this logger to record usage events in NDJSON format.Log Codex skill usage events to NDJSON with safe concurrent appends.
Didn't find tool you were looking for?