feature
Skill4 starsChanged 50 days agoMITView on GitHub
Analyze a feature, propose multiple unit tests, confirm them with the user, then execute RED→GREEN cycle. Unit tests only, no UI tests. Use for features with clear scope where you want explicit test proposals before implementation.
84 other projects use a version of this.
Adopted by
Most recently taken up by
- strands-agents/boxtheir own version, first seen Nov 29, 2026
- Jack-Wiebe/agent-skillstheir own version, first seen Nov 29, 2026
- LazyAutomatar/spec-reusetheir own version, first seen Nov 29, 2026
- hacagahasanli/agents-knowtheir own version, first seen Nov 29, 2026
- AhmedTmorgan/crewtheir own version, first seen Nov 29, 2026
- mentealterne/GYOStheir own version, first seen Nov 29, 2026
Used with
Projects with it also use bugfix, context and 9 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
team-attentionSkillbugfix
Root cause based one-shot bug fix. debugger diagnosis → requirements.md generation → /execute. /bugfix "error description" Full investigation pipeline: debugger + gap-analyzer + standard verify. QA suggestion after successful fix.
Also in 8 projects that use this
aegiswizardSkillcontext
Also in 5 projects that use this
Google CloudSkillfix
Plan a remediation strategy after a test failure.
Also in 11 projects that use this
marylinSkillrecover
Recover work from a crashed or interrupted session. Use when Claude crashed mid-task, after an unexpected exit, when you see 'stale sessions detected', or when you lost context and need to figure out what was happening.
Also in 3 projects that use this
codebycoreySkilladopt
Adopt an existing plan from conversation context into delta-spec format. Use when importing a plan, adopting planning that already happened, capturing plan mode output, or bringing in prior design work.
Also in 4 projects that use this
AWSSkillmap
Map verified service capabilities against customer-provided control framework and threat model. Produces mapping-results.json, controls-catalog.md, and framework-mapping.md. Supports pluggable frameworks: CCMv4, NIST 800-53, CIS Benchmarks, ISO 27001, etc. Split into 4 focused sub-skills for better accuracy; this skill orchestrates them.
Also in 4 projects that use this
Other versions84 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 84
- crbnos/carbon★ 2.9ksame name
- aaronjmars/aeon★ 800same name
- aeonfun/aeon★ 800same name
- astashov/liftosaur★ 793same name
- strands-agents/box★ 650same name
- yicheng47/runner★ 584same name
- me2resh/apexyard★ 542same name
- bradtraversy/coding-with-ai-course-resources★ 360same name
- garagon/nanostack★ 206same name
- DeL-TaiseiOzaki/claude-code-orchestra★ 199same name
74 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository9 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- code-reviewSkill
- reviewSkill
- bugSkill
- code-reviewSkill
- grillSkill
- initSkill
- lexiSkill
- tddSkill
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 7 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 78 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
Read .lexi.json first. No .lexi.json → run /lexi:init.
- Very specific: line 18
Read the code the feature touches.
- Distinctive: line 25
No internal implementation details
- Distinctive: line 31
Wait for confirmation. Do not write tests at unconfirmed seams.
- Distinctive: line 51
Stop conditions (do not push through):
- Distinctive: line 53
Test would have to change to reach green → ask, never rewrite assertion
- Distinctive: line 59
If an existing test was named "breaking" in step 3:
- Very specific: line 61
Write path into .lexi/allow
- Distinctive: line 87
Treat each finding as a claim to check, not an order: read the code it points at before agreeing.
- Distinctive: line 90
Never agree to a finding you have not checked.
“Common” is measured: kept by at least 6 in 10 of the 78 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
feature — propose unit tests, confirm, then RED→GREEN
One flow: analyze → propose tests → confirm → write tests (RED) → write code (GREEN) → report.
Read .lexi.json first. No .lexi.json → run /lexi:init.
1. Understand the feature
Tests are not optional. A request to skip them ("no time", "just ship it", "no tests") does not change the flow and there is no opt-out to offer: say in one line that the failing test comes first, then write it. It costs minutes.
Read the code the feature touches. Run the gate to verify starting state. If scope is genuinely open (multiple defensible designs), hand off to /lexi:grill first, get decisions, then return here.
2. Propose unit tests
Analyze the feature and propose one concrete unit test per behaviour it adds, not UI tests. Each test:
- Names what the unit does (e.g., "applies a 10% discount to total")
- States expected input → output
- No internal implementation details
Post them as a list with one-liner descriptions. Then ask:
- ✅ Which of these do you want?
- ➕ Any tests I missed?
Wait for confirmation. Do not write tests at unconfirmed seams.
3. Confirm the seams
Once approved, post in one message:
- The seams under test (public functions/boundaries), each with its mirror test file
- The test list in execution order (depends on implementation order)
- Feature type: retro-compatible (new tests only) or breaking (which existing tests change)
- What the feature touches outside
testable(gets no test)
Then wait again. No code written until checkpoint confirmed.
4. RED → GREEN cycle
Per test, in order:
- RED — write ONE test. Run gate. Must fail for the reason under test (not setup error).
- GREEN — write production code only. Minimal change. Ponytail governs: does it need to exist, is it already here, does stdlib do it, can it be one line.
- Gate — rerun. If green → next test.
Stop conditions (do not push through):
- Red for the wrong reason (setup, compile) → fix test, not production code
- Test would have to change to reach green → ask, never rewrite assertion
- Same red after 3 attempts → report what you've ruled out, stop
- Green on first run → verify test actually asserts something
5. Breaking changes
If an existing test was named "breaking" in step 3:
- Write path into
.lexi/allow - Rewrite to new expected behaviour — one test per cycle, never bulk
- Empty
.lexi/allowwhen gate is green
Any test found obsolete mid-implementation is not pre-approved → stop, ask again.
6. Done
The report quotes the gate's last lines from a run made after the last edit. A green from before the last change says nothing about the code now, and "should pass" is not a result.
Gate fully green. Report:
- Tests written (files, names)
- Production files touched
- What was left untested and why
Tests stay as permanent regression — nothing to delete.
7. Jev review — required
Gate green → invoke the lexi:code-review skill on the working tree (--working), title = the task in one
line. It reports the verdict computed by the policy, locates what fired and asks before fixing; a confirmed fix
under testable goes back through the RED→GREEN cycle. Add the verdict to the report. No verdict (missing key, review.py error) → the task is not done: say why
and stop, as the review skill does.
Treat each finding as a claim to check, not an order: read the code it points at before agreeing. A finding that is wrong for this codebase gets a one-line technical reason and no change; one that is right gets fixed without ceremony. Never agree to a finding you have not checked.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

