spec-slices

Community

Keep slice specs in sync with your DSL

Authorhowarddierking
Version1.0.0
Installs0

System Documentation

What problem does it solve?

It solves the problem of manually keeping slice documentation and slice tests aligned with an evolving Event Model DSL, which otherwise becomes tedious to update and risky to let drift out of date.

Core Features & Use Cases

  • Generates slice specification files: Creates one markdown spec per slice <id>["Label"] in your Event Model DSL.
  • Auto-refreshes the Model section: Rebuilds only the slice’s ## Model eventModel snippet from the current DSL while preserving your authored ## Description and ## Tests.
  • Safely handles renamed or removed slices: Detects orphan specs and deletes untouched stubs, or interactively merges authored content into the correct current slice to avoid losing work.

Quick Start

Run spec-slices with the path to your Event Model DSL file to generate or refresh the per-slice markdown specs in the corresponding -slices directory.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: spec-slices
Download link: https://github.com/howarddierking/mermaid-event-model/archive/main.zip#spec-slices

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.