원클릭으로
analyze
Deep analysis mode - thorough multi-phase investigation with expert consultation
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Deep analysis mode - thorough multi-phase investigation with expert consultation
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Analyze recent changes and add test coverage for HEAD commit
Write failing unit tests for feature requirements (TDD style)
Analyze test coverage gaps and report findings
Analyze service capacity, load patterns, and scaling requirements
Code review mode - comprehensive review with security, performance, and maintainability focus
Analyze unstaged changes and suggest atomic commit groups with messages
| name | analyze |
| description | Deep analysis mode - thorough multi-phase investigation with expert consultation |
Current Time: !date
Perform a comprehensive analysis using multi-phase expert consultation and parallel research.
Launch immediately:
background_task(agent="explore", prompt="Map relevant code structure...")
background_task(agent="explore", prompt="Find related patterns...")
background_task(agent="librarian", prompt="Research best practices for...")
While swarm runs, use direct tools:
glob to find relevant filesgrep to identify patternsread to understand key codeBased on findings, consult specialists:
| Domain | Agent | Focus |
|---|---|---|
| Architecture | @architect | System design, data flow, dependencies |
| Security | @security | Vulnerabilities, threat model, risks |
| Reliability | @sre | Scalability, SLOs, observability |
| Performance | @perf | Profiling, bottlenecks, optimization |
| Patterns | @principal | Code quality, best practices, tradeoffs |
Analyze comprehensively:
Combine findings into actionable output:
## Executive Summary
[2-3 sentences: key findings and recommendation]
## Detailed Analysis
### Architecture
[Component analysis, data flow, dependencies]
### Code Quality
[Patterns, anti-patterns, maintainability]
### Security
[Vulnerabilities, risks, compliance]
### Performance
[Bottlenecks, scalability concerns]
## Issues Found
### Critical (P0)
- [Issue with location and impact]
### High (P1)
- [Issue]
### Medium (P2)
- [Issue]
## Recommendations
### Immediate Actions
1. [Action with rationale]
### Short-term Improvements
1. [Improvement]
### Long-term Considerations
1. [Consideration]
## Trade-offs
[Analysis of different approaches with pros/cons]
| Area | What to Examine |
|---|---|
| Correctness | Logic errors, edge cases, assumptions |
| Security | Input validation, auth, data protection |
| Performance | Complexity, caching, resource usage |
| Reliability | Error handling, failure modes, recovery |
| Maintainability | Readability, coupling, documentation |
| Testability | Coverage, mocking, isolation |
Write to Obsidian via obsidian_append_content at:
$OBSIDIAN_PATH/Analysis/YYYY-MM-DD-target.md
Note:
$OBSIDIAN_PATHmust be a vault-relative path (e.g.,Projects/myapp), set per-project via direnv. Theobsidian_append_contenttool expects paths relative to the vault root.
Use this template for the Obsidian document:
@~/.config/opencode/templates/analysis-report.md
$ARGUMENTS