Agentic software factory Part 3: Skills infrastructure: .claude/skills/, verify:skills, skills:eval
Author: cliffhallCreated Sep 27, 2026Updated Sep 28, 2026
Labelsenhancementv2
Part of the agentic software factory tracker #4858, Wave 2. Proposed as S2 in docs/agent-guidance-inception.md (PR #4861) §9, from #4859.
Depends on
None beyond #4859. Can run in parallel with the rest of Wave 2.
Scope
Port from the Inspector's
v2/main, with their*.test.mjsfiles:scripts/verify-skills.mjsscripts/verify-skills-cli.mjsscripts/skill-eval.mjsscripts/lib/skill-manifest.mjsscripts/lib/claude-cli.mjs- the helpers these import:
scripts/lib/npm-scripts.mjsandscripts/lib/win-shell-args.mjs. Part 4 (#4864) and Part 11 (#4871) reuse them.
Add root npm scripts:
verify:skills,verify:skills:cli,skills:eval,test:scripts.Copy
docs/skill-authoring.md(paths only).Add the "Maintaining the skills" rules to
AGENTS.md:- explicit
disable-model-invocation, defaulting tofalse - eval cases with ≥ 5 positives plus negatives
- the listing budget
pathsonly when a skill is useless outside the matched files, with the trade-off stated in the PR- quote any
#or:in a description
If Part 2 (
AGENTS.md) hasn't merged yet, hand these rules to it instead.- explicit
Acceptance criteria
- The ported verifier keeps its "no skills found" failure. Because this issue lands before any skill, it ships an explicit, temporary bootstrap allowance for an empty
.claude/skills/, which the first skill-adding PR removes: whichever of Part 6, 7, 10, 11 or 12 lands first. - It fails on a fixture with malformed frontmatter, or with no
disable-model-invocation. -
npm run skills:evalruns against Claude, and against Copilot withAGENT=copilot. -
verify:skillsandverify:skills:clirun on every PR in a new root-guards CI job created here (intypescript.ymlor a small repo-level workflow; this repo has nomain.yml). Part 4 (#4864) extends it. - The verifier's wiring checks (
checkWiring) are ported against this repo's real files. Two links don't exist yet, so each gets an explicit, temporary allowance: rootvalidatereachingverify:format-coverage(removed by Part 4, #4864) andlocal:gatereachingverify:skills:cli(removed by Part 11, #4871).
Branch
Targets v2/main. Closes #N won't auto-close an issue on a non-default branch, so close this one by hand on merge and move the card to Done.
Source: modelcontextprotocol/servers