Command Palette

Search for a command to run...

Back to skills
skill № 99716

Load Specs

Map the spec corpus with `spec-dump --index`, then load only the topics, groups, or IDs a task needs (plus cross-cutting constraints). Run this at the start…

FreeNo executable scripts
CERTCCby CERTCC★ 22 GitHub stars

Install Load Specs 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

About this skill

Skill: Load Specs

The full dump is ~2.5 MB (~600k tokens) and does not fit in context. Load in two steps:

# 1. Map (~30 KB): topics and groups with requirement counts
PYTHONPATH= uv run spec-dump --index

# 2. Load what the task touches, plus the cross-cutting constraints
PYTHONPATH= uv run spec-dump --topic CM --group EP-04 --cross-cutting --text

Do not read raw specs/*.yaml files — the export resolves inheritance and flattens group nesting.

Flags

Flag Effect
--index Plain-text map instead of JSON. Other flags narrow it.
--topic A,B Select topics (spec files).
--group A-01,B-02 Select groups.
--ids X,Y Select requirement IDs.
--adr ADR-0127,ADR-0211 Select the requirements whose adr: field names one of these records. A record that no requirement names gets a stderr note pointing at its prose citations.
--deps Add transitive dependencies of the selection.
--cross-cutting Add the cross-cutting topics (see below).
--kind, --tag, --scope, --priority Narrow the selection. --kind/--tag take comma lists; all tags must match.
--text Print one line per requirement (id priority statement) instead of JSON. Needs a selection.
--slim JSON, but keep only id, priority, statement, note per requirement.

Selectors (--topic, --group, --ids, --adr, --cross-cutting) combine as a union. An unknown value exits with code 2 and names the value. A run with no filters prints the full dump (for spec-audit) with a size warning on stderr.

Cross-cutting constraints

Always add --cross-cutting, whatever the primary topic. The list of topics is CROSS_CUTTING_TOPICS in vultron/metadata/specs/llm_export/records.py. Refer to the flag; do not copy the list into other files.

Use --text to scan — the JSON forms print as a single line, so a large selection shows only a truncated prefix of one unreadable token. Drop --text for a specific group when you need its rationale, verification, or relationships, and read that JSON with jq rather than printing it. See REFERENCE.md for field definitions.

Checking a selection

PYTHONPATH= uv run spec-backstop --manifest <file> checks a Spec manifest against the branch diff and exits 1 listing every MUST group the manifest neither loaded nor skipped. It derives those groups from what the code already says, so exit 0 is a floor, not proof that the selection is complete — it is silent on a requirement no changed file or test names yet. See deepen-context § "Backstop".

Full SKILL.md on GitHub

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

Bundled files

  • REFERENCE.md

FAQ

What does the Load Specs skill do?

Map the spec corpus with `spec-dump --index`, then load only the topics, groups, or IDs a task needs (plus cross-cutting constraints). Run this at the start of any implementation or design task.

How do I install the Load Specs 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 Load Specs skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare Load Specs with