agentleFS
allmontyallmonty/better-code-agent/skills/implement-task/SKILL.md

implement-task

Skill0 starsChanged 10 days agoMITView on GitHub

Implements tasks from an approved plan in docs/plans/ one at a time - restores context from git log and docs/PROGRESS.md, writes the test first, implements, runs scripts/check.sh, commits, ticks the task and logs progress, then moves to the next task if asked for more than one. Use whenever work follows a plan file - "next task", "continue the plan", "implement the plan", "do the whole plan", "continue where we left off" - or names a plan task.

25 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use review-and-verify, brainstorm-feature and 9 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.
  • shifulegendSkill

    review-and-verify

    Also in 4 projects that use this

  • asta-nguyenSkill

    brainstorm-feature

    Use when a request is new, ambiguous, affects product behavior, or has unresolved scope, UX, API, data, or compatibility decisions, before any design or code.

    Also in 3 projects that use this

  • asta-nguyenSkill

    document-wiki

    Use when a task changes behavior that an existing wiki documents, or when a standalone wiki must be created or refreshed from current source.

    Also in 3 projects that use this

  • utk2103Skill

    lean-audit

    Whole-repo audit for over-engineering. Like lean-review, but scans the entire codebase instead of a diff: a ranked list of what to delete, simplify, or replace with stdlib/native equivalents. Use when the user says "audit this codebase", "audit for over-engineering", "what can I delete from this repo", "find bloat", "lean-audit", or "/lean-audit". One-shot report, does not apply fixes.

    Also in 3 projects that use this

  • pnahtanojSkill

    context-handoff

    Capture the current state of a session into a structured handoff summary. Use this skill whenever the user wants to wrap up a session, hand off work to another tool or person, continue in a new session, or document decisions before moving to implementation. Triggers on phrases like "wrap this up", "summarize where we got to", "capture this for later", "create a handoff", "what have we decided", "prep this for Claude Code", "write this up for the engineer", or any time the user signals a context boundary is approaching. Also trigger mid-session if the user wants to park a thread and return to it. Do NOT trigger for general summaries of a document or article — this skill is specifically for capturing the state of a working session.

    Also in 3 projects that use this

  • sahinSkill

    create-issue

    Also in 3 projects that use this

  • +5 more from asta-nguyen

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 1 is distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 23 edited versions we read keep these.

  • 1

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

    Restore context: Run git log --oneline -15 and git status.

    line 23
  2. Very specific:

    Confirm a green baseline: Run scripts/check.sh. If it is already red, report that and stop.

    line 24
  3. Very specific:

    Test first: Write the test(s) named in the task's verify: at the level .claude/rules/testing.md calls for.

    line 25
  4. Very specific:

    Check: Run scripts/check.sh until green.

    line 27
  5. Distinctive:

    If the task turns out wrong or too big, don't improvise: add a note to the plan explaining why, propose the split or change, and ask.

    line 33

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

Work in the user's project: the current working directory. Every path below is relative to it, not to this skill's own folder.

Target: $ARGUMENTS (default: the first unticked task of the plan marked in progress, else approved).

- [ ] 1. Restore context
- [ ] 2. Confirm a green baseline
- [ ] 3. Test first
- [ ] 4. Implement
- [ ] 5. Check
- [ ] 6. Commit
- [ ] 7. Record
  1. Restore context. Run git log --oneline -15 and git status. Read the last entries of docs/PROGRESS.md, the plan, and the code the task touches. If the working tree has someone else's uncommitted changes, stop and ask.
  2. Confirm a green baseline. Run scripts/check.sh. If it is already red, report that and stop; don't build on a broken base.
  3. Test first. Write the test(s) named in the task's verify: at the level .claude/rules/testing.md calls for. Run them and see them fail for the right reason.
  4. Implement the smallest change that makes them pass, following .claude/rules/code-quality.md and .claude/rules/architecture.md. Stay inside the task; note anything else you find in the plan's Notes instead of fixing it now.
  5. Check. Run scripts/check.sh until green. Never skip, delete or loosen a test to get there. If you can't get green, stop and report what fails and why.
  6. Commit this task alone, per .claude/rules/commits.md.
  7. Record. Tick the task in the plan (set the plan to in progress, or done when every task and acceptance criterion is ticked, and update docs/ROADMAP.md). Append an entry to docs/PROGRESS.md (create it if missing): date, task, commit, decisions, next task, blockers. Commit these with the task, or as a docs commit right after.

Then report: what changed, the check output, the next task. If the user asked for the whole plan or several tasks, go straight on to the next task, from step 1, until they're done; otherwise stop here. Each task still gets its own test, check, commit and progress entry.

If the task turns out wrong or too big, don't improvise: add a note to the plan explaining why, propose the split or change, and ask.

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.