corpus-analysis

Analyze project corpora against BRD requirements to identify coverage gaps.

Updated Feb 1, 2026
One-click install
npx skills add https://github.com/mikkelkrogsholm/bookstrap --skill corpus-analysis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: corpus-analysis
Source: https://github.com/mikkelkrogsholm/bookstrap/tree/main/.claude/skills/corpus-analysis
Command: npx skills add https://github.com/mikkelkrogsholm/bookstrap --skill corpus-analysis

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Corpus analysis is often manual, time-consuming, and prone to missed gaps between BRD requirements and existing materials. This skill provides a structured methodology to map coverage, detect knowledge gaps, and guide targeted research task generation.

Core Features & Use Cases

  • Coverage analysis: Evaluate how sources map to BRD sections, topics, and timelines.
  • Knowledge-gap detection: Identify missing entities, events, relationships, and conceptual depth.
  • Task generation: Produce prioritized research tasks and templates to fill gaps.
  • SurrealQL-driven patterns: Leverage SurrealQL queries and graph patterns to drive gap analysis.

Use Case: For a multi-chapter BRD, run corpus analysis to surface underrepresented topics and create HIGH-priority tasks to acquire relevant sources.

Quick Start

Run corpus analysis on your BRD and source corpus to surface coverage gaps and prioritize tasks.

Frequently Asked Questions about corpus-analysis

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I identify knowledge gaps between my project corpus and BRD requirements?

Knowledge-gap detection works by evaluating how your existing sources map to BRD sections, topics, and timelines. It surfaces missing entities, events, relationships, and conceptual depth to reveal underrepresented areas in your corpus.

How do I generate prioritized research tasks to fill coverage gaps in my documents?

Generate prioritized research tasks by running corpus analysis on your BRD and source materials. This produces HIGH-priority task templates designed to acquire relevant sources and systematically fill the detected knowledge gaps.

Can I use SurrealQL for graph-based gap analysis in long-form narratives?

Yes, SurrealQL supports gap analysis in long-form narratives. This skill leverages SurrealQL-driven patterns and graph queries to drive gap detection across chapters and sections, delivering outputs that can be stored as knowledge gaps.

What is the best way to map BRD coverage across multiple chapters and sections?

The best way to map BRD coverage is through structured corpus analysis that evaluates how sources align with BRD sections and timelines. This methodology replaces manual review and systematically highlights underrepresented topics in multi-chapter documents.

Does corpus analysis require any specific dependencies or environments to run?

Corpus analysis requires no specific dependencies to run, allowing you to apply it directly to your project corpus. It provides a structured methodology to map coverage and detect gaps without needing additional environment setup tools.