Evidence-based codebase investigation methodology. Use when analyzing codebases, understanding architecture, exploring patterns, or investigating technical problems. Triggers when user asks to analyze, investigate, understand, research, or explore code. Core foundation for analyst and debugger agents.
/plugin marketplace add outfitter-dev/agents/plugin install baselayer@outfitterThis skill inherits all available tools. When active, it can use any tool Claude has access to.
references/architecture-analysis.mdEvidence-based investigation → findings → confidence-tracked conclusions.
<when_to_use>
NOT for: wild guessing, assumptions without evidence, conclusions before investigation </when_to_use>
<confidence> | Bar | Lvl | Name | Action | |-----|-----|------|--------| | `░░░░░` | 0 | Gathering | Collect initial evidence | | `▓░░░░` | 1 | Surveying | Broad scan, surface patterns | | `▓▓░░░` | 2 | Investigating | Deep dive, verify patterns | | `▓▓▓░░` | 3 | Analyzing | Cross-reference, fill gaps | | `▓▓▓▓░` | 4 | Synthesizing | Connect findings, high confidence | | `▓▓▓▓▓` | 5 | Concluded | Deliver findings |Calibration: 0=0–19%, 1=20–39%, 2=40–59%, 3=60–74%, 4=75–89%, 5=90–100%
Start honest. Clear codebase + focused question → level 2–3. Vague or complex → level 0–1.
At level 4: "High confidence in findings. One more angle would reach full certainty. Continue or deliver now?"
Below level 5: include △ Caveats section.
</confidence>
Evidence over assumption — investigate when you can, guess only when you must.
Multi-source gathering — code, docs, tests, history, web research, runtime behavior.
Multiple angles — examine from different perspectives before concluding.
Document gaps — flag uncertainty with △, track what's unknown.
Show your work — findings include supporting evidence, not just conclusions.
Calibrate confidence — distinguish fact from inference from assumption. </principles>
<evidence_gathering>
Start broad, then narrow:
Layer evidence:
Follow the trail:
<output_format>
After each evidence-gathering step emit:
{ numbered list of discoveries with supporting evidence }
{ recurring themes or structures identified }
{ what findings mean for the question at hand }
Overall: {BAR} {PERCENTAGE}%
High confidence areas:
Lower confidence areas:
Assumptions:
Gaps:
Unknowns:
<specialized_techniques> Load micro-skills for specialized analysis:
These provide deep-dive methodologies for specific analysis types. </specialized_techniques>
<workflow> Loop: Gather → Analyze → Update Confidence → Next stepAt each step:
Check evidence quality:
Check completeness:
Check deliverable:
NEVER:
Micro-skills (load as needed):
Local references:
Related skills:
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.