.claude/skills/verify-reference/SKILL.md
# Verify Reference Data Run the hybrid verification pipeline to compare extracted reference material against edition data files. ## Usage ``` /verify-reference # Run all mapping configs /verify-reference street-gear-weapons-armor # Run specific mapping by name /verify-reference --fix # Run and attempt semantic fixes ``` ## Phase 1 — Structural Verification (Script) Run `pnpm verify-reference` to execute structural checks: ```bash # All mappings p
npx skillsauth add Jasrags/ShadowMaster .claude/skills/verify-referenceInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Run the hybrid verification pipeline to compare extracted reference material against edition data files.
/verify-reference # Run all mapping configs
/verify-reference street-gear-weapons-armor # Run specific mapping by name
/verify-reference --fix # Run and attempt semantic fixes
Run pnpm verify-reference to execute structural checks:
# All mappings
pnpm verify-reference
# Specific mapping
pnpm verify-reference --mapping docs/references/sr5-core-rulebook/mappings/street-gear-weapons-armor.json
# System domain aggregation — verify all mappings targeting a domain across all books
pnpm verify-reference --system gear
pnpm verify-reference --system qualities
pnpm verify-reference --system magic
# List available system domains
pnpm verify-reference --list-systems
# JSON output for programmatic analysis
pnpm verify-reference --json
pnpm verify-reference --system gear --json
The --system flag aggregates mappings by data path domain, scanning all books. The registry is at docs/references/systems.json. Available systems: gear, matrix, vehicles, magic, combat, qualities, skills, cyberware, critters, character.
The script compares reference JSON tables against edition data files using mapping configs
in docs/references/*/mappings/*.json. It reports:
After reviewing the script output, analyze findings to determine:
valuesMatch() in scripts/verify-reference.tsdocs/references/ JSON filesFor each value-mismatch error:
valuesMatch()For missing items:
After making fixes:
pnpm verify-reference again to confirm reduction in findings{
"referenceFile": "docs/references/{book-slug}/{section-slug}.json",
"dataFile": "data/editions/sr5/{book-slug}.json",
"description": "Human-readable description",
"mappings": [
{
"referenceTable": "table-key-in-json",
"dataPath": ["modules", "category", "payload", "subcategory"],
"matchField": "name",
"fieldMap": {
"referenceColumn": "dataFieldName"
},
"requiredDataFields": ["field1", "field2"]
}
]
}
docs/references/{book-slug}/mappings/{section-slug}.jsonpnpm verify-reference to testMapping configs exist for:
sr5-core-rulebook/creating-a-shadowrunner — 4 tables (qualities, metatypes, lifestyles)sr5-core-rulebook/skills — 2 tables (active skills, skill groups)sr5-core-rulebook/magic — 3 tables (foci bonding, magical goods, mentor spirits)sr5-core-rulebook/the-matrix — 4 tables (programs common/hacking, complex forms, cyberdecks)sr5-core-rulebook/riggers — 2 tables (RCCs, autosofts)sr5-core-rulebook/street-gear-weapons-armor — 18 tables (melee, firearms, ammo, grenades, armor)sr5-core-rulebook/street-gear-electronics-cyber — 30 tables (commlinks, cyberdecks, cyber/bioware)sr5-core-rulebook/street-gear-vehicles-drones — 5 tables (ground, water, air, drones, mods)sr5-core-rulebook/helps-and-hindrances — 9 tables (critters, toxins, drugs)sr5-run-faster/positive-qualities — 1 table (35 qualities)sr5-run-faster/negative-qualities — 1 table (47 qualities)testing
Test infrastructure reference for Shadow Master. Use when writing tests, finding existing test files, or running test suites. Covers Vitest unit tests, Playwright E2E tests, and testing patterns.
development
# Ship Current Work 1. Run `npm run typecheck` and fix any TypeScript errors 2. Run `npm test` and fix any test failures 3. Run `git status` to review changes 4. Create a descriptive commit with conventional commit format (feat:, fix:, etc.) 5. Push to the current feature branch 6. Create a PR using `gh pr create` with a descriptive title and body referencing the GitHub issue 7. Report the PR URL Never commit to main. If on main, ask the user for a branch name first.
content-media
Redesigns character sheet display components to match the character creation card aesthetic. Use when updating any component in /components/character/sheet/ to use grouped sections, value pills, and the established dark-mode-first color system.
development
Applies Shadowrun cyberpunk aesthetic to UI components. Use when building character sheets, creation cards, gear panels, modal dialogs, or any SR-themed interface elements. Combines systematic craft principles with the distinctive visual language of the Sixth World.