Add v0.1 spec draft, JSON Schema, and shadcn/ui example#1
Merged
Conversation
Delivers the first three repo-local roadmap milestones: - spec/dspack-v0.1.md: v0.1 specification defining document structure, tokens, components, patterns, anti-patterns, framework bindings, extensibility model, ID conventions, and open questions. - schema/dspack.v0.1.schema.json: JSON Schema (draft 2020-12) validating all spec-defined structures. - examples/shadcn-ui.dspack.json: reference example exercising all five concepts with React framework bindings. Updates README status banner and roadmap, and points directory READMEs at the new artifacts. Tightens RFC guidance to reference v0.1 for compatibility considerations. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Delivers the first three repo-local roadmap milestones, turning the repository from placeholder scaffolding into a first usable spec package.
spec/dspack-v0.1.md— v0.1 specification draft defining document structure, tokens, components, patterns, anti-patterns, framework bindings, extensibility (x-prefix convention), ID conventions, and 5 documented open questionsschema/dspack.v0.1.schema.json— JSON Schema (draft 2020-12) with$defsfor all reusable structures, enforcing required fields, type constraints, and ID naming patternsexamples/shadcn-ui.dspack.json— shadcn/ui reference example with 21 tokens (3 categories), 7 components, 3 patterns, 3 anti-patterns, and React framework bindingsKey design decisions
dspack+namerequiredx-prefix for extensionsreasonrequired on anti-patternsValidation performed
jsonschema)name, missingdspack, wrong version, anti-pattern missingreason, component missingdescription, uppercase component IDRemaining follow-up items (later milestones)
🤖 Generated with Claude Code