- COMMAND.md: 다양한 명령어와 설명 추가 - .claude/commands/design/1-system-architecture: 시스템 아키텍처 관련 문서 삭제 - .claude/commands/sc: 코드 분석, 빌드, 클린업, 설계, 문서화, 추정, 설명, Git 작업, 구현, 개선, 테스트, 문제 해결, 워크플로우 생성 등 다양한 명령어 문서 추가
33 lines
1.1 KiB
Markdown
33 lines
1.1 KiB
Markdown
---
|
|
allowed-tools: [Read, Grep, Glob, Bash, TodoWrite]
|
|
description: "Diagnose and resolve issues in code, builds, or system behavior"
|
|
---
|
|
|
|
# /sc:troubleshoot - Issue Diagnosis and Resolution
|
|
|
|
## Purpose
|
|
Systematically diagnose and resolve issues in code, builds, deployments, or system behavior.
|
|
|
|
## Usage
|
|
```
|
|
/sc:troubleshoot [issue] [--type bug|build|performance|deployment] [--trace]
|
|
```
|
|
|
|
## Arguments
|
|
- `issue` - Description of the problem or error message
|
|
- `--type` - Issue category (bug, build, performance, deployment)
|
|
- `--trace` - Enable detailed tracing and logging
|
|
- `--fix` - Automatically apply fixes when safe
|
|
|
|
## Execution
|
|
1. Analyze issue description and gather initial context
|
|
2. Identify potential root causes and investigation paths
|
|
3. Execute systematic debugging and diagnosis
|
|
4. Propose and validate solution approaches
|
|
5. Apply fixes and verify resolution
|
|
|
|
## Claude Code Integration
|
|
- Uses Read for error log analysis
|
|
- Leverages Bash for runtime diagnostics
|
|
- Applies Grep for pattern-based issue detection
|
|
- Maintains structured troubleshooting documentation |