搜索

PythonReactSEOPDF
GitHub Skill

bugfix-quick

Fast bug fixes with TDD. Lightweight: understand → test → fix → verify.

nguyenthienthanh☆ 3 仓库 Stars2 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

Aura Frog Quick Bugfix

Priority: MEDIUM - Use for bugs only, not new features


When to Use

USE for: Bug fixes, errors, crashes, things not working

DON'T use for: New features, major refactors, UI changes → use workflow-orchestrator


Quick Fix Process (4 Steps)

1. Understand (5-10 min)
  • Read error description
  • Locate affected code (Grep/Glob)
  • Identify root cause
2. Write Failing Test (10-15 min) - TDD RED
// Test that reproduces the bug
it('should show error when password is empty', () => {
  fireEvent.press(getByTestId('login-button'))
  expect(getByText('Password is required')).toBeTruthy()
})

Approval: User confirms test FAILS

3. Implement Fix (20-45 min) - TDD GREEN
// Minimal fix
if (!password) {
  setError('Password is required')
  return
}

Approval: User confirms test PASSES

4. Verify (5-10 min)
  • Run full test suite
  • Check no regressions
  • Confirm bug fixed

Approval: User confirms fix works


Template

## Bug Fix: [Description]

**Issue:** [What's broken]
**Root Cause:** [Why]
**Test Added:** [Code]
**Fix Applied:** [Code]
**Verification:** ✅ Tests pass, no regressions

3 approval gates (vs 9 in full workflow) = Much faster!

Remember: Keep fixes minimal. If complex, switch to workflow-orchestrator.

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-01-26
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!