- 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: "Analyze code quality, security, performance, and architecture"
|
|
---
|
|
|
|
# /sc:analyze - Code Analysis
|
|
|
|
## Purpose
|
|
Execute comprehensive code analysis across quality, security, performance, and architecture domains.
|
|
|
|
## Usage
|
|
```
|
|
/sc:analyze [target] [--focus quality|security|performance|architecture] [--depth quick|deep]
|
|
```
|
|
|
|
## Arguments
|
|
- `target` - Files, directories, or project to analyze
|
|
- `--focus` - Analysis focus area (quality, security, performance, architecture)
|
|
- `--depth` - Analysis depth (quick, deep)
|
|
- `--format` - Output format (text, json, report)
|
|
|
|
## Execution
|
|
1. Discover and categorize files for analysis
|
|
2. Apply appropriate analysis tools and techniques
|
|
3. Generate findings with severity ratings
|
|
4. Create actionable recommendations with priorities
|
|
5. Present comprehensive analysis report
|
|
|
|
## Claude Code Integration
|
|
- Uses Glob for systematic file discovery
|
|
- Leverages Grep for pattern-based analysis
|
|
- Applies Read for deep code inspection
|
|
- Maintains structured analysis reporting |