com um clique
quick-bugfix
Quick bug fix with TDD red/green gates and complexity escalation
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Quick bug fix with TDD red/green gates and complexity escalation
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
Unified orchestrator for all development tasks. ALWAYS execute when invoked — never skip for 'straightforward' tasks. Phases adapt based on detected task characteristics rather than predetermined types. Use for any development work that modifies code.
Internal engine for managing project documentation and technical standards in .agyflow/docs/. Handles file operations, INDEX.md generation, and AGENTS.md integration. Invoked by flow-init, standards-update, and standards-discover skills.
Initialize AI SDLC framework with intelligent project analysis and documentation generation
Orchestrates the complete migration workflow from current state analysis through implementation to compatibility verification. Handles technology migrations, platform changes, and architecture pattern transitions with adaptive risk assessment, incremental execution, and rollback planning. Use when migrating technologies, platforms, or architecture patterns.
Orchestrates performance optimization workflows using static code analysis to identify bottlenecks (N+1 queries, missing indexes, O(n^2) algorithms, blocking I/O, memory leaks). Accepts optional user-provided profiling data. Reuses standard specification, planning, implementation, and verification phases.
Interactive product/feature design orchestrator. Transforms fuzzy ideas into structured product briefs through collaborative exploration, iterative refinement, and visual prototyping. Adaptive phases detect design complexity and adjust depth.
| name | quick-bugfix |
| description | Quick bug fix with TDD red/green gates and complexity escalation |
| argument-hint | [bug description] |
| user-invocable | true |
Lightweight TDD-driven bug fix workflow with planning mode. Analyze the bug, present a fix plan for approval, then reproduce with a failing test, fix, and verify. No orchestrator state, no subagents. Creates lightweight task directory for artifact anchoring.
For complex bugs that grow beyond a quick fix, suggests escalating to the full development workflow (/agyflow:development).
/agyflow:quick-bugfix "Login form submits twice on slow connections"
/agyflow:quick-bugfix "API returns 500 when email contains special characters"
/agyflow:quick-bugfix "Dark mode toggle doesn't persist after refresh"
Use /agyflow:quick-bugfix when:
Use /agyflow:development instead when:
Get the bug description:
"Describe the bug — what's the expected behavior vs actual behavior?"
Create a lightweight task directory for artifact anchoring.
YYYY-MM-DD-kebab-name2026-05-28-fix-login-timeout, "Login form submits twice on slow connections" → 2026-05-28-login-double-submit.agyflow/tasks/quick-bugfix/YYYY-MM-DD-task-name/analysis/ subdirectory inside ittask.yml with initial state using the template src/templates/quick-bugfix-task.yml.CRITICAL: This step MUST complete before entering plan mode.
Check if .agyflow/docs/INDEX.md exists:
If exists:
task.yml: Add paths of standards read to standards_applied listIf not exists:
/agyflow:flow-init in completion messageBLOCKING: Reading INDEX.md alone is NOT sufficient. You MUST read actual standard files.
Enforcement Process:
Examples of standard discovery:
Explore the codebase to understand the bug:
Complexity Escalation Check:
Assess whether this bug exceeds quick-fix scope. If 2 or more of these signals are detected, suggest escalation:
| Signal | Example |
|---|---|
| Changes span 5+ files across multiple modules | Bug in shared utility affects API, frontend, and background jobs |
| Requires database schema or data model changes | Missing column, wrong relationship, migration needed |
| Multiple valid fix approaches with architectural trade-offs | Could fix at API layer, middleware layer, or client layer |
| Security-sensitive code | Auth, crypto, permissions, input sanitization |
| Root cause unclear after initial analysis | Symptoms don't point to a single location |
If escalation triggered:
Write analysis/findings.md in the task directory with the analysis captured so far:
# Bug Analysis
## Root Cause
[Root cause hypothesis with evidence — file paths, code references]
## Affected Files
- `path/to/file` — reason
## Complexity Assessment
- [ ] Changes span 5+ files across multiple modules
- [ ] Requires database schema changes
- [ ] Multiple valid fix approaches with architectural trade-offs
- [ ] Security-sensitive code
- [ ] Root cause unclear after initial analysis
Signals detected: X of 5
## Test Strategy
[How the bug will be reproduced with a failing test]
## Standards Referenced
- [standard file]: [key guideline applied]
Use question:
If user chooses to escalate:
analysis/findings.md is written (above)task.yml: set status: escalated, escalation_reason: "[signals detected]", updated: [now]/agyflow:development .agyflow/tasks/quick-bugfix/YYYY-MM-DD-task-name to continue with full workflow."escalated_to — the development orchestrator will set itsummary.md is NOT written on escalationIf no escalation needed or user chooses to continue:
Write analysis/findings.md (same template above — captures analysis for auditability), then proceed to Step 5.
Use the Plan Agent to present the fix plan for user approval.
Standards context from Step 3 and analysis from Step 4 MUST inform the plan.
Plan file content:
## Bug Analysis
**Root Cause**: [hypothesis with evidence — file paths, code references]
**Affected Files**: [list of files that need changes]
## Proposed Fix
[Description of the fix approach — what changes, why this approach]
## Test Strategy
[What the failing test will assert — setup conditions, expected behavior]
## Applicable Standards
[List each standard file read, with key guidelines extracted from each.
If no standards exist: "No AI SDLC standards found. Consider running `/agyflow:flow-init`."]
## Standards Compliance Checklist
- [ ] [Guideline from standard file] (from `standards/[path]`)
- [ ] [Guideline from standard file] (from `standards/[path]`)
BLOCKING: Do NOT ask for user approval until the plan file contains:
If any section is missing, add it before asking for user approval.
Write a failing test that reproduces the bug.
The test MUST fail. This proves the bug is real and reproducible.
If the test passes:
Implement the fix:
If tests fail after fix:
If still failing after 3 attempts:
/agyflow:development for a more thorough approachWrite summary.md in the task directory:
# Task Summary
**Skill**: quick-bugfix
**Date**: YYYY-MM-DD
**Status**: completed
## What Was Done
[Root cause and fix description]
## Files Modified
- `path/to/file`
## Standards Applied
- [standard]: [guideline]
## Tests
- [test file] — [result]
## Commit Suggestion
[conventional commit message]
Update task.yml: set status: completed, updated: [now].
Post-implementation: verify standards compliance using the checklist from the plan file.
task.yml for artifact anchoring.agyflow/docs/INDEX.mdanalysis/findings.md, and assesses complexitytask.yml status to escalated)summary.md, updates task.yml status to completedIf .agyflow/docs/ does not exist:
Proceed with the bug fix normally, then note:
"No AI SDLC standards found. Consider running `/agyflow:flow-init` to initialize
project documentation and coding standards for better consistency."