Skip to content

Commit 88e74c5

Browse files
committed
feat: Add self-descriptive metadata and fix command format
## Changes ### 1. Added MetaSpec Self-Metadata (pyproject.toml) Added [tool.metaspec] section to demonstrate metadata format: **Content**: - generated_by: "0.9.7" - domain: "meta-specification" - lifecycle: "greenfield" - cli_commands: ["init", "search", "install", "contribute", "list", "info"] (6) - sd_type: ["sds", "sdd"] (mixed system) - slash_commands: 19 total (8 SDS + 8 SDD + 3 Evolution) **Benefits**: - ✅ MetaSpec describes its own capabilities - ✅ Serves as reference implementation - ✅ Demonstrates mixed command system metadata - ✅ Shows proper command format ### 2. Fixed Command Format (metaspec-metadata-examples.md) Corrected slash command format in Example 3: **Before** (incomplete): - `sds.specify`, `sdd.specify` - `proposal`, `apply`, `archive` **After** (complete with prefix): - `metaspec.sds.specify`, `metaspec.sdd.specify` - `metaspec.evolution.proposal`, `metaspec.evolution.apply`, `metaspec.evolution.archive` **Rule**: All MetaSpec commands must include `metaspec.` prefix ## Verification Confirmed actual command files in marketing-spec-kit: - ✅ `metaspec.sds.*` (8 files) - ✅ `metaspec.sdd.*` (8 files) - ✅ `metaspec.evolution.*` (3 files) ## Impact - MetaSpec now self-documents its 19 slash commands - Example 3 shows correct command format - Other speckits can follow this pattern
1 parent d5bb793 commit 88e74c5

File tree

2 files changed

+43
-5
lines changed

2 files changed

+43
-5
lines changed

docs/metaspec-metadata-examples.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,11 @@ sd_type = ["sds", "sdd"]
8787

8888
# Deployed slash commands (19 total)
8989
slash_commands = [
90-
"sds.specify", "sds.plan", "sds.tasks", "sds.implement",
91-
"sds.clarify", "sds.analyze", "sds.checklist", "sds.constitution",
92-
"sdd.specify", "sdd.plan", "sdd.tasks", "sdd.implement",
93-
"sdd.clarify", "sdd.analyze", "sdd.checklist", "sdd.constitution",
94-
"proposal", "apply", "archive"
90+
"metaspec.sds.specify", "metaspec.sds.plan", "metaspec.sds.tasks", "metaspec.sds.implement",
91+
"metaspec.sds.clarify", "metaspec.sds.analyze", "metaspec.sds.checklist", "metaspec.sds.constitution",
92+
"metaspec.sdd.specify", "metaspec.sdd.plan", "metaspec.sdd.tasks", "metaspec.sdd.implement",
93+
"metaspec.sdd.clarify", "metaspec.sdd.analyze", "metaspec.sdd.checklist", "metaspec.sdd.constitution",
94+
"metaspec.evolution.proposal", "metaspec.evolution.apply", "metaspec.evolution.archive"
9595
]
9696
```
9797

pyproject.toml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,3 +206,41 @@ exclude_lines = [
206206
"@abstractmethod",
207207
]
208208

209+
[tool.metaspec]
210+
# MetaSpec metadata - self-descriptive capabilities
211+
generated_by = "0.9.7"
212+
domain = "meta-specification"
213+
lifecycle = "greenfield"
214+
215+
# CLI commands this framework provides
216+
cli_commands = ["init", "search", "install", "contribute", "list", "info"]
217+
218+
# Mixed command system: SDS (specification) + SDD (development)
219+
sd_type = ["sds", "sdd"]
220+
221+
# Slash commands for AI-assisted speckit development (19 total)
222+
slash_commands = [
223+
# SDS: Spec-Driven Specification (8 commands)
224+
"metaspec.sds.constitution",
225+
"metaspec.sds.specify",
226+
"metaspec.sds.clarify",
227+
"metaspec.sds.plan",
228+
"metaspec.sds.tasks",
229+
"metaspec.sds.analyze",
230+
"metaspec.sds.implement",
231+
"metaspec.sds.checklist",
232+
# SDD: Spec-Driven Development (8 commands)
233+
"metaspec.sdd.constitution",
234+
"metaspec.sdd.specify",
235+
"metaspec.sdd.clarify",
236+
"metaspec.sdd.plan",
237+
"metaspec.sdd.checklist",
238+
"metaspec.sdd.tasks",
239+
"metaspec.sdd.analyze",
240+
"metaspec.sdd.implement",
241+
# Evolution: Change Management (3 commands)
242+
"metaspec.evolution.proposal",
243+
"metaspec.evolution.apply",
244+
"metaspec.evolution.archive",
245+
]
246+

0 commit comments

Comments
 (0)