Problem
Leadtype validates frontmatter and custom MDX tags, but external tools cannot easily discover the authoring contract.
This does not mean Leadtype should become a CMS or Studio. It means Leadtype can emit machine-readable metadata that other tools can consume.
Proposal
Emit optional authoring metadata describing:
- Collections.
- Frontmatter schema.
- Allowed groups.
- Custom MDX tag inventory.
- Required fields.
- Generated artifact paths.
- Lint rules or lint result categories.
Potential output:
public/docs/authoring-manifest.json
or, in package bundle mode:
docs/authoring-manifest.json
Use Cases
- Editor integrations.
- Docs review tooling.
- CI checks with richer reporting.
- Future UI/editor experiments without making Leadtype own an editor.
Acceptance Criteria
Problem
Leadtype validates frontmatter and custom MDX tags, but external tools cannot easily discover the authoring contract.
This does not mean Leadtype should become a CMS or Studio. It means Leadtype can emit machine-readable metadata that other tools can consume.
Proposal
Emit optional authoring metadata describing:
Potential output:
or, in package bundle mode:
Use Cases
Acceptance Criteria
leadtype generatecan optionally emit an authoring manifest.