SKILLEMALL.ai

CD agent-md-refactor

Refactor bloated AGENTS.md, CLAUDE.md, or similar agent instruction files to follow progressive disclosure principles. Splits monolithic files into organized, linked documentation.

davila7/claude-code-templates Agent Skills author: davila7 MIT 2 files body ≈ 1 798 tokens Open the sourcegithub.com↗ analyzed 6 d ago

Refactor bloated AGENTS.md, CLAUDE.md, or similar agent instruction files to follow progressive disclosure principles. Splits monolithic files into organized…

As a process D 39/100 · Unfinished process — References files that are not bundled: .claude/typescript.md, .claude/testing.md, .claude/code-style.md

ProcedureAI and agentsSoftware developmenttype and topics are labelled automatically from the skill text
JSON
Technical rating
C
86/100
safety, quality, tests
Safety 60%
100
Quality 40%
64
Run on models
none yet
Process rating
D
39/100
Unfinished process
References files that are not bundled: .claude/typescript.md, .claude/testing.md, .claude/code-style.md
Tools and files w 18
0
Inputs and preconditions w 11
0
Failures and branches w 10
0
the three weakest of ten parameters · all ten

The same skill appears in 3 more places: RA-Skills, RA-Skills, RA-Skills

How to improve

  1. Say in the description WHEN to use the skill ("use when…", example requests): that is the agent's main cue.
  2. The text references files that are not there: add them or drop the references.
For the model run — optional
  • Your own cases (evals/evals.json, 4–6 real requests with expected answers): the full check would then run those instead of a model-drafted suite.
  • A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.

Guard findings · 0

✓ No critical or high findings

Files scanned: 2. Evidence is masked. Grey chips explain why severity was lowered.

Against the Agent Skills spec

  • warning description-no-when description does not say WHEN to use the skill (no "use when")
  • warning missing-ref reference to a missing file: .claude/typescript.md
  • warning missing-ref reference to a missing file: .claude/testing.md
  • warning missing-ref reference to a missing file: .claude/code-style.md
  • warning missing-ref reference to a missing file: .claude/git-workflow.md
  • warning missing-ref reference to a missing file: .claude/architecture.md
  • note edit-residue the text marks something as outdated (lines 184): check that old rules are not kept next to new ones — the full check reads the text for contradictions

Process rating: all ten parameters 39/100

Will not run. References files that are not bundled: .claude/typescript.md, .claude/testing.md, .claude/code-style.md
  • 0Tools and files. 5 referenced file(s) missing: .claude/typescript.md, .claude/testing.md, .claude/code-style.md
  • 0Inputs and preconditions. Does not say what the process needs to start
  • 0Failures and branches. Linear process with no failure handling
  • 0Progress reporting. Says nothing while it works
  • 20When it triggers. No condition that starts the skill
  • 30Running it twice. 7 mutating operations with no state check
  • 60Result and completion. Output format stated, no completion criterion
  • 85Steps. 26 steps, 1 vague phrases
  • 100Consistency. Name and required fields are in place
  • 100Execution cost. Instruction body is 1798 tokens

Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.

Quality signals

  • +5Description has no quoted example phrases that should trigger the skill
  • +4Description does not say when NOT to use the skill (false activations)
  • +2Single-language instructions
  • +3Description length 180: enough signal without eating the budget
  • +4Structure: 15 headings
  • +3Step-by-step instructions: 26 items
  • +3Output format is stated explicitly
  • +4Has examples (8 code blocks)
  • +1License stated

Quality base 70; lint remarks subtract, signals add up to 100. Result: 64.