Skill Instructions
This skill is for thinking before coding.
Inputs / Outputs / Non-goals
- •Inputs: user questions, relevant PRDs/docs, RAG queries and results.
- •Outputs: investigation summary, sources, unknowns, recommended next steps.
- •Non-goals: implementation changes without a follow-up task.
What this skill helps accomplish
- •Avoid reinventing solutions
- •Surface existing knowledge
- •Ground decisions in prior work
When to use this skill
- •Investigating bugs
- •Planning new features
- •Exploring design options
- •Answering “how does this work?” questions
Mandatory behaviour
- •Search the RAG vector database first
- •Summarise relevant findings
- •Cite existing code, PRDs, or docs
- •Identify unknowns explicitly
RAG format
- •Query template:
"topic + file type + context"(example: "battle timer phases scoreboard implementation"). - •Prefer
withProvenance: trueand quote sources in the summary.
Investigation steps
- •Query RAG embeddings for related concepts
- •Review similar past implementations
- •Identify constraints and invariants
- •Propose next steps (not solutions yet)
Stop conditions
- •If RAG results are weak twice, fallback to targeted file search.
Expected output
- •Investigation summary
- •Referenced sources
- •Clear recommendations or questions