A SKILL.md that emulates DeepWiki functionality (similar to Google CodeWiki), designed to generate a navigable, documentation-style analysis of a repository.
Place it at:
.agent\skills\deepwiki\SKILL.md
Ask Antigravity something like:
"Analyze this repo using the DeepWiki skill"
You can also trigger DeepWiki-style behavior by explicitly mentioning DeepWiki, for example:
- "Haz un análisis como DeepWiki"
- "DeepWiki-style repo analysis"
SKILL.md now includes explicit instructions to automatically generate HTML in these cases:
- When you ask for a DeepWiki-style analysis or you mention "como DeepWiki"
- When you request a full repository analysis (this is now the default format)
- When you ask to "ver" or "navegar" the documentation
- When you explicitly request HTML output
- Generate the analysis in Markdown (as before, including navigation, Mermaid diagrams, etc.).
- Convert the Markdown to HTML using the template:
deepwiki-template.html- Fill the template placeholders with the real generated content.
- Return a ready-to-open
.htmlfile.
Each generated HTML file includes:
- A navigable sidebar
- A dynamic table of contents (TOC)
- Mermaid diagrams rendered in the browser
- Syntax highlighting for code blocks
- The full DeepWiki dark theme styling
Enhancements are welcome!
To generate HTML output from a DeepWiki Markdown file, you can use the md2html.js script. Below are example commands:
# Basic command
node md2html.js path/to/your/deepwiki-file.md
# Including optional flags
node md2html.js path/to/your/deepwiki-file.md --repo-owner your-owner-name --repo-name your-repo-nameNote: Ensure that deepwiki-template.html is present in the directory where you run the command for successful conversion.