Install any skill in seconds. Free to start, no credit card required.
Get Started Free →saffron-health/improve-codebase-architecture
Find deepening opportunities in a codebase, informed by the domain language in CONTEXT.md and the decisions in docs/adr/.
Passed 3 of 10 test cases with the skill, and 4 of 10 without it.
and 1 more in the full report
3 fixed3 passed either way10 still failing6 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 3 test cases the skill fixed. Same model, same prompt, with and without the skill.
I am rejecting candidate #2 (deepening `src/lab/specimen.ts`) because our regulatory compliance framework mandates separate audit boundaries for specimen logging, which future maintainers might not realize. How should you handle this load-bearing rejection during our discussion?
| Checked | Without skill | With skill |
|---|---|---|
| Offers to record the load-bearing regulatory reason in an ADR. | Passed | Passed |
| Explains that ADRs prevent future architecture reviews from re-suggesting rejected proposals. | Missed | Passed |
The instructions your model reads when the skill loads.
Surface architectural friction and propose deepening opportunities — refactors that turn shallow modules into deep ones. The aim is testability and AI-navigability.
Use these terms exactly in every suggestion. Consistent language is the point — don't drift into "component," "service," "API," or "boundary." Full definitions in LANGUAGE.md.
Key principles (see LANGUAGE.md for the full list):
This skill is informed by the project's domain model. The domain language gives names to good seams; ADRs record decisions the skill should not re-litigate.
Read the project's domain glossary and any ADRs in the area you're touching first.
Then use an available exploration subagent/tool to walk the codebase, or do the exploration directly if the runtime has no dedicated explorer. Don't follow rigid heuristics — explore organically and note where you experience friction:
Apply the deletion test to anything you suspect is shallow: would deleting it concentrate complexity, or just move it? A "yes, concentrates" is the signal you want.
test cases passed, vs 4 / 10 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.