build-feature
Skill3 starsChanged 6 days agoApache-2.0View on GitHub
A way of working for any code change bigger than a line or two, in any language: understand the task and the project, plan small steps, write a failing test, find the root cause of bugs before fixing, make the change, and verify before saying it is done. Use when the user asks to add a feature, fix a bug, refactor, or change behaviour in code.
17 other projects use a version of this.
Adopted by
Most recently taken up by
- Slama-Consulting/proofbenchtheir own version, first seen Nov 15, 2026
- todoist/todoist-clitheir own version, first seen Nov 15, 2026
- Doist/todoist-aitheir own version, first seen Nov 9, 2026
- Doist/todoist-clitheir own version, first seen Nov 8, 2026
- sbradl/claude-skillstheir own version, first seen Oct 15, 2026
- koruworks/skillstheir own version, first seen Oct 15, 2026
Used with
Projects with it also use fix-bug, write-tests and 1 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.
JetBrainsSkillfix-bug
End-to-end bug fix workflow for the Exposed project. Accepts a GitHub issue (#NUMBER), YouTrack issue (EXPOSED-NUMBER), or YouTrack URL (https://youtrack.jetbrains.com/issue/EXPOSED-NUMBER). Fetches the issue, creates a failing reproducer test, commits on a new branch, implements the fix, validates, and opens a PR. Use this skill whenever the user wants to fix a bug from an issue tracker, mentions a EXPOSED issue number, or references a GitHub issue to fix.
Also in 5 projects that use this
SentrySkillwrite-tests
Write tests following project conventions. Use when adding new tests or modifying existing ones.
Also in 3 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 3 projects that use this
Other versions17 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 17
- signerlabs/ShipSwift★ 3.3ksame name
- Doist/todoist-ai★ 563same name
- todoist/todoist-cli★ 332same name
- Doist/todoist-cli★ 331same name
- AlemTuzlak/skills★ 45same name
- Guild-Agents/guild★ 4same name
- garthcodes/claude-skills★ 2same name
- MaximSTH/meta-layer-starter★ 2same name
- zyggy-org/zyggy★ 2same name
- evgenii-studitskikh/Claude-Code-SaaS-Studio★ 1same name
7 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 repository10 other files it gives its agents.
- code-interpreterSkill
- code-reviewerSkill
- deep-researchSkill
- frontend-designSkill
- git-assistantSkill
- githubSkill
- learn-cluaizSkill
- speechSkill
- tool-creatorSkill
- workflow-managementSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. 0 are common, 13 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 16 edited versions we read keep these.
13
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
- Distinctive: line 13
Read the code you will change and the code that calls it.
- Very specific: line 14
Read what the project decided: AGENTS.md, CONTRIBUTING.md, .agents/rules/, memory, and a PRD, spec or plan for this work.
- Very specific: line 21
Run one command per call. Windows PowerShell has no &&.
- Distinctive: line 26
Keep the change as small as the task allows.
- Distinctive: line 36
Do not stack guesses. A fix without a known cause usually moves the bug somewhere else.
- Distinctive: line 40
For a bug: write a test that fails because of the bug, and watch it fail.
- Distinctive: line 41
For a feature: write tests for the main behaviour and for an edge case such as empty input or a failure.
- Distinctive: line 42
Follow the project's test style, framework and location.
- Distinctive: line 43
If the project has no tests, write the smallest check you can run, and say so.
- Distinctive: line 48
After three failed attempts, stop.
- Distinctive: line 49
When the tests pass:
- Distinctive: line 50
Run the whole suite, plus the linter or type check if the project has one.
- Distinctive: line 51
Run the program once the way a user would.
- Distinctive: line 52
Read your own git diff and remove debug prints, leftovers and unrelated changes.
- Distinctive: line 60
Do not say it works unless a test or a run showed it.
- Very specific: line 62
Commit only when the user asks, using the git-assistant skill.
“Common” is measured: kept by at least 6 in 10 of the 16 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
Build Feature
Links such as references/... are files of this skill. Read them with read_tool_file. In the terminal agent, read_item with build-feature gives the folder; then call read_file on the folder plus the link.
Understand
- Restate the goal in one or two sentences: the input, what happens, and the output. Also say what the change will not do. If something that changes the result is unclear, ask one short question. Otherwise go on and say what you assumed.
- Read the code you will change and the code that calls it.
- Read what the project decided:
AGENTS.md,CONTRIBUTING.md,.agents/rules/, memory, and a PRD, spec or plan for this work. Theworkflow-managementskill explains the.agents/folder and how to size a task. - Find how the project builds and tests. The CI workflow (
.github/workflows/*.yml) is the most reliable list. Otherwise look in the project files:package.jsonscripts, run with the tool of its lockfile;cargo testandcargo clippy, with-p <crate>in a workspace;python -m pytest, because plainpytestmay not find the project's modules;go test ./...andgo vet ./...;Makefileorjustfiletargets.
- Run one command per call. Windows PowerShell has no
&&.
Plan
- Name the files to change, what changes in each, and how you will check it.
- Keep the change as small as the task allows. Do not rename, reformat or "improve" code the task does not need.
- Split large work into steps that each build and pass. A good step is about 200 changed lines; the usual order is types, then logic with tests, then the entry point, then an end-to-end test and docs.
- Edge cases and when to ask: references/working-details.md.
Bugs: find the cause first
- Reproduce the bug: run it, or read the error and the stack trace.
- Trace it back to where the wrong value first appears, not where it shows up. Check what changed recently (
git log -pon the file). - Form one hypothesis and test it, one change at a time.
Do not stack guesses. A fix without a known cause usually moves the bug somewhere else.
Test first
- For a bug: write a test that fails because of the bug, and watch it fail.
- For a feature: write tests for the main behaviour and for an edge case such as empty input or a failure.
- Follow the project's test style, framework and location.
- If the project has no tests, write the smallest check you can run, and say so.
Build and verify
- Make the change and run the test after each step.
- After three failed attempts, stop. Report what you tried and what you think is wrong, with one or two other approaches. Undo only your own edits: references/working-details.md.
- When the tests pass:
- Run the whole suite, plus the linter or type check if the project has one.
- Run the program once the way a user would.
- Read your own
git diffand remove debug prints, leftovers and unrelated changes.
- For a larger change, review it the way the
code-reviewerskill does.
Report
- Say what changed, file by file.
- Quote the commands you ran and their results.
- Say what you did not test.
- Do not say it works unless a test or a run showed it.
Commit only when the user asks, using the git-assistant skill. If a decision should outlive the conversation, such as a test command or a design choice, propose it as project memory (remember).
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.

