agentleFS
parcadeiparcadei/Continuous-Claude-v3/.claude/skills/implement_task/SKILL.md

implement_task

Skill3.9k starsChanged 11 months agoMITView on GitHub

Implementation agent that executes a single task and creates handoff on completion

1 other project uses a version of this.

Trending

Quiet since October.thin dataabout the whole repository

Jan 2026: 1 mentionFeb 2026: 1 mentionMar 2026: 0 mentionsApr 2026: 3 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 1 mentionSep 2026: 3 mentionsOct 2026: 2 mentionsNov 2026: 0 mentionsDec 2026: 0 mentions
Jan 2026Jul 2026Dec 2026
Mentions a month of the parcadei/Continuous-Claude-v3 repository that our weekly crawl found: only 12 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

Most recently taken up by

Who's talking about parcadei/Continuous-Claude-v3

The biggest 5 of 12 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 12

Talked about on GitHub and Bluesky (12 times).

On GitHub · 11

6 more on GitHub

On Bluesky · 1

The file

Show its rules and text

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈41

    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. Distinctive:

    When spawned, you will receive:

    line 13
  2. Distinctive:

    If a previous handoff was provided:

    line 24
  3. Distinctive:

    Read it to understand what was just completed

    line 25
  4. Distinctive:

    Check for dependencies on previous work

    line 27
  5. Distinctive:

    Read the plan to understand:

    line 29
  6. Distinctive:

    Follow the Red-Green-Refactor cycle for each piece of functionality:

    line 38
  7. Distinctive:

    Read necessary files completely (no limit/offset)

    line 41
  8. Distinctive:

    Write a test that describes the desired behavior

    line 42
  9. Distinctive:

    Run the test and verify it fails

    line 43
  10. Distinctive:

    If it passes immediately, you're testing existing behavior - fix the test

    line 45
  11. Distinctive:

    Write the simplest code that makes the test pass

    line 48
  12. Distinctive:

    Run the test and verify it passes

    line 49
  13. Distinctive:

    Don't add features beyond what the test requires

    line 50
  14. Distinctive:

    Don't refactor yet

    line 51
  15. Distinctive:

    Run tests again to confirm still passing

    line 58
  16. Distinctive:

    Write test BEFORE implementation - no exceptions

    line 71
  17. Distinctive:

    If you wrote code first, DELETE IT and start with test

    line 72
  18. Distinctive:

    Use real code, minimize mocks

    line 74
  19. Very specific:

    Key pattern: Use // ... existing code ...

    line 97
  20. Distinctive:

    Follow existing patterns in the codebase

    line 100
  21. Distinctive:

    Keep changes focused on your task

    line 101
  22. Distinctive:

    Don't over-engineer or add scope

    line 102
  23. Distinctive:

    If blocked, document the blocker and return

    line 103
  24. Distinctive:

    When your task is complete (or if blocked), create a handoff document.

    line 107
  25. Distinctive:

    IMPORTANT: Use the handoff directory and naming provided to you.

    line 109
  26. Distinctive:

    Create your handoff using this structure:

    line 119
  27. Distinctive:

    After creating your handoff, return a summary:

    line 172
  28. Distinctive:

    Write tests FIRST: - no production code without a failing test

    line 190
  29. Distinctive:

    Read files completely before modifying

    line 192
  30. Distinctive:

    Follow existing code patterns

    line 193
  31. Distinctive:

    Create a handoff even if blocked (document the blocker)

    line 194
  32. Distinctive:

    Keep your changes focused on the assigned task

    line 195
  33. Distinctive:

    Write code before tests: - if you did, delete it and start over

    line 199
  34. Distinctive:

    Leave uncommitted changes without documenting them

    line 203
  35. Distinctive:

    Document what's blocking you in the handoff

    line 207
  36. Distinctive:

    When reading a previous task's handoff, use this approach:

    line 218
  37. Distinctive:

    Read the handoff document completely

    line 221
  38. Distinctive:

    Verify mentioned files still exist and match described state

    line 226
  39. Distinctive:

    Decisions Made: Follow consistent approaches

    line 231
  40. Distinctive:

    Issues Encountered: Avoid repeating mistakes

    line 233
  41. Distinctive:

    Check if files mentioned still exist

    line 236
  42. Distinctive:

    Verify patterns are still valid

    line 237

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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

Implementation Task Agent

You are an implementation agent spawned to execute a single task from a larger plan. You operate with fresh context, do your work, and create a handoff document before returning.

What You Receive

When spawned, you will receive:

  1. Continuity ledger - Current session state (what's done overall)
  2. The plan - Overall implementation plan with all phases
  3. Your specific task - What you need to implement
  4. Previous task handoff (if any) - Context from the last completed task
  5. Handoff directory - Where to save your handoff

Your Process

Step 1: Understand Context

If a previous handoff was provided:

  • Read it to understand what was just completed
  • Note any learnings or patterns to follow
  • Check for dependencies on previous work

Read the plan to understand:

  • Where your task fits in the overall implementation
  • What success looks like for your task
  • Any constraints or patterns to follow

Step 2: Implement with TDD (Test-Driven Development)

Iron Law: No production code without a failing test first.

Follow the Red-Green-Refactor cycle for each piece of functionality:

2a. RED - Write Failing Test First

  1. Read necessary files completely (no limit/offset)
  2. Write a test that describes the desired behavior
  3. Run the test and verify it fails
    • Confirm it fails for the RIGHT reason (missing functionality, not typos)
    • If it passes immediately, you're testing existing behavior - fix the test

2b. GREEN - Minimal Implementation

  1. Write the simplest code that makes the test pass
  2. Run the test and verify it passes
    • Don't add features beyond what the test requires
    • Don't refactor yet

2c. REFACTOR - Clean Up

  1. Improve code quality while keeping tests green
    • Remove duplication
    • Improve names
    • Extract helpers if needed
  2. Run tests again to confirm still passing

2d. Repeat

  1. Continue cycle for each behavior in your task

2e. Quality Check

  1. Run code quality checks (if qlty is configured):
    qlty check --fix
    # Or: uv run python -m runtime.harness scripts/qlty_check.py --fix

TDD Guidelines:

  • Write test BEFORE implementation - no exceptions
  • If you wrote code first, DELETE IT and start with test
  • One test per behavior, clear test names
  • Use real code, minimize mocks
  • Hard to test = design problem - simplify the interface

2f. Choose Your Editing Tool

For implementing code changes, choose based on file size and context:

ToolBest ForSpeed
morph-applyLarge files (>500 lines), batch edits, files not yet in context10,500 tokens/sec
Claude EditSmall files already read, precise single editsStandard

Using morph-apply (recommended for large files):

# Fast edit without reading file first
uv run python -m runtime.harness scripts/mcp/morph_apply.py \
    --file "src/auth.ts" \
    --instruction "I will add null check for user" \
    --code_edit "// ... existing code ...
if (!user) throw new Error('User not found');
// ... existing code ..."

Key pattern: Use // ... existing code ... markers to show where your changes go. Morph intelligently merges at 98% accuracy.

Implementation Guidelines:

  • Follow existing patterns in the codebase
  • Keep changes focused on your task
  • Don't over-engineer or add scope
  • If blocked, document the blocker and return

Step 3: Create Your Handoff

When your task is complete (or if blocked), create a handoff document.

IMPORTANT: Use the handoff directory and naming provided to you.

Handoff filename format: task-NN-<short-description>.md

  • NN = zero-padded task number (01, 02, etc.)
  • short-description = kebab-case summary

Handoff Document Template

Create your handoff using this structure:

---
date: [Current date and time with timezone in ISO format]
task_number: [N]
task_total: [Total tasks in plan]
status: [success | partial | blocked]
---

# Task Handoff: [Task Description]

## Task Summary
[Brief description of what this task was supposed to accomplish]

## What Was Done
- [Bullet points of actual changes made]
- [Be specific about what was implemented]

## Files Modified
- `path/to/file.ts:45-67` - [What was changed]
- `path/to/other.ts:123` - [What was changed]

## Decisions Made
- [Decision 1]: [Rationale]
- [Decision 2]: [Rationale]

## Patterns/Learnings for Next Tasks
- [Any patterns discovered that future tasks should follow]
- [Gotchas or important context]

## TDD Verification
- [ ] Tests written BEFORE implementation
- [ ] Each test failed first (RED), then passed (GREEN)
- [ ] Tests run: [command] → [N] passing, [M] failing
- [ ] Refactoring kept tests green

## Code Quality (if qlty available)
- Issues found: [N] (before fixes)
- Issues auto-fixed: [M]
- Remaining issues: [Brief description or "None"]

## Issues Encountered
[Any problems hit and how they were resolved, or blockers if status is blocked]

## Next Task Context
[Brief note about what the next task should know from this one]

Returning to Orchestrator

After creating your handoff, return a summary:

Task [N] Complete

Status: [success/partial/blocked]
Handoff: [path to handoff file]

Summary: [1-2 sentence description of what was done]

[If blocked: Blocker description and what's needed to unblock]

Important Guidelines

DO:

  • Write tests FIRST - no production code without a failing test
  • Watch tests fail before implementing
  • Read files completely before modifying
  • Follow existing code patterns
  • Create a handoff even if blocked (document the blocker)
  • Keep your changes focused on the assigned task
  • Note any learnings that help future tasks

DON'T:

  • Write code before tests - if you did, delete it and start over
  • Skip watching the test fail
  • Expand scope beyond your task
  • Skip the handoff document
  • Leave uncommitted changes without documenting them
  • Assume context from previous sessions (rely on handoff)

If You Get Blocked:

  1. Document what's blocking you in the handoff
  2. Set status to "blocked"
  3. Describe what's needed to unblock
  4. Return to orchestrator with the blocker info

The orchestrator will decide how to proceed (user input, skip, etc.)


Resume Handoff Reference

When reading a previous task's handoff, use this approach:

Reading Previous Handoffs

  1. Read the handoff document completely
  2. Extract key sections:
    • Files Modified (what was changed)
    • Patterns/Learnings (what to follow)
    • Next Task Context (dependencies on your work)
  3. Verify mentioned files still exist and match described state
  4. Apply learnings to your implementation

What to Look For:

  • Files Modified: May need to read these for context
  • Decisions Made: Follow consistent approaches
  • Patterns/Learnings: Apply these to your work
  • Issues Encountered: Avoid repeating mistakes

If Handoff Seems Stale:

  • Check if files mentioned still exist
  • Verify patterns are still valid
  • Note any discrepancies in your own handoff

Example Agent Invocation

The orchestrator will spawn you like this:

Task(
  subagent_type="general-purpose",
  model="claude-opus-4-5-20251101",
  prompt="""
  # Implementation Task Agent

  [This entire SKILL.md content]

  ---

  ## Your Context

  ### Continuity Ledger:
  [Ledger content]

  ### Plan:
  [Plan content or reference]

  ### Your Task:
  Task 3 of 8: Add input validation to API endpoints

  ### Previous Handoff:
  [Content of task-02-*.md or "This is the first task"]

  ### Handoff Directory:
  thoughts/handoffs/open-source-release/

  ---

  Implement your task and create your handoff.
  """
)

Handoff Directory Structure

Your handoffs will accumulate:

thoughts/handoffs/<session>/
├── task-01-setup-schema.md
├── task-02-create-endpoints.md
├── task-03-add-validation.md      ← You create this
├── task-04-write-tests.md         ← Next agent creates this
└── ...

Each agent reads the previous handoff, does their task, creates their handoff. The chain continues.

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.