Agent skill
fix-parallel
[Implementation] Analyze & fix issues with parallel fullstack-developer agents
Install this agent skill to your Project
npx add-skill https://github.com/duc01226/EasyPlatform/tree/main/.claude/skills/fix-parallel
SKILL.md
[IMPORTANT] Use
TaskCreateto break ALL work into small tasks BEFORE starting — including tasks for each file read. This prevents context loss from long files. For simple tasks, AI MUST ask user whether to skip.
Understand Code First — Search codebase for 3+ similar implementations BEFORE writing any code. Read existing files, validate assumptions with grep evidence, map dependencies via graph trace. Never invent new patterns when existing ones work. MUST READ
.claude/skills/shared/understand-code-first-protocol.mdfor full protocol and checklists.
Evidence-Based Reasoning — Speculation is FORBIDDEN. Every claim needs
file:lineproof. Confidence: >95% recommend freely, 80-94% with caveats, <80% DO NOT recommend — gather more evidence. Cross-service validation required for architectural changes. MUST READ.claude/skills/shared/evidence-based-reasoning-protocol.mdfor full protocol and checklists.
docs/project-reference/domain-entities-reference.md— Domain entity catalog, relationships, cross-service sync (read when task involves business entities/models) (content auto-injected by hook — check for [Injected: ...] header before reading)
Estimation Framework — SP scale: 1(trivial) → 2(small) → 3(medium) → 5(large) → 8(very large, high risk) → 13(epic, SHOULD split) → 21(MUST split). MUST provide
story_pointsandcomplexityestimate after investigation. MUST READ.claude/skills/shared/estimation-framework.mdfor full protocol and checklists.
Red Flag STOP Conditions — STOP current approach when: 3+ fix attempts on same issue (root cause not identified), each fix reveals NEW problems (upstream root cause), fix requires 5+ files for "simple" change (wrong abstraction layer), using "should work"/"probably fixed" without verification evidence. After 3 failed attempts, report all outcomes and ask user before attempt #4. MUST READ
.claude/skills/shared/red-flag-stop-conditions-protocol.mdfor full protocol and checklists.
Skill Variant: Variant of
/fix— parallel multi-issue resolution using subagents.
Quick Summary
Goal: Fix multiple independent issues simultaneously using parallel fullstack-developer subagents.
Workflow:
- Triage — Classify issues and verify independence (no shared files)
- Assign — Distribute issues to parallel subagents with strict file ownership
- Execute — Subagents fix issues independently
- Merge — Review and integrate all fixes
Key Rules:
- Debug Mindset: every claim needs
file:lineevidence - Issues MUST be independent (no overlapping file modifications)
- Each subagent owns specific files; no cross-boundary edits
[MANDATORY] Read
.claude/skills/shared/root-cause-debugging-protocol.mdBEFORE proposing any fix. Responsibility attribution and data lifecycle tracing are required.
Frontend/UI Context (if applicable)
When this task involves frontend or UI changes,
UI System Context — For frontend/UI/styling tasks, MUST READ these BEFORE implementing:
frontend-patterns-reference.md(component base classes, stores, forms),scss-styling-guide.md(BEM methodology, SCSS vars, responsive),design-system/README.md(design tokens, component inventory, icons). MUST READ.claude/skills/shared/ui-system-context.mdfor full protocol and checklists.
- Component patterns:
docs/project-reference/frontend-patterns-reference.md - Styling/BEM guide:
docs/project-reference/scss-styling-guide.md - Design system tokens:
docs/project-reference/design-system/README.md
Debug Mindset (NON-NEGOTIABLE)
Be skeptical. Apply critical thinking, sequential thinking. Every claim needs traced proof, confidence percentages (Idea should be more than 80%).
- Do NOT assume the first hypothesis is correct — verify with actual code traces
- Every root cause claim must include
file:lineevidence - If you cannot prove a root cause with a code trace, state "hypothesis, not confirmed"
- Question assumptions: "Is this really the cause?" → trace the actual execution path
- Challenge completeness: "Are there other contributing factors?" → check related code paths
- No "should fix it" without proof — verify the fix addresses the traced root cause
⚠️ MANDATORY: Confidence & Evidence Gate
MANDATORY IMPORTANT MUST declare Confidence: X% with evidence list + file:line proof for EVERY claim.
95%+ recommend freely | 80-94% with caveats | 60-79% list unknowns | <60% STOP — gather more evidence.
⚠️ Validate Before Fix (NON-NEGOTIABLE): After root cause analysis + plan creation, MUST present findings + proposed fix plan to user via
AskUserQuestionand get explicit approval BEFORE any code changes. No silent fixes.
Ultrathink parallel to fix: $ARGUMENTS
IMPORTANT: Activate needed skills. Ensure token efficiency. Sacrifice grammar for concision.
Workflow
1. Issue Analysis
- Use
debuggersubagent to analyze root causes - Use
/scout-extto find related files - Categorize issues by scope/area (frontend, backend, auth, payments, etc.)
- Identify dependencies between issues
- External Memory: Each parallel agent writes findings to
.ai/workspace/analysis/{issue-name}-{agent}.analysis.md. Main agent re-reads all before coordinating fixes.
2. Parallel Fix Planning
- Trigger
/plan-parallel <detailed-fix-instructions>for parallel-executable fix plan - Wait for plan with dependency graph, execution strategy, file ownership matrix
- Group independent fixes for parallel execution
- Sequential fixes for dependent issues
- 🛑 Present root cause + fix plan →
AskUserQuestion→ wait for user approval before launching agents.
3. Parallel Fix Implementation
- Read
plan.mdfor dependency graph - Launch multiple
fullstack-developeragents in PARALLEL for independent fixes- Example: "Fix auth + Fix payments + Fix UI" → launch 3 agents simultaneously
- Pass phase file path:
{plan-dir}/phase-XX-*.md - Include environment info
- Wait for all parallel fixes complete before dependent fixes
- Sequential fixes: launch one agent at a time
Subagent Context Discipline:
- Provide full task text — paste task content into subagent prompt; don't make subagent read plan file
- "Ask questions before starting" — subagent should surface uncertainties before implementing
- Self-review before reporting — subagent checks completeness, quality, YAGNI before returning results
4. Testing
- Use
testersubagent for full test suite - NO fake data/mocks/cheats
- Verify all issues resolved
- If fail: use
debugger, fix, repeat
5. Code Review
- Two-stage review (see
.claude/skills/shared/two-stage-task-review-protocol.md):- First: dispatch
spec-compliance-reviewerto verify each fix matches its spec - Only after spec passes: dispatch
code-reviewerfor quality review
- First: dispatch
- Verify fixes don't introduce regressions
- If critical issues: fix, retest
6. Project Management & Docs
- If approved: use
project-manager+docs-managerin parallel - Update plan files, docs, roadmap
- If rejected: fix and repeat
7. Prove Fix
- MANDATORY: Run
/prove-fixfor EACH parallel fix - Build code proof traces per change with confidence scores
- If any change scores < 80%, return to debug for that fix
8. Final Report
- Summary of all fixes from parallel phases
- Verification status per issue (include prove-fix confidence scores)
- Ask to commit (use
git-managerif yes)
Example: Fix 1 (auth) + Fix 2 (payments) + Fix 3 (UI) → Launch 3 fullstack-developer agents → Wait → Prove each fix → Fix 4 (integration) sequential
Closing Reminders
- MUST break work into small todo tasks using
TaskCreateBEFORE starting - MUST search codebase for 3+ similar patterns before creating new code
- MUST cite
file:lineevidence for every claim (confidence >80% to act) - MUST add a final review todo task to verify work quality
- MUST STOP after 3 failed fix attempts — report outcomes, ask user before #4 MANDATORY IMPORTANT MUST READ the following files before starting:
- MUST READ
.claude/skills/shared/understand-code-first-protocol.mdbefore starting - MUST READ
.claude/skills/shared/evidence-based-reasoning-protocol.mdbefore starting - MUST READ
.claude/skills/shared/estimation-framework.mdbefore starting - MUST READ
.claude/skills/shared/red-flag-stop-conditions-protocol.mdbefore starting - MUST READ
.claude/skills/shared/ui-system-context.mdbefore starting
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
ask
[Utilities] Answer technical and architectural questions.
claude-code
[Utilities] Claude Code CLI setup, configuration, troubleshooting, and feature guidance. Triggers on claude code setup, hook not firing, MCP connection, context limit, skill creation, slash command setup.
workflow-deployment
[Workflow] Trigger Deployment & Infrastructure workflow — CI/CD pipelines, Docker, Kubernetes setup and deployment.
workflow-idea-to-pbi
[Workflow] Trigger Idea to PBI workflow — po/ba workflow: capture idea, refine to pbi, create stories, prioritize.
easy-claude-help
[Utilities] Configuration guide for the easy-claude framework — explain settings, guide users through configuring .ck.json.
feature-investigation
Didn't find tool you were looking for?