← ClaudeAtlas

toolchain-configlisted

Apply the unified team toolchain config (ESLint, Prettier, tsconfig, Husky, lint-staged) to a NestJS / TypeScript backend. Use this whenever the user wants to set up, unify, standardize, align, fix, or refresh linting / formatting / TypeScript-compiler / git-hook configuration across projects — including phrasings like "unify the eslint config", "set up prettier + husky", "make this repo match our standard tooling", "why is my formatting inconsistent", or "align tsconfig with the other services". Prefer this skill over hand-writing config files, so every repo ends up with the same reviewed baseline instead of drifting copies.
YoussefRashad/backend-agent-skills · ★ 0 · AI & Automation · score 72
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