feature
Skill4 starsChanged 2 months agoMITView on GitHub
Analyze a feature, propose multiple unit tests, confirm them with the user, then execute RED→GREEN cycle. Unit tests only, no widget tests. Use for features with clear scope where you want explicit test proposals before implementation.
33 other projects use a version of this.
Adopted by
Most recently taken up by
- muon-m2/magento2-toolstheir own version, first seen Oct 4, 2026
- crbnos/carbontheir own version, first seen Oct 4, 2026
- yicheng47/runnertheir own version, first seen Oct 1, 2026
- SatanshuMishra/interphasetheir own version, first seen Sep 30, 2026
- eliphazbouye/skillstheir own version, first seen Sep 30, 2026
- akshaypimprikar/pragmatheir own version, first seen Sep 29, 2026
Used with
Projects with it also use bugfix, fix and 8 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.
janroudautSkillbugfix
Test-first bug diagnosis and fix — reproduce, fix, verify, iterate
Also in 5 projects that use this
Google CloudSkillfix
Plan a remediation strategy after a test failure.
Also in 5 projects that use this
OpenAISkillideate
Generate image-based alternatives, remixes, or new design directions from a Product Design brief. Use when the user asks for design variants, visual exploration, remixes, or image-generated approaches from provided context.
Also in 3 projects that use this
AnthropicSkillstatus
Case status summary by audience — client-facing (plain language), internal (for the professor), or court-ready (formal caption format per local rules). Same facts, different framing and depth. Use when a student needs to update the client, brief the professor, or prepare a court status report.
Also in 4 projects that use this
AWSSkillship
Finalize dev work on an issue branch — update docs, push, and open a PR.
Also in 5 projects that use this
GitHubSkillrefactor
Surgical code refactoring to improve maintainability without changing behavior. Covers extracting functions, renaming variables, breaking down god functions, improving type safety, eliminating code smells, and applying design patterns. Less drastic than repo-rebuilder; use for gradual improvements.
Also in 4 projects that use this
Other versions33 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 33
- crbnos/carbon★ 2.7ksame name
- aeonfun/aeon★ 766same name
- garagon/nanostack★ 207same name
- yicheng47/runner★ 206same name
- DeL-TaiseiOzaki/claude-code-orchestra★ 198same name
- dlupiak/claude-session-dashboard★ 71same name
- hex/claude-sessions★ 44same name
- Snowflake-Labs/coco-skills★ 38same name
- aaronjmars/miroshark-aeon★ 18same name
- eduwxyz/my-awesome-skills★ 16same name
23 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.
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 32 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 32 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 widget/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 — only if .lexi.json → jev is an object
Gate green → invoke the jev: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. jev absent or false, or the
jev plugin not installed → skip this step.
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.

