ワンクリックで
discover
Spawn parallel specialist agents to scan the codebase and produce a prioritized improvement backlog
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Spawn parallel specialist agents to scan the codebase and produce a prioritized improvement backlog
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
N coordinated agents on shared task list using Claude Code native teams
Configure HUD display options (layout, presets, display elements)
Socratic deep interview with mathematical ambiguity gating before explicit execution approval
Durable multi-goal workflow that persists plan/ledger artifacts under .omcp/ultragoal and prints Claude /goal handoff text for the active session
Cancel any active OMC mode (autopilot, ralph, ultrawork, ultraqa, swarm, ultrapilot, pipeline, team)
Diagnose and fix oh-my-copilot installation issues
| name | discover |
| description | Spawn parallel specialist agents to scan the codebase and produce a prioritized improvement backlog |
<Use_When>
/discover, "scan for improvements", "find issues"<Do_Not_Use_When>
/deep-review instead/plan instead
</Do_Not_Use_When><Why_This_Exists> Codebases accumulate technical debt across many dimensions — security gaps, missing tests, performance hotspots, documentation gaps, architectural drift. No single agent can efficiently cover all dimensions. Discover parallelizes specialist scans and produces a unified, deduplicated, severity-prioritized backlog that teams can act on. </Why_This_Exists>
<Execution_Policy>
.omcp/discover/backlog.md
</Execution_Policy>Launch 6 parallel scans: Fire all agents simultaneously
Scan 1 — Security:
Task(subagent_type="oh-my-copilot:security-reviewer", model="sonnet", name="discover-security", prompt="
DISCOVERY SCAN: Security
Scan the codebase at [SCOPE] for security vulnerabilities and risks.
Focus on: OWASP Top 10, hardcoded secrets, injection risks, auth gaps, input validation.
For each finding, output:
FINDING:
- category: security
- severity: CRITICAL|HIGH|MEDIUM|LOW
- title: [brief title]
- file: [file:line]
- description: [what's wrong and why it matters]
- suggestedAction: [specific fix recommendation]
END_FINDING
")
Scan 2 — Quality:
Task(subagent_type="oh-my-copilot:code-reviewer", model="sonnet", name="discover-quality", prompt="
DISCOVERY SCAN: Code Quality
Scan the codebase at [SCOPE] for anti-patterns, complexity hotspots, and SOLID violations.
Focus on: God objects, high cyclomatic complexity (>10), deep nesting (>4 levels), code duplication, magic numbers.
For each finding, output:
FINDING:
- category: quality
- severity: CRITICAL|HIGH|MEDIUM|LOW
- title: [brief title]
- file: [file:line]
- description: [what's wrong and why it matters]
- suggestedAction: [specific fix recommendation]
END_FINDING
")
Scan 3 — Tests:
Task(subagent_type="oh-my-copilot:test-engineer", model="sonnet", name="discover-tests", prompt="
DISCOVERY SCAN: Test Coverage
Scan the codebase at [SCOPE] for test coverage gaps and test quality issues.
Focus on: untested public APIs, missing edge case tests, flaky test patterns, missing integration tests.
For each finding, output:
FINDING:
- category: tests
- severity: CRITICAL|HIGH|MEDIUM|LOW
- title: [brief title]
- file: [file:line]
- description: [what's missing and why it matters]
- suggestedAction: [specific test to add]
END_FINDING
")
Scan 4 — Performance:
Task(subagent_type="oh-my-copilot:code-reviewer", model="sonnet", name="discover-perf", prompt="
DISCOVERY SCAN: Performance
Scan the codebase at [SCOPE] for performance issues and optimization opportunities.
Focus on: N+1 queries, O(n²) algorithms, unnecessary re-renders, missing caching, synchronous I/O in hot paths, memory leaks.
For each finding, output:
FINDING:
- category: performance
- severity: CRITICAL|HIGH|MEDIUM|LOW
- title: [brief title]
- file: [file:line]
- description: [what's slow and why it matters]
- suggestedAction: [specific optimization]
END_FINDING
")
Scan 5 — Documentation:
Task(subagent_type="oh-my-copilot:writer", model="haiku", name="discover-docs", prompt="
DISCOVERY SCAN: Documentation
Scan the codebase at [SCOPE] for documentation gaps.
Focus on: undocumented public APIs, stale README sections, missing module-level docs, outdated examples.
For each finding, output:
FINDING:
- category: documentation
- severity: CRITICAL|HIGH|MEDIUM|LOW
- title: [brief title]
- file: [file:line]
- description: [what's missing]
- suggestedAction: [what to document]
END_FINDING
")
Scan 6 — Architecture:
Task(subagent_type="oh-my-copilot:architect", model="sonnet", name="discover-arch", prompt="
DISCOVERY SCAN: Architecture
Scan the codebase at [SCOPE] for architectural issues.
Focus on: circular dependencies, abstraction leaks, coupling issues, module boundary violations, scaling bottlenecks.
For each finding, output:
FINDING:
- category: architecture
- severity: CRITICAL|HIGH|MEDIUM|LOW
- title: [brief title]
- file: [file:line]
- description: [what's wrong structurally]
- suggestedAction: [architectural improvement]
END_FINDING
")
Consolidate findings: After all 6 scans complete, consolidate:
Generate backlog: Write the consolidated backlog to .omcp/discover/backlog.md:
# Discovery Backlog
**Scope:** [scanned directory]
**Generated:** [timestamp]
**Total Findings:** N
## Summary
| Category | Critical | High | Medium | Low | Total |
|----------|----------|------|--------|-----|-------|
| Security | ... | ... | ... | ... | ... |
| Quality | ... | ... | ... | ... | ... |
| Tests | ... | ... | ... | ... | ... |
| Performance | ... | ... | ... | ... | ... |
| Documentation | ... | ... | ... | ... | ... |
| Architecture | ... | ... | ... | ... | ... |
## Critical Priority
[findings...]
## High Priority
[findings...]
## Medium Priority
[findings...]
## Low Priority
[findings...]
Report: Present a summary to the user with the backlog location
<Tool_Usage>
<Escalation_And_Stop_Conditions>
<Final_Checklist>
.omcp/discover/backlog.md