corpus-analysis
Gap detection and knowledge mapping techniques for comparing BRD requirements against corpus coverage. Includes SurrealQL queries for analyzing sources, entities, and topic coverage, plus prioritization frameworks for research task generation.
npx skills add majiayu000/claude-skill-registry --skill corpus-analysis --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Corpus Analysis and Gap Detection This skill provides methods for analyzing corpus coverage, detecting knowledge gaps, and generating prioritized research tasks. ## Coverage Analysis Methods ### 1. Source Distribution Analysis Analyze how research sources map to planned chapters/sections. **Questions to ask**: - Which chapters have the most/least source support? - Are sources evenly distributed or clustered? - Which topics have only one source (single point of failure)? **SurrealQL query**: ```surql -- Count sources per chapter SELECT chapter, count() as source_count FROM section->cites->source GROUP BY chapter ORDER BY source_count DESC; ``` ### 2. Entity Coverage Analysis Identify which characters, locations, concepts, events are well-documented vs underrepresented. **Questions to ask**: - Which entities appear in only one source? - Which entities lack descriptive detail? - Which relationships are missing supporting evidence? **SurrealQL queries**: ```surql -- Entity mention frequency SELECT name, count(<-supports<-source) as source_count FROM concept ORDER BY source_count ASC; -- Characters with sparse descriptions SELECT name, description, count(<-appears_in<-section) as appe
- Coverage Analysis Methods
- 1. Source Distribution Analysis
- 2. Entity Coverage Analysis
- 3. Topic Coverage Analysis
- 4. Source Quality Analysis
- Knowledge Gap Detection Patterns
- Pattern 1: BRD Requirements Without Corpus Support
- Pattern 2: Shallow Coverage (Single Source)
- Pattern 3: Missing Relationships
- Pattern 4: Timeline Inconsistencies
- Pattern 5: Uncited Sections
- Prioritization Framework
- High Priority (Blocks Multiple Sections)
- Medium Priority (Blocks One Section)
What does the corpus-analysis skill do?
Gap detection and knowledge mapping techniques for comparing BRD requirements against corpus coverage. Includes SurrealQL queries for analyzing sources, entities, and topic coverage, plus prioritization frameworks for research task generation.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill corpus-analysis --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
