gh-issue-impl, gh-issue-research, gh-issue-rewrite, gh-issue-update pipelines with corresponding prompts for fetch-assess, plan, implement, and create-pr steps. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2.1 KiB
You are implementing a feature according to the specification, plan, and task breakdown.
Feature context: {{ input }}
Working Directory
You are running in an isolated git worktree shared with previous pipeline steps. Your working directory IS the project root. The feature branch was created by a previous step and is already checked out.
Instructions
Follow the /speckit.implement workflow:
-
Find the feature directory and spec file path from the spec info artifact
-
Run
.specify/scripts/bash/check-prerequisites.sh --json --require-tasks --include-tasksto find FEATURE_DIR, load tasks.md, plan.md, and all available artifacts -
Check checklists status — if any are incomplete, note them but proceed
-
Parse tasks.md and extract phase structure, dependencies, and execution order
-
Execute implementation phase-by-phase:
Setup first: Initialize project structure, dependencies, configuration Tests before code: Write tests for contracts and entities (TDD approach) Core development: Implement models, services, CLI commands, endpoints Integration: Database connections, middleware, logging, external services Polish: Unit tests, performance optimization, documentation
-
For each completed task, mark it as
[X]in tasks.md -
Run
go test -race ./...after each phase to catch regressions early -
Final validation: verify all tasks complete, tests pass, spec requirements met
Agent Usage — USE UP TO 6 AGENTS
Maximize parallelism with up to 6 Task agents for independent work:
- Agents 1-2: Setup and foundational tasks (Phase 1-2)
- Agents 3-4: Core implementation tasks (parallelizable [P] tasks)
- Agent 5: Test writing and validation
- Agent 6: Integration and polish tasks
Coordinate agents to respect task dependencies:
- Sequential tasks (no [P] marker) must complete before dependents start
- Parallel tasks [P] affecting different files can run simultaneously
- Run test validation between phases
Error Handling
- If a task fails, halt dependent tasks but continue independent ones
- Provide clear error context for debugging
- If tests fail, fix the issue before proceeding to the next phase