sync_repo_markdown
Fetches markdown docs from a GitHub repository and writes them to a local wiki directory, recording sync state for cross-referenced engineering knowledge.
Instructions
Sync a repository from GitHub — fetches markdown docs (.md/.mdx: README/CLAUDE.md plus docs/, specs/, plans/, reports/, architecture/; vendored dirs excluded) and writes them to wiki/repos//repo-docs/, recording sync state in the registry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | ||
| token | No | GitHub PAT (optional, uses env GITHUB_PAT if absent) |