toolchain-configlisted
Install: claude install-skill YoussefRashad/backend-agent-skills
# Toolchain Config — Unified ESLint / Prettier / tsconfig / Husky
> **When to use:** unifying ESLint / Prettier / tsconfig / Husky / lint-staged across a NestJS/TypeScript backend. Invoke with `/toolchain-config`, or "unify the eslint config" / "align tsconfig with the other services".
Bring a NestJS / TypeScript backend onto the team's single reviewed toolchain
baseline.
The canonical config lives in `templates/` next to this skill. This skill is the
source of truth until it is promoted to shared npm packages
(`@<org>/*`).
Propagation is **pull-based**: re-run this skill on a project to sync it, and use
the version stamp to identify projects that are behind.
The canonical version MUST be read from:
`templates/version.json`
Example:
```json
{
"version": "1.1.0"
}
```
**Never hardcode the canonical version inside this skill.** (The example above is
illustrative only — always read the real value from `templates/version.json`.)
## Template → target filename mapping
Templates are stored WITHOUT a leading dot (and `.prettierrc` is stored as JSON) so
they are easy to read in the repo. When applying, map them to their real target
names:
| Template under `templates/` | Target file in repo |
| --------------------------- | ----------------------------------------------------------------- |
| `eslint.config.mjs` | `eslint.config.mjs` |
| `prettierrc.json` | `.pret