Skip to content

Implement structured frontmatter for MARR standards (#47)#51

Merged
virtualian merged 1 commit into
mainfrom
47-structured-frontmatter
Dec 4, 2025
Merged

Implement structured frontmatter for MARR standards (#47)#51
virtualian merged 1 commit into
mainfrom
47-structured-frontmatter

Conversation

@virtualian
Copy link
Copy Markdown
Owner

Summary

  • Add Zod schema for validating standard frontmatter (marr, version, title, scope, triggers)
  • Add marr standard validate|list|create CLI commands
  • Update all 6 standards with YAML frontmatter and semantic WHEN-prefixed triggers
  • Fold "What is a Standard" content into MARR-PROJECT-CLAUDE.md (mandatory content doesn't need triggering)
  • Add gray-matter and zod dependencies

Test plan

  • Build passes (npm run build)
  • All 12 tests pass (npm test)
  • marr standard validate works on updated standards
  • marr standard list displays triggers correctly

Closes #47

- Add Zod schema for validating standard frontmatter (marr, version, title, scope, triggers)
- Add `marr standard validate|list|create` CLI commands
- Update all 6 standards with YAML frontmatter and semantic WHEN-prefixed triggers
- Fold "What is a Standard" content into MARR-PROJECT-CLAUDE.md
- Add gray-matter and zod dependencies
@virtualian virtualian merged commit 08be644 into main Dec 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement structured frontmatter for MARR standards

1 participant