A technical analysis tool for investigating impact, root causes, and architectural tradeoffs without modifying code.
Install
mkdir -p .claude/skills/analyse && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/15066" && unzip -o skill.zip -d .claude/skills/analyse && rm skill.zipInstalls to .claude/skills/analyse
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Cross-cutting technical analysis. Investigates impact, tradeoffs, root causes, or feasibility without implementing changes. Use when asked to "analyse this", "investigate the impact", "what are the tradeoffs", "root cause analysis", "is this feasible?", or "compare these approaches". Produces an analysis report.Key capabilities
- →Investigate impact of a change
- →Compare different approaches (tradeoff analysis)
- →Determine feasibility of a proposal
- →Perform root cause analysis
- →Analyze risks of an action
- →Produce a structured analysis report
How it works
The skill defines the analysis question, gathers evidence from code and logs, structures the analysis around relevant dimensions, and presents findings with confidence levels in a structured report.
Inputs & outputs
When to use analyse
- →Compare different architectural implementation approaches
- →Identify the root cause of a recurring system bug
- →Determine the feasibility of a proposed technical change
- →Evaluate the performance impact of a new dependency
- →Analyze the side effects of refactoring legacy modules
About this skill
Skill Context
This skill is part of vstack — a VS Code-native AI engineering workflow system.
AskUserQuestion Format
When you need clarification, use this exact format — never invent or guess:
Question: [The specific question] Options: A) … | B) … | C) … Default if no response: [What you'll do]
Never ask more than one question at a time without waiting for the answer.
Diagram Convention
When producing hand-authored Markdown outputs, prefer Mermaid for flow, interaction, lifecycle, state, topology, dependency, and decision diagrams when the format is supported and improves clarity. Use ASCII as a fallback when Mermaid is unsupported or would be less readable. Keep ASCII/text trees for directory structures and other scan-friendly hierarchies.
# Detect base branch (main / master / develop / trunk)
BASE=$(gh pr view --json baseRefName -q .baseRefName 2>/dev/null) \
|| BASE=$(git remote show origin 2>/dev/null | grep 'HEAD branch' | awk '{print $NF}') \
|| BASE=$(git branch -r 2>/dev/null | grep -E '/(main|master|develop|trunk)' | head -1 | sed 's|.*origin/||') \
|| BASE="main"
echo "Base branch: $BASE"
analyse — Technical Analysis
Investigate a technical question, impact, or tradeoff. Produce a structured analysis report. Do not implement changes — that is engineering role work.
Out of scope
- Fixing bugs (use
debug) - Performance benchmarking with code changes (use
performance) - Architecture decisions (use
architecture+adr) - Implementation (engineering role)
- Full test run (use
verify)
Step 0: Define the Question
Clarify exactly what is being analysed:
Question: What is the specific question or concern to investigate?
- Impact analysis: "What breaks if we change X?"
- Tradeoff analysis: "Compare approach A vs approach B"
- Feasibility analysis: "Can we do X given constraints Y?"
- Root cause analysis: "Why does X happen?"
- Risk analysis: "What are the risks of doing/not doing X?" Default: Open-ended investigation based on user's context
Document:
Analysis type: [impact | tradeoff | feasibility | root-cause | risk | other]
Question: [Precise question being answered]
Scope: [What's in and out of scope for this analysis]
Phase 1: Evidence Gathering
Gather all relevant context before drawing any conclusions:
# Understand the current state
git log --oneline -20
cat TODOS.md 2>/dev/null | head -30 || true
# Find relevant code
# (adjust search terms to the specific question)
grep -r -n "TODO\|FIXME\|DEPRECATED" \
--include='*.ts' --include='*.py' --include='*.go' \
--exclude-dir=node_modules . 2>/dev/null | head -20
For impact analysis, find all call sites / dependents:
# Find all usages of a symbol, function, or interface
grep -r -n "SYMBOL_NAME" \
--include='*.ts' --include='*.py' --include='*.go' \
--exclude-dir=node_modules . 2>/dev/null
For dependency analysis:
# Dependency graph (if available)
[ -f package.json ] && npx madge --circular --extensions ts ./src 2>/dev/null || true
Phase 2: Dimension Analysis
Structure the analysis around the relevant dimensions for the question type:
For impact analysis:
- What systems/services/consumers are affected?
- What is the blast radius? (local, service-wide, cross-service, user-facing)
- Are breaking changes involved?
- What is the rollback strategy?
- Migration effort estimate
For tradeoff analysis:
For each option:
| Dimension | Option A | Option B |
|---|---|---|
| Complexity | ||
| Performance | ||
| Maintainability | ||
| Cost | ||
| Risk | ||
| Time to implement |
For feasibility analysis:
- Technical feasibility: can this be built with current stack/skills?
- Constraints: what limits apply (time, budget, API limits, data size)?
- Dependencies: what must be true for this to work?
- Risks: what could prevent success?
For root cause analysis:
- What is the observed symptom?
- What are the contributing factors?
- Primary cause vs contributing causes
- Timeline: when did this start? What changed?
For risk analysis:
| Risk | Likelihood | Impact | Mitigation |
|---|---|---|---|
| ... | High/Medium/Low | High/Medium/Low | ... |
Phase 3: Data & Evidence
Support findings with concrete evidence:
# Metrics, logs, or data that support the analysis
# Error rates, latency percentiles, query counts, etc.
Reference specific:
- Code locations (file:line)
- Data points (error counts, latency numbers, test results)
- Documentation (ADRs, design docs, API specs)
Phase 4: Findings & Conclusions
Present findings clearly:
## Findings
### [Finding 1 — short title]
[Evidence + explanation]
### [Finding 2]
[Evidence + explanation]
State conclusions with confidence level:
- Certain: evidenced directly from code/data
- Probable: well-supported by evidence but not confirmed
- Uncertain: hypothesis that requires further investigation
Analysis Report
## Analysis Report — [topic] — [date]
### Question
[The specific question answered]
### TL;DR
[2-3 sentence executive summary of the most important finding]
### Findings
[Structured findings with evidence]
### Recommendation
[If applicable: what to do based on the analysis]
[NOT an implementation plan — just the recommended direction]
### Open Questions
[What remains unclear and needs further investigation]
### Confidence
[Overall confidence level: high / medium / low — and why]
<!-- AUTO-GENERATED — maintained by vstack, do not edit directly -->
<!-- VSTACK-META: {"artifact_name":"analyse","artifact_type":"skill","artifact_version":"20260421004","generator":"vstack","vstack_version":"3.6.0"} -->When not to use it
- →When the task is to fix bugs
- →When the task is performance benchmarking with code changes
- →When the task is architecture decisions or implementation
Limitations
- →The skill does not implement changes.
- →It does not perform full test runs.
- →It requires repository file access and terminal command execution.
How it compares
This skill provides a structured, evidence-based approach to technical analysis, including impact, tradeoff, feasibility, root cause, and risk analysis, which is more systematic than an ad-hoc investigation.
Compared to similar skills
analyse side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| analyse (this skill) | 0 | 1mo | Review | Intermediate |
| error-handling-patterns | 35 | 2mo | No flags | Intermediate |
| cursor-explorer-mcp | 6 | 8mo | No flags | Intermediate |
| analyzing-projects | 3 | 6mo | Review | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
error-handling-patterns
wshobson
Master error handling patterns across languages including exceptions, Result types, error propagation, and graceful degradation to build resilient applications. Use when implementing error handling, designing APIs, or improving application reliability.
cursor-explorer-mcp
sepiabrown
Use for token-expensive operations requiring multi-file analysis - codebase exploration, broad searches, architecture understanding, tracing flows, finding implementations across files. Uses MCP cursor-agent server (company pays) with clean async interface. Do NOT use for single-file analysis, explaining code already in immediate context, or pure reasoning tasks.
analyzing-projects
CloudAI-X
Analyzes codebases to understand structure, tech stack, patterns, and conventions. Use when onboarding to a new project, exploring unfamiliar code, or when asked "how does this work?" or "what's the architecture?"
codebase-context-extractor
lofcz
This skill provides a comprehensive context extraction system for large codebases. It intelligently analyzes code structure, dependencies, and relationships to extract relevant context for understanding, debugging, or modifying code.
research-engineer
davila7
An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.
investigating-code-patterns
CaptainCrouton89
Systematically trace code flows, locate implementations, diagnose performance issues, and map system architecture. Use when understanding how existing systems work, researching concepts, exploring code structure, or answering "how/where/why is X implemented?" questions.