Add machine-readable docs for AI agents - #28
Merged
Merged
Conversation
- /llms.txt index and /llms-full.txt (full reference in one file), generated from the content collections at build time - Markdown twin of every docs and components page at the same URL with .md appended (e.g. /docs/tokens.md), with MDX noise stripped - New "AI Agents" docs page with a ready-to-paste rules block for CLAUDE.md / AGENTS.md, added to the docs sidebar - Optional description frontmatter on docs pages, surfaced in llms.txt and in meta descriptions (docs layouts now pass frontmatter through to BaseLayout) - rel="alternate" type="text/markdown" link on docs and components pages pointing at their markdown twin - Remove unused npm publish fields from package.json: mCSS is copy-it-you-own-it, not a registry package Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
✅ Deploy Preview for mcssdev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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.

Makes mCSS friendly to AI coding agents:
.mdappended (/docs/tokens.md,/components/card.md). MDX imports, comments, and prose wrappers are stripped; code fences are left untouched.CLAUDE.md/AGENTS.md, framed around the copy-it-you-own-it philosophy.rel="alternate" type="text/markdown"links on docs and components pages so tooling can discover the twins.descriptionfrontmatter, used by llms.txt and now also by meta descriptions (docs layouts pass frontmatter through to BaseLayout).Verified against a production build: all endpoints return clean markdown, sidebar shows the new page, no console errors.
🤖 Generated with Claude Code