MUST BE LOADED for any coding task: implementing features, fixing bugs, writing code, refactoring, or making changes. This skill provides the mandatory step-by-step workflow for orchestrating the complete software development lifecycle using specialized agents. Load this skill when the user asks to 'add', 'create', 'build', 'fix', 'update', 'change', 'implement', or 'refactor' anything.
/plugin marketplace add fx/cc/plugin install fx-dev@fx-ccThis skill inherits all available tools. When active, it can use any tool Claude has access to.
scripts/wait-for-copilot-review.shThis skill defines the mandatory workflow for all coding tasks. Follow these steps IN ORDER. Skipping steps is FORBIDDEN.
YOU MUST USE THE TASK TOOL TO DELEGATE ALL WORK TO SPECIALIZED AGENTS.
test.skip, it.skip, describe.skip are FORBIDDEN)subagent_typeFAILURE TO USE AGENTS = WORKFLOW FAILURE
⛔ NEVER skip tests. If a test cannot pass:
If tests require infrastructure (auth, database, external services), SET UP that infrastructure. Do not skip tests because setup is hard.
Execute FIRST before anything else.
gh auth status
If fails: STOP. Tell user to run gh auth login. Do NOT proceed.
Create clean feature branch BEFORE any implementation.
git status
If uncommitted changes exist:
git stash push -m "SDLC auto-stash"git fetch origin
git checkout main
git pull origin main
git checkout -b <type>/<short-description>
Branch types: feat, fix, refactor, docs, test, chore
⛔ DO NOT PROCEED until branch is created
MANDATORY: Launch requirements-analyzer agent.
Task tool:
subagent_type: "fx-dev:requirements-analyzer"
prompt: "Analyze requirements for: [TASK DESCRIPTION]
- Analyze task/issue/error to understand requirements
- Use WebSearch to research technologies
- Use WebFetch for referenced URLs
- Use AskUserQuestion for ambiguities
- Analyze codebase for patterns
Output: Complete requirements with acceptance criteria"
description: "Analyze requirements"
For GitHub issues, fetch first:
gh issue view [NUMBER] --json title,body,labels,comments
⛔ DO NOT PROCEED until requirements are complete
MANDATORY: Launch planner agent.
Task tool:
subagent_type: "fx-dev:planner"
prompt: "Create implementation plan for:
[REQUIREMENTS FROM STEP 2]
- Break into atomic steps
- Identify files to modify
- Determine test requirements
- Flag if multiple PRs needed
Output: Numbered implementation steps"
description: "Plan implementation"
For GitHub issues, also update issue:
Task tool:
subagent_type: "fx-dev:issue-updater"
prompt: "Update issue #[NUMBER] with plan. Add label: in-progress"
description: "Update issue"
⛔ DO NOT PROCEED until plan exists
MANDATORY: Launch coder agent.
Task tool:
subagent_type: "fx-dev:coder"
prompt: "Implement this plan:
[PLAN FROM STEP 3]
Requirements:
- Atomic commits (format: type(scope): message)
- Follow existing patterns
- Run tests
- Do NOT create PR"
description: "Implement changes"
Verify commits exist:
git log --oneline -5
git diff main --stat
⛔ DO NOT PROCEED until commits exist on feature branch
MANDATORY: Launch pr-preparer agent. ALL PRs MUST be created as drafts.
Task tool:
subagent_type: "fx-dev:pr-preparer"
prompt: "Create DRAFT PR for current branch.
Task: [ORIGINAL TASK]
Summary: [WHAT WAS IMPLEMENTED]
CRITICAL: Use --draft flag. Never create non-draft PRs.
- Push branch if needed
- Create PR with: gh pr create --draft
- Reference related issues
- Return PR number and URL
- Tell user to run 'gh pr ready <NUMBER>' when ready"
description: "Create draft PR"
Capture the PR number for remaining steps.
⛔ DO NOT PROCEED until PR is created
MANDATORY: Execute ALL sub-steps.
Task tool:
subagent_type: "fx-dev:pr-reviewer"
prompt: "Review PR #[NUMBER] for:
- Code quality
- Test coverage
- Security issues
- Performance
Output: Issues found (if any)"
description: "Review PR"
Task tool:
subagent_type: "fx-dev:coder"
prompt: "Fix these issues in PR #[NUMBER]:
[ISSUES FROM REVIEW]"
description: "Fix review issues"
Use the bundled script to poll for Copilot review (5 minute timeout):
# Path: skills/sdlc/scripts/wait-for-copilot-review.sh
./wait-for-copilot-review.sh [PR_NUMBER]
Script behavior:
If timeout (exit 1): Proceed anyway, Copilot feedback can be handled later.
Skill tool: skill="fx-dev:resolve-pr-feedback"
⛔ DO NOT PROCEED until all review issues resolved
MANDATORY: Launch pr-check-monitor agent.
Task tool:
subagent_type: "fx-dev:pr-check-monitor"
prompt: "Monitor PR #[NUMBER] checks.
- Watch status checks
- Report failures
- Identify failure causes
Output: Check status (pass/fail)"
description: "Monitor checks"
Task tool:
subagent_type: "fx-dev:coder"
prompt: "Fix failing checks for PR #[NUMBER]:
[FAILURE DETAILS]"
description: "Fix check failures"
Repeat Step 7 until all checks pass.
⛔ DO NOT PROCEED until all checks pass
gh pr view [NUMBER] --json state,mergeable,reviews,statusCheckRollup
Confirm:
Task tool:
subagent_type: "fx-dev:issue-updater"
prompt: "Update issue #[NUMBER]: Link PR, set label ready-for-review"
description: "Update issue"
✅ PR #[NUMBER] ready: [URL]
Changes:
- [summary bullets]
Awaiting your approval to merge.
⚠️ NEVER MERGE WITHOUT USER APPROVAL
fix/issue-123-descriptiongh issue view [NUMBER] --json title,body,labels,commentsfix/short-error-descNEVER have multiple PRs open simultaneously
| Error | Action |
|---|---|
| Agent fails | Retry once with adjusted params, then STOP and report |
| Git conflict | STOP, report to user, wait for resolution |
| Tests fail | coder agent fixes, rerun until pass |
| Auth fails | STOP, request gh auth login |
| Step | Agent | subagent_type |
|---|---|---|
| 2 | Requirements Analyzer | fx-dev:requirements-analyzer |
| 3 | Planner | fx-dev:planner |
| 3,8 | Issue Updater | fx-dev:issue-updater |
| 4,6.2,7 | Coder | fx-dev:coder |
| 5 | PR Preparer | fx-dev:pr-preparer |
| 6.1 | PR Reviewer | fx-dev:pr-reviewer |
| 6.4 | PR Feedback Resolver | Skill: fx-dev:resolve-pr-feedback |
| 7 | PR Check Monitor | fx-dev:pr-check-monitor |
Workflow complete when ALL true: