agentleFS
SerhatKumasSerhatKumas/AI--ClaudeCodeStarter/.claude/skills/implement-feature/SKILL.md

implement-feature

Skill1 starsChanged 6 months agoMITView on GitHub

Plan and implement a feature end-to-end with tests and docs, following the project's rules. Use when the user asks to build/add a feature or capability rather than fix a small bug.

11 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 2 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 10 edited versions we read keep these.

  • 2

    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
  1. Very specific:

    Call out anything risky or hard to reverse (schema change, new dependency, public API change) and confirm with the user first.

    line 27
  2. Very specific:

    Add tests covering the happy path, edges, and failures (rules/03-testing.md).

    line 40
  3. Distinctive:

    Run the test suite, linter, and type checker.

    line 45
  4. Distinctive:

    If there's a runnable app, exercise the feature and confirm the behavior.

    line 46
  5. Very specific:

    Update README/docs/env examples if behavior or setup changed (rules/05-documentation.md).

    line 50

“Common” is measured: kept by at least 6 in 10 of the 10 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Implement Feature

A disciplined workflow for adding a feature without breaking things. Follow the steps in order; don't skip straight to coding.

1. Understand the request

  • Restate the goal in one sentence. If it's ambiguous or has hidden decisions, ask 1–3 sharp questions before writing code.
  • Identify acceptance criteria: how will we know it's done and correct?

2. Explore the codebase

  • Find the closest existing feature and read how it's wired (routes, services, data layer, tests, types).
  • Note the patterns to mirror: error handling, validation, naming, file layout.
  • List the files you'll likely create or change.

3. Plan

  • Sketch the change as a short ordered list of edits.
  • Call out anything risky or hard to reverse (schema change, new dependency, public API change) and confirm with the user first. Record big decisions as an ADR (templates/adr-template.md).

4. Implement

  • Make the smallest set of changes that fully satisfies the criteria.
  • Mirror existing patterns (see rules/01-code-style.md and rules/06-architecture.md).
  • Validate inputs at the boundary; handle errors at the right layer (rules/04-security.md).

5. Test

  • Add tests covering the happy path, edges, and failures (rules/03-testing.md).
  • For any bug uncovered, add a regression test.

6. Verify

  • Run the test suite, linter, and type checker. Fix what you broke.
  • If there's a runnable app, exercise the feature and confirm the behavior.

7. Document & summarize

  • Update README/docs/env examples if behavior or setup changed (rules/05-documentation.md).
  • Summarize what changed, why, how to test, and any follow-ups. Do not commit unless asked.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.