agentleFS
hamakyohamakyo/okf-skills/skills/implement-feature/SKILL.md

implement-feature

Skill2 starsChanged 3 months agoMITView on GitHub

Use when adding a new feature or changing existing behavior in a codebase. Read OKF before implementation and prefer the smallest coherent change. Do not use for pure bug triage, test-only work, or behavior-preserving refactors.

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

12 rules. 0 are common, 9 are distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 10 edited versions we read keep these.

  • 9

    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
  • could be automatic: a setting could enforce it
  1. Distinctive:

    Use this Skill when the task requires:

    line 10
  2. Distinctive:

    Do not use this Skill for:

    line 17
  3. Very specific:

    Read okf/log.md only when change history is relevant to the requested behavior.

    line 41
  4. Distinctive:

    Add or update tests when behavior changes.

    line 50
  5. Distinctive:

    Run the narrowest useful verification first, then broader checks when risk warrants it.

    line 51
  6. Very specific:

    If durable behavior, architecture, data, domain, or playbook knowledge changed, run or recommend the update-okf Skill.

    line 52
  7. Very specific:

    Do not skip OKF review when an okf/ directory exists.

    line 56
  8. Distinctive:

    Do not invent architecture that conflicts with OKF or existing code.

    line 57
  9. Distinctive:

    Do not broaden the scope into unrelated cleanup.

    line 58
  10. Distinctive:

    Do not silently change public APIs, schemas, migrations, or user-visible behavior beyond the request.

    line 59
  11. Distinctive:

    Do not add secrets, credentials, private URLs, or personal data.

    line 60
  12. Distinctive:

    If requirements are ambiguous and local context cannot resolve them, state the assumption before implementing.

    line 61

“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

When to use

Use this Skill when the task requires:

  • Adding a new user-facing or developer-facing capability.
  • Changing existing behavior.
  • Extending an integration, workflow, UI, API, or data flow.
  • Implementing a documented requirement from OKF, an issue, or a user request.

Do not use this Skill for:

  • Investigating an unclear bug before root cause is known.
  • Adding tests without implementation changes.
  • Refactoring that should preserve behavior.
  • Updating OKF after code has already changed.

Inputs

  • User request or issue description.
  • Target repository and branch context.
  • Relevant OKF documents, if present.
  • Expected validation command or test scope, if known.

Required context

Before editing, read:

  • README.md
  • AGENTS.md or CLAUDE.md, depending on the tool in use
  • okf/index.md
  • Relevant OKF documents under okf/architecture/, okf/domain/, okf/data/, okf/features/, or okf/playbooks/
  • Existing code and tests around the target behavior

Read okf/log.md only when change history is relevant to the requested behavior.

Workflow

  1. Restate the requested behavior in concrete terms.
  2. Identify relevant OKF knowledge and note any gaps or conflicts.
  3. Inspect the existing implementation path before proposing changes.
  4. Choose the smallest coherent implementation approach that matches local patterns.
  5. Make focused code changes.
  6. Add or update tests when behavior changes.
  7. Run the narrowest useful verification first, then broader checks when risk warrants it.
  8. If durable behavior, architecture, data, domain, or playbook knowledge changed, run or recommend the update-okf Skill.

Guardrails

  • Do not skip OKF review when an okf/ directory exists.
  • Do not invent architecture that conflicts with OKF or existing code.
  • Do not broaden the scope into unrelated cleanup.
  • Do not silently change public APIs, schemas, migrations, or user-visible behavior beyond the request.
  • Do not add secrets, credentials, private URLs, or personal data.
  • If requirements are ambiguous and local context cannot resolve them, state the assumption before implementing.

Completion checklist

  • Relevant README, instructions, OKF, code, and tests were read.
  • Implementation follows existing patterns.
  • Tests were added or the reason for not adding tests is clear.
  • Verification was run or the blocker is documented.
  • OKF update need was checked.
  • Final diff is focused on the requested behavior.

Expected final response

Report:

  • What behavior was implemented.
  • Key files changed.
  • Tests or checks run.
  • Whether OKF was updated or why it was not needed.
  • Any remaining risks or follow-up work.

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.