Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

module-source-coverage

FreeRuns bundled scriptsNot checked

Use when a tutorial module plan exists and the run needs an auditable module-to-source grounding file before prose.

WILLOSCARby WILLOSCAR★ 521 GitHub stars

About this skill

Module Source Coverage

Triggers & routing

  • Trigger: module coverage, source coverage, tutorial grounding, 模块覆盖, 来源覆盖.
  • Use when: source-tutorial 的 C2,已有 outline/module_plan.yml,需要确认每个模块都能回指到 sources。
  • Skip if: module plan 或 source ingest 不完整。
  • Network: none.
  • Guardrail: 只做 grounding audit,不写教程正文。

Builds outline/source_coverage.jsonl, one coverage record per module.

Inputs

  • outline/module_plan.yml
  • sources/index.jsonl
  • sources/provenance.jsonl

Output

  • outline/source_coverage.jsonl

Contract

Each module record must include:

  • module_id
  • module_title
  • source_ids and/or explicit gaps

Plus exactly one corpus-reconciliation record (record_type: corpus_reconciliation, no module_id) listing ingested_source_ids, attributed_source_ids, and unused_source_ids, with an explicit gaps entry whenever a source was ingested but used by no module. A per-module audit alone cannot surface a source that contributed to zero modules, so this record keeps an unused source explicit instead of silently dropped.

Script boundary

scripts/run.py should:

  • score module-to-source relevance
  • choose a small source set per module
  • record explicit grounding gaps when coverage is weak
  • append the corpus-reconciliation record so unused ingested sources are flagged

Keep text matching and snippet scoring in shared tutorial tooling, not in the wrapper.

Acceptance

  • outline/source_coverage.jsonl exists
  • every module appears exactly once
  • exactly one corpus_reconciliation record accounts for every ingested source
  • missing grounding is explicit instead of silent

Non-goals

  • context pack assembly
  • tutorial prose

Install module-source-coverage in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

scripts/run.py

FAQ

What does the module-source-coverage skill do?

Use when a tutorial module plan exists and the run needs an auditable module-to-source grounding file before prose.

How do I install the module-source-coverage skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the module-source-coverage skill run scripts?

Yes, this skill bundles executable scripts. Review the source before installing.

Related skills

Compare module-source-coverage with