implementation
Skill5 starsChanged 12 days agoMITView on GitHub
Working rules for implementing a task or plan step - delivering it fully and test-first, handling problems the plan didn't mention, walls, tests that break, dependencies, when to stop, and what to report. Use when writing or changing code for a task.
16 other projects use a version of this.
Adopted by
Most recently taken up by
- thunderstormwang/AgentSkillstheir own version, first seen Nov 6, 2026
- jackstine/forgectltheir own version, first seen Nov 1, 2026
- grace-method/grace-plugintheir own version, first seen Oct 25, 2026
- JosefGisis/skillstheir own version, first seen Oct 20, 2026
- jvalin17/agent-toolkittheir own version, first seen Oct 12, 2026
- krishnapollu/my-devsquadtheir own version, first seen Oct 9, 2026
Used with
Projects with it also use bug-fix, investigate and 4 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.
u9401066Skillbug-fix
Structured bug fixing workflow with root cause analysis and regression prevention. Triggers: BF, 修 bug, fix bug, debug, 除錯, 錯誤, error, 問題, issue, 修復, fix, 故障, fault, 異常, exception, 失敗, failure, 不能用, broken, 壞掉.
Also in 3 projects that use this
VercelSkillinvestigate
Investigate an issue report, or analyze the constraints of a proposed change, with strict, evidence-driven diagnosis.
Also in 3 projects that use this
MicrosoftSkillplaywright-cli
Automate browser interactions, test web pages and work with Playwright tests.
Also in 4 projects that use this
SentrySkillreview
Fixture review skill.
Also in 3 projects that use this
MicrosoftSkillrelease
Use ONLY when the user explicitly asks to cut/publish a Huabu desktop release or tag a version. Performs an outward action — bumps the version in apps/desktop/package.json, commits + annotated-tags vX.Y.Z, and pushes the branch + tag. That tag push auto-builds the macOS/Windows installers and publishes a GitHub Release. Provides `status`, `bump`, `tag-push`, and a one-command `run` (bump → tag-push).
Also in 4 projects that use this
SentrySkillskill-creator
Create new agent skills following the Agent Skills specification. Use when asked to "create a skill", "add a new skill", "write a skill", "make a skill", "build a skill", or scaffold a new skill with SKILL.md. Guides through requirements, writing, registration, and verification.
Also in 4 projects that use this
Other versions16 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 16
- bholmesdev/hubble.md★ 1.5ksame name
- ceedaragents/cyrus★ 888same name
- cyrusagents/cyrus★ 888same name
- EmeaAppGbb/spec2cloud★ 100same name
- jackstine/forgectl★ 8same name
- crgarcia12/Liliput★ 4same name
- websublime/mister-anderson★ 3same name
- jvalin17/agent-toolkit★ 2same name
- JosefGisis/skills★ 1same name
- grace-method/grace-plugin★ 0same name
6 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 repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- commits-and-prsSkill
- context-mdSkill
- debuggingSkill
- diagramsSkill
- project-profileSkill
- project-scanSkill
- session-retroSkill
- task-plansSkill
- tddSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 0 are common, 9 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 15 edited versions we read keep these.
9
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
Read the CONTEXT.md files from the root down to the code you will change, then the code itself.
- Distinctive: line 17
If the step changes a contract (an API spec, message format, schema or shared type), change the contract first, then the code that …
- Distinctive: line 21
Keep the change focused: no unrelated edits, and no abstractions or options the task doesn't need.
- Very specific: line 22
Use the project's standard commands (make test, make lint, make check) when it has them.
- Very specific: line 23
Run the tests for the area you changed, and make check (or the project's equivalent) before reporting done.
- Distinctive: line 33
When unsure which of these applies, stop and report.
- Distinctive: line 37
Never edit or delete an existing test to make it pass.
- Distinctive: line 38
If one change breaks many tests that don't test the behavior you changed, the tests are coupled to the implementation.
- Distinctive: line 42
If a step can't be done as planned (a missing API, a library that doesn't behave, conflicting requirements):
- Distinctive: line 44
Stop. Don't write a stand-in.
- Distinctive: line 45
Write it under Blockers in the plan: which step, what blocks it, what you tried, the evidence, and what is unknown.
- Distinctive: line 63
If you have read or searched five times in a row without changing anything, stop and say in one sentence what you still need.
- Very specific: line 82
Don't commit unless asked.
“Common” is measured: kept by at least 6 in 10 of the 15 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
<!-- From agentic-defaults. Kit updates replace this file except a "## This project" section at the end, which belongs to the project. Edit nothing else. Rules for all work go in AGENTS.md "This project". -->Implementation
Input
A task description, or a plan file with the step numbers to do. Do only the steps you were given. When working from a plan file, read its Goal, Requirements and your steps, and set its status to in progress if it is still planned.
Steps
- Read the
CONTEXT.mdfiles from the root down to the code you will change, then the code itself. Follow the patterns already there. - If the step changes a contract (an API spec, message format, schema or shared type), change the contract first, then the code that implements it. Regenerate types or clients from it if the project does that.
- Work test-first, following the
tddskill: write a failing test, watch it fail, write the simplest code that passes, run the tests, tidy up. - For a bug, reproduce it in a failing test first. If the cause isn't obvious, follow the
debuggingskill. - Deliver each step fully. No stubs, placeholders, hard-coded stand-ins or "for now" versions of required behavior. If a step can't be delivered fully, you have hit a wall (see below).
- Keep the change focused: no unrelated edits, and no abstractions or options the task doesn't need.
- Use the project's standard commands (
make test,make lint,make check) when it has them. Run the step's Verify command if it has one, and tick the step off (- [x]) only when it passes. - Run the tests for the area you changed, and
make check(or the project's equivalent) before reporting done. - Last, the context check from the
context-mdskill: run itscheck.sh(add--base origin/<default branch>if the work is already committed), update eachCONTEXT.mdyour change made wrong or incomplete, or note why none needed it.
Work the plan didn't mention
You will find things the task or plan didn't foresee.
- Fix without asking when your change caused it or it blocks your step: a bug, a broken import or type, missing error handling, or a validation or permission check the change needs to be correct and secure. Add a test where it matters, and list each fix in your report.
- Stop and report when it needs a new dependency, a new table, service or layer, a change to a contract or public interface, a different library, removing, relaxing or bypassing an existing authentication or authorization check, or any other design decision. Say what you found, what you propose and why.
- Leave alone problems that existed before your change or sit outside the files you are working on. List them in your report.
- When unsure which of these applies, stop and report.
Tests that fail or break
- Never edit or delete an existing test to make it pass. A failing test means the code is wrong, unless the requirement changed; then say so and wait for the user to agree.
- If one change breaks many tests that don't test the behavior you changed, the tests are coupled to the implementation. Stop and report which tests broke and why, instead of editing each one.
When you hit a wall
If a step can't be done as planned (a missing API, a library that doesn't behave, conflicting requirements):
- Stop. Don't write a stand-in.
- Write it under Blockers in the plan: which step, what blocks it, what you tried, the evidence, and what is unknown.
- List two or three options with their cost: split (finish what can be finished, move the rest into its own task), spike (a throwaway experiment on a separate branch), re-plan (the design is wrong), or a visible limit (behind a switch that is off, recorded in the ticket).
- Report and stop. The user or the architect chooses.
Dependencies
Install only packages the task or plan names. If an install fails, stop and report. Never try a similar-looking name or an alternative package instead: a misspelled package name can belong to a fake or malicious package.
Live systems
Infrastructure, deployments and data outside a local or test setup are changed by the user, never by you.
- Run freely: plans and dry runs (
terraform plan,terragrunt plan) and read-only commands (describe,list,show, logs, status). - Hand to the user: everything that applies, deploys, scales, restarts, rolls back, or creates, changes or deletes a resource, even when asked to "just do it". Give the exact command, the folder to run it from, and one line on what it changes.
- Don't print secrets: skip read-only commands that show secret values, such as
terraform output -json,terraform state pullor a secret store's get command. Refer to secrets by name.
Don't get stuck reading
If you have read or searched five times in a row without changing anything, stop and say in one sentence what you still need. Then either make the change, or report the missing information as a blocker.
Stop and report instead of continuing when
- the task or plan turns out to be wrong or impossible as written,
- the same failure remains after two different attempts.
Report what you found. Don't improvise a redesign.
Report
Short: the result first, one line per item, no narration.
- What changed, one line per file.
- Tests added or changed, and the result of the last test run, with failure output if any.
- Fixes you made that the plan didn't mention, and problems you left alone.
- The context check:
CONTEXT.mdfiles updated, or why none needed it. - Blockers and open questions.
Don't commit unless asked. When asked, follow the commits-and-prs skill.
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.

