agentleFS
BhangeeF16BhangeeF16/kaizen/skills/implement-slice/SKILL.md

implement-slice

Skill0 starsChanged 4 months agoMITView on GitHub

Use when a delivery run dispatches any code-executing action: implementing an approved backend slice, implementing an approved frontend slice, or applying a minimal fix to an isolated defect. One shared procedure — execute a bounded change per an approved target, produce the change plus targeted validation, never expand scope — parameterized by the action id passed as the first skill argument (backend_implementation, frontend_implementation, or apply_minimal_fix) and the persona dispatched (backend-developer or frontend-developer, who carries the domain lens). Replaces the retired backend-implementation, frontend-implementation, and apply-minimal-fix skills.

2 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

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read the approved plan/target for $target and this dispatch's stated slice before touching files.

    line 19
  2. Distinctive:

    Search for the existing pattern before writing a new abstraction.

    line 20

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “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 Slice — $action

One procedure for every code-executing action. The dispatched persona carries the domain lens; the action id ($action) selects the contract and the rules below; the change is bounded by what was approved — nothing adjacent, nothing extra.

Your contract

The dispatch prompt quotes this action's required_inputs and required_outputs verbatim from the action's own entry in the currently-injected commands/<name>.process.yaml. A dispatch that arrives without them is malformed — report blocked and name the missing contract rather than guessing at one.

Produce every required output — none is optional, however redundant it seems.

Procedure (every action)

  1. Read the approved plan/target for $target and this dispatch's stated slice before touching files; stay strictly within it.
  2. Search for the existing pattern before writing a new abstraction.
  3. Implement the smallest correct change, with validation alongside — a compiling change is not a validated change.
  4. Re-read the diff against the approved scope before reporting done: scope creep is a stop condition even when the extra change looks like an improvement.

Action-specific rules

  • backend_implementation — db-administrator is the supporting lens for persistence, migration, and index concerns; related domain facts that must move together are committed atomically.
  • frontend_implementation — hard precondition: an approved frontend execution plan actually exists (its absence is a missing kickoff prerequisite — ask, do not proceed). Build against the contract that exists: map each screen to its accepted endpoints, record missing fields as open questions rather than papering over them client-side, and implement happy, denied, empty, and error paths together.
  • apply_minimal_fix — bounded strictly by the root-cause hypothesis and minimal fix target the isolate_root_cause checkpoint defined (carried verbatim in your prompt). Fix the demonstrated cause, not the symptom, and name the regression validation target that will prove it. The persona is whichever developer the isolated cause demands — a client-side cause dispatches frontend-developer.
  • Parallel tracks — when the kickoff task distribution marked this track independent, you are running in an isolated git worktree alongside the other track; keep every change inside your own track's scope so the merge-back stays clean.

Result

Report each required output produced (with its location), the result (pass / pass_with_risks / blocked / failure), and blocking questions as an explicit list (empty list stated explicitly).

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.