Agent skill · Testing & QA

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.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill corpus-analysis --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 11 KB
Bundled scripts: none
Path: skills/analysis/corpus-analysis/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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

What's inside
Steps it walks through
  1. Coverage Analysis Methods
  2. 1. Source Distribution Analysis
  3. 2. Entity Coverage Analysis
  4. 3. Topic Coverage Analysis
  5. 4. Source Quality Analysis
  6. Knowledge Gap Detection Patterns
  7. Pattern 1: BRD Requirements Without Corpus Support
  8. Pattern 2: Shallow Coverage (Single Source)
  9. Pattern 3: Missing Relationships
  10. Pattern 4: Timeline Inconsistencies
  11. Pattern 5: Uncited Sections
  12. Prioritization Framework
  13. High Priority (Blocks Multiple Sections)
  14. Medium Priority (Blocks One Section)
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
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.

Keep going