agentsclimarketplace

U spec templates

Skill zig999/siegard-code/dist/.claude/skills/u-spec-templates

Canonical TEMPLATE.* artifacts for SDD spec writers — domain spec, back spec, front spec, feature spec, flow, component spec, decisions, design-system rules and design-system bundle. Consumed by u-spec-writer, u-spec-back, and u-spec-front, which read templates by path. Also ships scripts/read_spec_sections.py, which loads only the sections a worker needs while always returning the full section index (R16). Not user-invocable.From its SKILL.md

Install
npx -y skills add zig999/siegard-code --skill u-spec-templates

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 9 stars9 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

3.8 KB, 876 tokens by cl100k_base, as published. Nobody here has run it

u-spec-templates

Canonical templates consumed by SDD spec agents, read by path (.claude/skills/u-spec-templates/<file>); the directory listing is authoritative.

scripts/read_spec_sections.py

Loads the sections a worker needs and returns the complete section index either way, so partial loading never becomes partial awareness.

python3 .claude/skills/u-spec-templates/scripts/read_spec_sections.py \
  --file "$SPECS_DIR/domains/<domain>/back/<domain>.back.md" \
  --sections "Business Rules,State Machine"        # numbers, §N, or title text
# --index-only : titles and line counts, no bodies
# --all        : explicit opt-out of scoping
# exit 2       : a selector matched nothing (reported, never silently dropped)

Sections are level-2 headings; the shipped templates number them (## 4. State Machine (ST)), and unnumbered ones (## Changelog) are addressable by title. The preamble before the first heading is always included — it carries the artifact's identity and version.

Measured effect (troubleshooting-engine, the domain that consumed 57,213 of a 60,000 token budget):

WorkerArtifactWhole fileScoped
u-spec-back.spec.md1046833 (−20%)
u-spec-front.spec.md1046259 (−75%)
u-spec-validator.spec.md1046833 (−20%)
u-spec-validator.back.md13741168 (−15%)
u-spec-reviewer.spec.md10461046 (0% — by design)

The back/validator saving is modest because §Business Rules is the largest section (763 of 1374 lines in that .back.md) and those workers genuinely need it. u-spec-front is the large win: it needs UI-facing states and errors, not backend enforcement detail.

u-spec-reviewer and u-spec-compliance read whole files deliberately — one checks completeness, the other scans for gaps, and both are defeated by a subset.

Index

TemplateProducesPrimary consumer
TEMPLATE.spec.mddomains/{domain}/{domain}.spec.mdu-spec-writer
TEMPLATE.back.mddomains/{domain}/back/{domain}.back.mdu-spec-back
TEMPLATE.front.md{SPECS_DIR}/front/front.md (global frontend spec)u-spec-front
TEMPLATE.feature.spec.md{SPECS_DIR}/front/features/*.feature.spec.mdu-spec-front
TEMPLATE.flow.md{SPECS_DIR}/front/flow.mdu-spec-front
TEMPLATE.component.spec.mddesign-system/components/*.spec.mdu-fe-spec-writer
TEMPLATE.decisions.md{SPECS_DIR}/decisions.mdu-spec-writer
TEMPLATE.design-system-rules.mdfront/design-system-rules.mdu-spec-front
TEMPLATE.design-system/design-system/ bundle (_index.md, tokens.md, composition.md, components.md, implementation.md)u-spec-front
FRONTEND-MANDATORY-ARTIFACTS.mdsingle source of truth for the frontend design-system artifacts the front pipeline must produce and the validator blocks on (F-07)u-spec-front (produces), u-spec-validator (gates)

Constraints

  • Templates contain <!-- INSTRUCTION: ... --> placeholders — producers MUST resolve every placeholder; none may survive into generated artifacts
  • Identifier prefixes used across templates follow the global pattern defined in u-spec-globals/conventions.md (UC, BR, ST, EV, UI, FL)

What ships with it: 15 files

106.9 KB alongside SKILL.md, 1 of them executable

TEMPLATE.design-system/

scripts/

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.