Full investigation report with architecture diagrams, execution flows, and risk tables. Triggers — 'deep investigate', 'investigation report', 'full analysis', 'system investigation', 'architecture analysis'.
Resources
1Install
npx skillscat add cuozg/oh-my-unity/unity-investigate-deep Install via the SkillsCat registry.
SKILL.md
unity-investigate-deep
Produce a comprehensive investigation report with Mermaid diagrams, cited evidence, and risk assessment.
When to Use
- Team needs documented understanding of an unfamiliar system
- Pre-refactor audit of a complex subsystem
- Onboarding material for a non-trivial feature
- Architecture analysis before a major change
Workflow
- Scope — Define system boundaries: entry points, exit points, key actors
- Discover — Map all files/classes involved via
lsp_goto_definition,lsp_find_references,glob - Analyze — Trace execution paths; record dependencies, data flows, and state mutations
- Diagram — Draw Mermaid flowchart (execution) + class diagram (structure)
- Assess — Identify coupling hotspots, hidden dependencies, and risk areas
- Load template —
read_skill_file("unity-investigate-deep", "references/investigation-template.md")— MANDATORY, do this before writing - Write — Fill every section of the template exactly; do not omit or reorder sections
- Summarize — Add one-paragraph executive summary at the top
Rules
- Output MUST follow
references/investigation-template.mdexactly — non-negotiable - All sections required: Executive Summary, System Map, Execution Flow, Data Flow, Risks, References
- Cite
file:linefor every factual claim - Include at least one Mermaid diagram (flowchart or sequenceDiagram)
- Bullets over prose in all sections
- No speculation — investigate first, then state conclusions
- Never skip or rename template sections
Output Format
Save to Documents/Investigations/{SystemName}_{YYYY-MM-DD}.md.
Structure is dictated entirely by references/investigation-template.md — no deviations.
Reference Files
references/investigation-template.md— Markdown template for investigation reports
Load references on demand via read_skill_file("unity-investigate-deep", "references/investigation-template.md").
Standards
Load unity-standards for architecture and risk assessment. Key references:
review/architecture-checklist.md— coupling, SOLID, assembly boundariescode-standards/architecture-patterns.md— state machine, MVC/MVP, command patterncode-standards/events.md— C# events, UnityEvent, SO channels, Action
Load via read_skill_file("unity-standards", "references/<path>").