/ai-devkit:cmk:toolchainfrom ai-devkit
Assigns unambiguous tool roles, pins runtime versions, and establishes a gitignore baseline for a repo. Use when setting up or auditing a project's toolchain.
Ships in ai-devkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Establish or audit a repo's toolchain: which tool owns which job, which versions are pinned and where, and what a baseline gitignore should cover so agents and humans never guess.
Init (default) — assign every tool its role, check in runtime pins, and seed the gitignore baseline.
Update — add or swap a tool or pin; keep one resolver and one lockfile per ecosystem.
Verify — report-only audit against the checks under ## Verify;
never mutates.
Every tool in the repo has exactly one declared role, recorded where agents
actually read it — a thin commands section in the root agent-instructions
file (CLAUDE.md or equivalent), or a dedicated docs/rules/ entry. Typical
roles: one runtime for repo-owned automation scripts, one package/workspace
manager per ecosystem, one formatter and one linter per language. Two tools
never share a role ambiguously — if both a package manager's own runtime and
a separate scripting runtime are present, each owns a distinct, named job
(dependency resolution vs. running repo scripts), not an unstated split.
Product packages keep whatever toolchain they already document — adopting this skill is not license to migrate a package's runtime, formatter, or package manager unless a migration explicitly includes it. Never introduce a second lockfile ecosystem alongside an existing one (e.g. a second JS/TS runtime's own lockfile dropped into a workspace a package manager already resolves) — one resolver, one lockfile, per ecosystem.
Check in a version file for every runtime the repo depends on, at the repo
root — a JS runtime version file (.nvmrc or equivalent), a systems-language
toolchain manifest (rust-toolchain.toml or equivalent), and their analogues
for any other ecosystem in play. CI and local setup both read the same
checked-in pin — never a separately maintained version in a CI config or a
contributor's README.
Each language ecosystem gets a single root workspace (shape and placement
rules belong to cmk:project-layout, not here). Formatter and linter configs
live at the workspace root; packages inherit them rather than each declaring
its own, unless a package's documented toolchain choice requires an
exception.
Doing initial repo setup or auditing what's tracked? Read
references/gitignore-baseline.md for an annotated baseline grouped by
concern, with the rationale for each group so it can be pruned rather than
copied wholesale.
One group always applies: .local/ — the kit-wide worktree-local root for
ephemeral state and scratch — is always ignored. See cmk:local-stack for
what lives under it and why it must never be tracked.
Report-only — never mutate:
.local/ is ignored.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
toolchain, gitignore, runtime-pinning, workspace-config, repo-setup
Generated from the plugin's indexed repository (commandosslabs/ai-devkit) — no native marketplace selected
npx claudepluginhub p/commandosslabs-ai-devkit36 skills in this plugin
/cmk:adrUse when the user asks to "record this decision", "we decided to use X over Y", "document why we chose this approach", "record an ADR", "update ADR-0003", or needs to create or update architecture decision records for system-level technical choices like choosing a database, communication protocol, or infrastructure pattern./cmk:agent-instructionsUse when the user asks to "set up CLAUDE.md", "set up AGENTS.md", "agent instructions", "add engineering rules", "make the instructions thinner", or needs to establish or maintain a thin, multi-vendor root instruction file backed by on-demand engineering rules under docs/rules/./cmk:agent-vendorsUse when the user asks to "vendor the kit's skills into this repo", "set up agent adapters", "add a coding-agent vendor", "wire skills for Claude Code / Codex / OpenCode / Grok Build / Cursor", or whenever a repo needs one canonical skill set discoverable by multiple coding agents.