一键导入
bug-triage
Systematically reproduce, diagnose, and analyze bugs to determine root cause, assess severity, and plan fix strategy
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Systematically reproduce, diagnose, and analyze bugs to determine root cause, assess severity, and plan fix strategy
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Design AI agents with appropriate capabilities, tools, and personas for specific software development tasks
Design RESTful APIs with proper resource modeling, HTTP methods, error handling, and clear contracts following REST principles
Document APIs comprehensively with signatures, parameters, return values, errors, and working code examples for developer reference
Implement robust third-party API integrations with proper authentication, error handling, and rate limiting
Apply proven architectural patterns (MVC, layered, microservices) to create maintainable systems with clear separation of concerns
Design and implement continuous integration and deployment pipelines with automated testing, builds, and deployments
| name | Bug Triage |
| description | Systematically reproduce, diagnose, and analyze bugs to determine root cause, assess severity, and plan fix strategy |
| category | analysis |
| required_tools | ["Read","Write","Grep","Glob","Bash"] |
Systematically analyze bug reports to reproduce issues, identify root causes, assess severity and impact, and determine the appropriate fix strategy and priority.
Context: Bug report "Users can't log in"
## Bug Analysis
**Symptoms**:
- Users see "Invalid credentials" error
- Occurs only for accounts created after Oct 15
- Works fine for older accounts
**Reproduction Steps**:
1. Create new user account
2. Log out
3. Attempt to log in with correct credentials
4. Observe error message
**Root Cause**:
- Code inspection of auth system
- Found: Password hashing algorithm changed Oct 15
- Old accounts use bcrypt, new accounts use argon2
- Login validation only checks bcrypt
**Location**: `src/auth/validator.py:45-67`
**Impact**:
- Severity: Critical (blocks all new users)
- Affected: ~500 accounts created in last week
- Workaround: None available
**Fix Strategy**:
- Update validator to check both hash types
- Add migration for existing argon2 hashes
- Estimated effort: 2 hours (small fix)
- Testing required: Auth system regression tests
**Priority**: Critical - Fix immediately
**Recommended Agent**: implementer (straightforward code fix)