feat: docs generator and auto-sync for docs.mymir.dev#128
Open
FrkAk wants to merge 14 commits into
Open
Conversation
ulascanzorer
previously approved these changes
Jun 16, 2026
ulascanzorer
approved these changes
Jun 16, 2026
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
Task Reference: none (docs tooling, not tracked as a Mymir task)
Adds the generator that produces the docs.mymir.dev reference content from this repo's source of truth, plus the workflow that keeps it in sync.
DESCRIPTIONS, andLIMITSinto a standalonelib/mcp/schemas.tsso the generator can import them without pulling in the data layer. MCP server runtime is unchanged: the schemas and descriptions moved byte-identical.scripts/generate-docs.ts(bun run docs:gen): renders the 6 tool pages from the live Zod schemas, syncs the 4 mymir skill references, and builds a skills/agents catalog from plugin frontmatter. Prose em/en-dashes in the output are normalized fence-aware..github/workflows/docs-sync.yml: on push tomaintouchinglib/mcp/**,lib/graph/tool-handlers.ts,plugins/claude-code/**, or the generator, it regenerates and opens a PR against the docs repo.Type of change
Testing
bun test tests/scripts tests/plugins tests/apipasses (122 tests)bun run lint)bun run typecheck)bun run check:pluginsreports in syncbun run docs:genregenerates with no unexpected diffNotes for reviewer
lib/mcp/schemas.tsextraction is behavior-preserving: every schema field and.describe()string moved verbatim;tests/pluginsandtests/apicover the unchanged MCP server.docs-sync.ymlneeds aDOCS_REPO_TOKENsecret (fine-grained PAT, Contents + Pull requests: read/write) before it can open sync PRs.references/artifacts.mdand its three platform mirrors changed only to wrap banned-word examples in backticks, so the generated docs pass the style lint;check:pluginsstays green.