codewiki-generator
Installation
SKILL.md
Codewiki Generator
Overview
Generate a DeepWiki-style, code-first documentation site for a given repository. The output will reside in the codewiki/ directory, including a VitePress configuration and an auto-generated sidebar. The documentation must reflect the project's current state and prioritize explaining the system's design rationale over merely describing its functionality.
Workflow
0) Confirm Language Preference
Ask the user: "What language should the documentation be written in? (e.g., English, 中文, 日本語, etc.)" IF the user specifies a language THEN store the provided language and apply it to all generated prose content. ELSE IF the user does not specify a language THEN default to English.
1) Inspect the Codebase First (Code > Docs)
- Scan source files, configuration files, build/test pipelines, entry points, and architectural directories.
- Treat existing documentation (e.g.,
README,docs/) as secondary hints. - Prioritize code evidence as the ultimate source of truth.
- Identify and report any discrepancies between documentation and code.