agentleFS
aaddrickaaddrick/claude-pipeline/.claude/skills/implement-issue/SKILL.md

implement-issue

Skill129 starsChanged 9 months agoMITView on GitHub

Use when given a GitHub issue number and base branch to implement end-to-end

10 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

Implement Issue

End-to-end issue implementation via orchestrator script.

Announce at start: "Using implement-issue to run orchestrator for #$ISSUE against $BRANCH"

Arguments:

  • $1 — GitHub issue number (required)
  • $2 — Base branch name (required)

Invocation

Immediately launch the orchestrator:

.claude/scripts/implement-issue-orchestrator.sh \
  --issue $ISSUE_NUMBER \
  --branch $BASE_BRANCH

Or with explicit agent override:

.claude/scripts/implement-issue-orchestrator.sh \
  --issue $ISSUE_NUMBER \
  --branch $BASE_BRANCH \
  --agent bulletproof-frontend-developer

Monitoring

Each run creates its own status.json inside the log directory:

# Find the latest run's status file
jq . logs/implement-issue/issue-${ISSUE_NUMBER}-*/status.json

Watch live:

# Replace with your actual log dir path (shown at startup)
watch -n 5 'jq -c "{state,stage:.current_stage,task:.current_task,quality:.quality_iterations}" logs/implement-issue/issue-123-20260221-153045-12345/status.json'

Stages

StageAgentDescription
setupdefaultfetch, worktree, research, evaluate, plan
implementper-taskexecute each task from plan
task-reviewspec-reviewerverify task achieved goal
fixper-taskaddress review findings (uses task's agent)
simplifycode-simplifierclean up code
testphp-test-validatorrun test suite
reviewcode-reviewerinternal code review
docsphpdoc-writeradd PHPDoc blocks
prdefaultcreate/update PR
spec-reviewspec-reviewerverify PR achieves issue goals
code-reviewcode-reviewerfinal code quality check
tech-docstechnical-doc-writerassess/write/update docs in docs/{domain}/
completedefaultpost summary

Available Implementation Agents

The plan stage selects the best agent per task from:

AgentUse For
laravel-backend-developerPHP/Laravel: controllers, models, services, middleware, migrations, API, PHPUnit
bulletproof-frontend-developerCSS, responsive design, Blade templates, frontend code
bash-script-craftsmanShell scripts, portability, BATS tests
technical-doc-writerArchitecture docs, design docs, data flows, API contracts in docs/{domain}/

Schemas

Located in .claude/scripts/schemas/implement-issue-*.json

Logging

Logs written to logs/implement-issue/issue-N-timestamp/:

  • orchestrator.log — main log
  • stages/ — per-stage Claude output
  • context/ — parsed outputs (tasks.json, etc.)
  • status.json — real-time status (primary location, no root-level status.json)

Exit Codes

CodeMeaning
0Success, PR created and approved
1Error during a stage
2Max iterations exceeded
3Configuration/argument error

CLI Session Isolation

All claude -p invocations in orchestrator scripts must use --no-resume to prevent session context contamination. Without it, the CLI may resume a cached session and the model will return "already processed" instead of following the schema prompt — causing "No structured output" failures.

Exception: Explicit --resume $SESSION_ID after rate limit recovery is intentional and correct.

Integration

Called by handle-issues via batch-orchestrator.sh.

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.