Write MDX documentation for Doclific. Finds documents by title and writes to content.mdx with CodebaseSnippet and ERD components.
This skill helps you write MDX documentation for the Doclific documentation system.
When the user asks you to write documentation for a specific document:
Find the document: Search through the nested directories in the doclific/ folder to find a config.json file where the "title" field matches the document name the user provided.
Locate the content file: Once found, the documentation should be written to the content.mdx file in the same directory as the config.json.
Write the documentation: Create well-structured documentation using:
Embeds a code snippet from the project's codebase with syntax highlighting.
<CodebaseSnippet filePath="path/to/file.ts" lineStart="1" lineEnd="50">
</CodebaseSnippet>
Attributes:
filePath (required): Path to the file relative to the project rootlineStart (optional): Starting line number to displaylineEnd (optional): Ending line number to displayUse this to reference actual code from the repository in your documentation.
Creates an interactive entity relationship diagram for database schemas.
<ERD tables='[...]' relationships='[...]'>
</ERD>
For generating ERD JSON, use the separate skill: generate-doclific-erd-json
That skill provides detailed instructions for creating the tables and relationships JSON attributes.
Creates an interactive HTTP request builder that allows users to make live API requests directly from the documentation.
<HttpRequest method="GET" url="https://api.example.com/users" headers="[...]" queryParams="[...]" bodyType="none" bodyContent="" formData="[]" auth="{...}">
</HttpRequest>
For generating HttpRequest components, use the separate skill: generate-doclific-http-request
That skill provides a script that takes a simple JSON input and outputs the properly formatted MDX component.
See the example.mdx file in this directory for a reference of how to use these components.
doclific/ recursively for config.json filestitle matches the user's inputcontent.mdx in that same directorygenerate-doclific-erd-json skill to create the JSONnpx skills add muellerluke/generate-doclific-mdx下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer