Skip to content

feat(docs): add VitePress plugin for LLM-categorized pattern documentation#10477

Open
richgt wants to merge 2 commits intomainfrom
richgt/vite-press-llm-plugin
Open

feat(docs): add VitePress plugin for LLM-categorized pattern documentation#10477
richgt wants to merge 2 commits intomainfrom
richgt/vite-press-llm-plugin

Conversation

@richgt
Copy link
Copy Markdown
Contributor

@richgt richgt commented Feb 18, 2026

Introduces plugin-llm-docs.ts, a VitePress plugin that scans markdown
frontmatter for llm: metadata and generates four output files:

  • llms-recommended.txt — current best-practice patterns
  • llms-deprecated.txt — patterns to migrate away from
  • llms-discouraged.txt — patterns to avoid in new code
  • llms-code-patterns.txt — combined reference file

Registers the plugin in .vitepress/config.mts and seeds initial llm:
frontmatter on five guide pages:

  • builders.md → recommended
  • legacy-mode.md → recommended
  • ember.md → discouraged (prefer standard setup)
  • polaris-mode.md → discouraged (preview, not yet stable)
  • legacy-package-setup → deprecated since v5.0

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com

Rich Glazerman and others added 2 commits March 13, 2026 13:12
…ation

Introduces `plugin-llm-docs.ts`, a VitePress plugin that scans markdown
frontmatter for `llm:` metadata and generates four output files:
  - `llms-recommended.txt`   — current best-practice patterns
  - `llms-deprecated.txt`    — patterns to migrate away from
  - `llms-discouraged.txt`   — patterns to avoid in new code
  - `llms-code-patterns.txt` — combined reference file

Registers the plugin in `.vitepress/config.mts` and seeds initial `llm:`
frontmatter on five guide pages:
  - builders.md              → recommended
  - legacy-mode.md           → recommended
  - ember.md                 → discouraged (prefer standard setup)
  - polaris-mode.md          → discouraged (preview, not yet stable)
  - legacy-package-setup     → deprecated since v5.0

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@richgt richgt force-pushed the richgt/vite-press-llm-plugin branch from 5635988 to d18ef2f Compare March 13, 2026 17:12
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.

1 participant