skills/analyze-project/SKILL.md
Forensic root cause analyzer for Antigravity sessions. Classifies scope deltas, rework patterns, root causes, hotspots, and auto-improves prompts/health.
npx skillsauth add Regtransfers/agency-agents-mcp analyze-projectInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
@ /analyze-project — Root Cause Analyst Workflow
Analyze AI-assisted coding sessions in ~/.gemini/antigravity/brain/ and produce a report that explains not just what happened, but why it happened, who/what caused it, and what should change next time.
@ Goal
For each session, determine:
@ When to Use
@ Global Rules
@ Step 0.5: Session Intent Classification
Classify the primary session intent from objective + artifacts:
Record:
Use intent to contextualize severity and rework shape. never judge exploratory or research sessions by the same standards as narrow delivery sessions.
@ Step 1: Discover Conversations
Output: indexed list of conversations to analyze.
@ Step 2: Extract Session Evidence
For each conversation, read if present:
@ Core artifacts
@ Metadata
@ Version snapshots
@ Additional signals
Record per conversation:
@ Lifecycle
@ Revision / change volume
@ Scope
@ Timing
@ Content / quality
@ Step 3: Prompt Sufficiency
Score the opening request on a 0–2 scale for:
Create:
Then note which missing prompt ingredients likely contributed to later friction.
never punish short prompts by default; a narrow, obvious task can still have high sufficiency.
@ Step 4: Scope Change Classification
Classify scope change into:
Record:
Keep one short example in mind for calibration:
@ Step 5: Rework Shape
Classify each session into one primary pattern:
Record:
@ Step 6: Root Cause Analysis
For every non-clean session, assign:
@ Primary root cause One of:
@ Secondary root cause Optional if materially relevant
@ Root-cause guidance
Every root-cause assignment must include:
@ Step 6.5: Session Severity Scoring (0–100)
Assign each session a severity score to prioritize attention.
Components (sum, clamp 0–100):
Bands:
Record:
Use severity as a prioritization signal, not a verdict. Always explain the drivers. Contextualize severity using session intent so research/exploration sessions are not over-penalized.
@ Step 7: Subsystem / File Clustering
Across all conversations, cluster repeated struggle by file, folder, or subsystem.
For each cluster, calculate:
Goal: identify whether friction is mostly prompt-driven, agent-driven, or concentrated in specific repo areas.
@ Step 8: Comparative Cohorts
Compare:
For each comparison, identify:
never just restate averages; extract cautious evidence-backed patterns.
@ Step 9: Non-Obvious Findings
Generate 3–7 findings that are not simple metric restatements.
Each finding must include:
Examples of strong findings:
@ Step 10: Report Generation
Create sessionanalysisreport.md with this structure:
@ 📊 Session Analysis Report — [Project Name]
Generated: [timestamp] Conversations Analyzed: [N] Date Range: [earliest] → [latest]
@ Executive Summary
Metric; Value; Rating
First-Shot Success Rate; X%; 🟢/🟡/🔴 Completion Rate; X%; 🟢/🟡/🔴 Avg Scope Growth; X%; 🟢/🟡/🔴 Replan Rate; X%; 🟢/🟡/🔴 Median Duration; Xm; — Avg Session Severity; X; 🟢/🟡/🔴 High-Severity Sessions; X / N; 🟢/🟡/🔴
Thresholds:
Avg severity guidance:
Note: avg severity is an aggregate health signal, not the same as per-session severity bands.
Then add a short narrative summary of what is going well, what is breaking down, and whether the main issue is prompt quality, repo fragility, workflow discipline, or validation churn.
@ Root Cause Breakdown
Root Cause; Count; %; Notes
@ Prompt Sufficiency Analysis
@ Scope Change Analysis Separate:
@ Rework Shape Analysis Summarize the main failure patterns across sessions.
@ Friction Hotspots Show the files/folders/subsystems most associated with replanning, abandonment, verification churn, and high severity.
@ First-Shot Successes List the cleanest sessions and extract what made them work.
@ Non-Obvious Findings List 3–7 evidence-backed findings with confidence.
@ Severity Triage List the highest-severity sessions and say whether the best intervention is:
@ Recommendations For each recommendation, use:
@ Per-Conversation Breakdown
@; Title; Intent; Duration; Scope Δ; Plan Revs; Task Revs; Root Cause; Rework Shape; Severity; Complete?
@ Step 11: Optional Post-Analysis Improvements
If appropriate, also:
Only recommend workflows/skills when the pattern appears repeatedly.
@ Final Output Standard
The workflow must produce:
Prefer explicit uncertainty over fake precision.
@ Limitations
tools
Build AI agents that interact with computers like humans do - viewing screens, moving cursors, clicking buttons, and typing text. Covers Anthropic's Computer Use, OpenAI's Operator/CUA, and open-source alternatives.
testing
Generate structured PR descriptions from diffs, add review checklists, risk assessments, and test coverage summaries. Use when the user says "write a PR description", "improve this PR", "summarize my changes", "PR review", "pull request", or asks to document a diff for reviewers.
tools
Use when working with comprehensive review full review
development
You are an expert in creating competitor comparison and alternative pages. Your goal is to build pages that rank for competitive search terms, provide genuine value to evaluators, and position your product effectively.