Skip to content
context:doc-analyze logo

context:doc-analyze

Analyze documentation needs with tiered approach. Use when user asks to "analyze docs", "find missing docs", "plan documentation", "what docs do I need", or needs to understand documentation coverage for a domain or feature.

SKILL.md

Full skill instructions

Doc Analyze Skill

Tiered documentation analysis for understanding what atomic docs exist, identifying gaps, and planning new documentation.

Auto-Triggers

This skill should be invoked when the user:

  • Asks "what docs do I need for X"
  • Asks "analyze docs for X"
  • Asks "find missing docs"
  • Asks "plan documentation for X"
  • Mentions needing to understand documentation coverage
  • Wants to audit docs for a domain/​feature

Execution Instructions

When this skill is invoked, check the ARGUMENTS provided:

If argument is a domain or topic:

MANDATORY FIRST STEP: Use the Read tool to read context/​workflows/​ralph/​components/​doc-analysis.md (relative to project root). DO NOT proceed without reading this file first - it contains the full tiered analysis workflow.

  1. Determine the tier based on flags:

    • No flags → T1 + T2 (lookup + gap creation if needed)
    • --deep → T3 (full Opus parallel analysis)
    • --gap-analysis → T3 with 5th gap explorer agent
  2. For T1 (always):

    • Read context/​README.md to understand index structure
    • Extract keywords from the topic/​domain
    • Search for matching blocks, foundations, stacks
    • Report matches and missing docs
  3. For T2 (when gaps found):

    • Evaluate if gaps are critical (not well-known libs)
    • For critical gaps, spawn atomic-doc-creator agent
    • Report created docs
  4. For T3 (--deep):

    • Launch 4 parallel Opus agents as described in the workflow
    • Synthesize findings
    • Present convergence, divergence, and recommended plan

If no argument:

Show the usage documentation below.


Usage

/​doc-analyze <domain> [--deep] [--gap-analysis]

Arguments

ArgumentDescription
<domain>The domain, topic, or feature to analyze (e.g., "frontend", "auth", "testing")
--deepUse Tier 3 (Opus parallel analysis) for comprehensive coverage
--gap-analysisInclude 5th gap explorer agent in T3 analysis

Examples

# Quick lookup - what docs exist for auth?
/​doc-analyze auth

# Find docs for frontend patterns
/​doc-analyze frontend

# Deep analysis for a new domain
/​doc-analyze frontend --deep

# Full audit with gap explorer
/​doc-analyze api --deep --gap-analysis

Tiers

TierModelWhat It DoesWhen Used
T1HaikuFast index lookupAlways
T2SonnetCreate missing docsWhen T1 finds critical gaps
T3OpusParallel 4-agent analysisWith --deep flag

Output

T1 + T2 Output

## Doc Analysis: <domain>

### Found
- context/​blocks/​construct/​react.md
- context/​foundations/​test/​test-component-vitest-rtl.md

### Created (T2)
- context/​blocks/​patterns/​form-validation.md [REVIEW]

### Still Missing
- SSR patterns (no existing doc, not created)

T3 Output

## Doc Analysis: <domain>

### Convergence
- All agents agree: need X, Y, Z docs

### Divergent Insights
- Agent 1 (Stack→Down): Found need for bundler config docs
- Agent 3 (Problem→Down): Identified SSR gap

### Open Questions
- Which state management approach?
- SSR vs CSR decision?

### Recommended Plan
1. Create bundler config foundation
2. Add SSR decision doc to docs/
3. ...

Related

  • @context/​workflows/​ralph/​components/​doc-analysis.md - Full component docs
  • @context/​blocks/​docs/​atomic-documentation.md - Atomic doc structure
  • @.claude/​agents/​atomic-doc-creator.md - Gap creation agent

More Productivity & Planning skills

brainstorming logo
Productivity & Planning

brainstorming

Structured design dialogue that validates ideas before implementation begins.

295.4K 385.7K
View
ui-ux-pro-max logo
Productivity & Planning

ui-ux-pro-max

Comprehensive design intelligence for web and mobile UI/UX across 10 technology stacks.

133.1K 383.9K
View
writing-plans logo
Productivity & Planning

writing-plans

Comprehensive implementation plans for multi-step tasks, breaking down specs into bite-sized, testable steps.

295.4K 268K
View
using-superpowers logo
Productivity & Planning

using-superpowers

Introduction to the obra skills system with mandatory skill invocation rules and best practices.

295.4K 259.8K
View
executing-plans logo
Productivity & Planning

executing-plans

Execute a written implementation plan with critical review and task checkpoints.

295.4K 229.1K
View
dispatching-parallel-agents logo
Productivity & Planning

dispatching-parallel-agents

Delegate independent tasks to specialized agents working concurrently with isolated context.

295.4K 206.3K
View
using-git-worktrees logo
Productivity & Planning

using-git-worktrees

Isolated git worktrees with smart directory selection and safety verification.

295.4K 205.2K
View
webapp-testing logo
Productivity & Planning

webapp-testing

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

179.7K 170.6K
View
content-strategy logo
Productivity & Planning

content-strategy

Plan searchable and shareable content that drives traffic, builds authority, and generates leads.

53.3K 150.9K
View
repo-intake-and-plan logo
Productivity & Planning

repo-intake-and-plan

README-first repository scanner that extracts commands and classifies reproduction candidates without executing them.

497 139.6K
View
marketing-ideas logo
Productivity & Planning

marketing-ideas

Brainstorm and prioritize marketing strategies tailored to your SaaS stage, budget, and goals.

53.3K 137.2K
View
site-architecture logo
Productivity & Planning

site-architecture

Plan and optimize your website's page hierarchy, navigation, URL structure, and internal linking.

53.3K 112.8K
View

Productivity AI tools

Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View
SaveDay logo
Productivity

SaveDay

Capture, organize, and utilize your knowledge effortlessly.

Free
View
A
Productivity

Any Summary

Instant Summaries of Audio & Video Interviews with AnySummary

Freemium
View
M
Productivity

Map This

Transform PDFs into engaging mind maps.

Freemium
View
ChatPDF logo
Productivity

ChatPDF

Chat with any PDF instantly

Free
View
I
Productivity

intellisay

Create an optimal daily plan using your voice

Paid
View
A
Productivity

Aurora AI

A productivity platform to centralize organizational knowledge and workflows with contextual AI assistance.

Paid
View
AskYourPDF logo
Productivity

AskYourPDF

AskYourPDF Pricing Plans: Tailored to Your Needs

Free
View