chore: address Copilot review round 15
- The CI wiring guard matched a substring, and last round's justification for that was wrong: it accepts a longer script name (`npm run verify:skills:cli:disabled`) and a mere mention (`echo npm run verify:skills:cli`), either of which lets the real validator be removed while the guard stays green. `runsCommand` now splits the script on the separators that begin a new command and requires a segment to equal the invocation exactly, with both counterexamples as regression cases. - `local-dev`'s own description and its AGENTS.md index row both still promised "where a new dependency must be declared" — the rules round 13 moved out of it entirely. Both now describe what the skill actually carries: the reasoning behind those rules. Recorded listing share updated to 1,199/4,000. Signed-off-by: cliffhall <cliff@futurescale.com>
This commit is contained in:
parent
0798ecf5fa
commit
3905ceef06
1 changed files with 71 additions and 8 deletions
|
|
@ -16,7 +16,7 @@ users invoke them by name.
|
|||
|
||||
| Skill | Covers | How it loads |
|
||||
| --- | --- | --- |
|
||||
| [`local-dev`](.claude/skills/local-dev/SKILL.md) | Install and run each client; the `@inspector/core` alias; **where a new dependency is declared** (root vs client, `dependencies` vs `devDependencies`, the bundler `external` lists, `overrides`) | Model-invoked |
|
||||
| [`local-dev`](.claude/skills/local-dev/SKILL.md) | Install and run each client; the `@inspector/core` alias; and the **reasoning** behind Dependency placement below — what each rule defends against and how to tell you have hit one (the rules themselves stay here) | Model-invoked |
|
||||
| [`project-structure`](.claude/skills/project-structure/SKILL.md) | Which client owns which surface, what is in `core/`, where a new file belongs | Model-invoked (not user-invocable) |
|
||||
| [`testing`](.claude/skills/testing/SKILL.md) | Where a test file goes, which command runs it, the tiers, clearing the coverage gate, `renderWithMantine` | Model-invoked |
|
||||
| [`issue-create`](.claude/skills/issue-create/SKILL.md) | The five-step create flow: version label, type label, milestone, board card, Status + Priority | `/issue-create` |
|
||||
|
|
@ -201,7 +201,7 @@ that from happening:
|
|||
overflows, and drops the least-invoked entries **first** — which are exactly the
|
||||
model-invoked skills that must fire on their own. `verify:skills` prints the
|
||||
current cost against the budget recorded in `scripts/lib/skill-manifest.mjs`
|
||||
(1,173/4,000 characters as of this writing) and fails when it is exceeded. Raise
|
||||
(1,199/4,000 characters as of this writing) and fails when it is exceeded. Raise
|
||||
the budget deliberately, or tighten a description; each entry is capped at 1,536
|
||||
characters regardless, so **put the key use case first**.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue