docs/skills/create-docs/SKILL.md
Create a complete documentation site for any project. Use when asked to: "create docs", "add documentation", "set up a docs site", "generate documentation", "document this project", "write docs", "initialize docs", "add docs folder", "scaffold a documentation site". 为任何项目创建完整的文档网站。当被要求时使用此技能: "创建文档", "添加文档", "建立文档网站", "生成文档", "文档化项目", "编写文档", "初始化文档", "添加文档文件夹", "创建文档网站"。 Generates a Movk Nuxt Docs based site with search, dark mode, MCP server, and llms.txt integration.
npx skillsauth add mhaibaraai/movk-nuxt-docs create-docsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Generate a complete, production-ready documentation site for any project.
Detect from the lock file. Default to npm if no lock file is found:
| Lock file | PM | Install | Run | Add |
|-----------|------|---------|-----|-----|
| pnpm-lock.yaml | pnpm | pnpm install | pnpm run | pnpm add |
| package-lock.json | npm | npm install | npm run | npm install |
| yarn.lock | yarn | yarn install | yarn | yarn add |
| bun.lockb | bun | bun install | bun run | bun add |
Use [pm] as the placeholder in the commands below.
Check:
├── pnpm-workspace.yaml → pnpm monorepo
├── turbo.json → Turborepo monorepo
├── lerna.json → Lerna monorepo
├── nx.json → Nx monorepo
├── apps/ → apps directory (monorepo)
├── packages/ → packages directory (monorepo)
├── docs/ → existing documentation (avoid overwriting)
├── README.md → primary documentation source
└── src/ or lib/ → source code location
| Project type | Target directory | Workspace entry |
|--------------|------------------|-----------------|
| Standard project | ./docs | N/A |
| Monorepo with apps/ | ./apps/docs | apps/docs |
| Monorepo with packages/ | ./docs | docs |
| Existing docs/ folder | Ask the user, or use ./documentation | — |
| File | Extract |
|------|---------|
| README.md | Project name, description, features, usage examples |
| package.json | Name, description, dependencies, repository URL |
| src/ or lib/ | Exported functions and composables for API docs |
# Full template
npx nuxi init -t gh:mhaibaraai/movk-nuxt-docs/templates/default my-docs
# Module documentation template
npx nuxi init -t gh:mhaibaraai/movk-nuxt-docs/templates/module my-module-docs
Full template
[docs-location]/
├── app/
│ └── composables/
│ ├── useCategory.ts # Navigation category definitions
│ └── useHeader.ts # Header navigation links
├── content/
│ ├── index.md # Landing page
│ └── docs/
│ └── 1.getting-started/
│ ├── .navigation.yml
│ ├── 1.index.md
│ └── 2.installation.md
├── public/
│ ├── favicon.ico
│ └── logo.svg
├── .editorconfig
├── .env.example
├── .gitignore
├── .vscode/
│ └── settings.json
├── eslint.config.mjs
├── nuxt.config.ts
├── package.json
├── pnpm-workspace.yaml
└── tsconfig.json
Module template
[docs-location]/
├── app/
│ └── composables/
│ ├── useCategory.ts
│ └── useHeader.ts
├── content/
│ ├── index.md
│ ├── releases.yml
│ └── docs/
│ └── 1.getting-started/
│ ├── .navigation.yml
│ ├── 1.index.md
│ └── 2.installation.md
├── public/
│ ├── favicon.ico
│ └── logo.svg
├── .env.example
├── nuxt.config.ts
├── package.json
└── tsconfig.json
onlyBuiltDependencies (required by better-sqlite3):packages:
- 'apps/*'
- 'docs'
onlyBuiltDependencies:
- better-sqlite3
package.json:{
"scripts": {
"docs:dev": "pnpm run --filter [docs-package-name] dev"
}
}
Or use a directory path:
{
"scripts": {
"docs:dev": "cd docs && pnpm dev"
}
}
{
"workspaces": ["apps/*", "docs"],
"scripts": {
"docs:dev": "npm run dev --workspace=docs"
}
}
Use the templates in references/templates.md.
Critical: MDC component naming
Every Nuxt UI component used inside MDC must keep the u- prefix:
| Correct | Incorrect |
|---------|-----------|
| ::u-page-hero | ::page-hero |
| ::u-page-section | ::page-section |
| :::u-page-feature | :::page-feature |
| :::u-button | :::button |
| ::::u-page-card | ::::page-card |
Without the u- prefix, Vue cannot resolve these components.
content/
├── index.md # Landing page
├── 1.getting-started/
│ ├── .navigation.yml
│ ├── 1.introduction.md
│ └── 2.installation.md
├── 2.guide/
│ ├── .navigation.yml
│ ├── 1.configuration.md
│ ├── 2.authentication.md
│ └── 3.deployment.md
└── 3.api/ # If applicable
├── .navigation.yml
└── 1.reference.md
index.md) — Hero + feature grid.For writing style, see references/writing-guide.md. For MDC components, see references/mdc-components.md.
Movk Nuxt Docs ships with the MCP server (/mcp) and llms.txt generation enabled by default. No configuration is required.
Do not add an "AI Integration" section to the landing page. These features work automatically.
Optionally mention them on the introduction page:
::note
This documentation includes AI integration through an MCP server and automatic `llms.txt` generation.
::
Load references/configuration.md for detailed configuration options.
When the project has specific workflows (code review, release process, content style checks, etc.), author Agent Skills for the docs site so AI agents can understand and execute those workflows directly. Skills are auto-published to the /.well-known/skills/ endpoint, and tools such as Claude Code and Cursor can discover and load them automatically.
Create a skills/ folder under the docs directory:
[docs-location]/
└── skills/
└── my-skill/
├── SKILL.md # Required: frontmatter + workflow description
├── references/ # Optional: detailed reference docs
│ └── checklist.md
└── assets/ # Optional: templates and example assets
└── template.md
---
name: my-skill
description: |
One-sentence description of what this skill does.
Use when asked to:
"trigger phrase 1", "trigger phrase 2", "trigger phrase 3".
---
# My Skill
A brief statement of the skill's goal and where it applies.
## Workflow
1. **Step One** — What to do.
2. **Step Two** — What to do.
3. **Step Three** — What to do.
---
## Step One
Detailed instructions...
| Field | Required | Description |
|------|------|------|
| name | Yes | kebab-case, must match the directory name exactly, ≤64 characters |
| description | Yes | Functional description plus trigger phrases. The AI uses these phrases to decide when to invoke the skill. |
Trigger-phrase style:
description: |
Review Vue component code for performance, accessibility, and best practices.
Use when asked to:
"review component", "check the code", "code review",
"audit Vue", "analyze component quality".
Keep the main SKILL.md lean (≤500 lines). Put detailed rules, checklists, and templates under references/, then link to them from the main file:
See [references/checklist.md](./references/checklist.md) for details.
name field exactly.--).release-check---
name: release-check
description: |
Verify the project meets release criteria before publishing.
Use when asked to:
"check release readiness", "prepare a release", "release check",
"validate release", "pre-release check".
---
# Release Check
Ensure the project meets every quality requirement before release.
## Workflow
1. **Code quality** — Run lint and type checks.
2. **Version number** — Verify the version field is updated.
3. **Changelog** — Confirm CHANGELOG entries exist.
4. **Build verification** — Run the production build and verify the output.
---
## Step 1: Code Quality
Run the following commands and confirm they all pass:
\`\`\`bash
pnpm lint
pnpm typecheck
\`\`\`
## Step 2: Version Number
Check that the `version` field in `package.json` matches the release version.
## Step 3: Changelog
Confirm `CHANGELOG.md` has an entry at the top for the current version with all major changes.
## Step 4: Build Verification
\`\`\`bash
pnpm build
\`\`\`
After a successful build, confirm the `.output/` directory is not empty.
Provide instructions using the detected package manager.
Documentation created at [docs-location]
To start:
cd [docs-location]
[pm] install
[pm] run dev
Available at http://localhost:3000
Documentation created at [docs-location]
From the repo root:
[pm] install
[pm] run docs:dev
Or from the docs directory:
cd [docs-location]
[pm] run dev
Available at http://localhost:3000
/mcp)/llms.txt)After the docs are created, suggest enhancements:
Your documentation is ready!
Would you like me to:
- **Customize the UI** — match your brand colors and style
- **Enhance the landing page** — add feature cards, code previews, visual polish
- **Set up deployment** — deploy to Vercel, Netlify, or Cloudflare
Let me know what you'd like to improve!
| Platform | Command | Output |
|----------|---------|--------|
| Vercel | npx vercel --prod | Auto-detected |
| Netlify | [pm] run generate | .output/public |
| Cloudflare Pages | [pm] run generate | .output/public |
| GitHub Pages | [pm] run generate | .output/public |
Detected: pnpm monorepo, packages live under packages/.
Generated structure:
docs/
├── content/
│ ├── index.md
│ ├── 1.getting-started/
│ │ ├── .navigation.yml
│ │ ├── 1.introduction.md
│ │ └── 2.installation.md
│ ├── 2.guide/
│ │ ├── .navigation.yml
│ │ ├── 1.authentication.md
│ │ ├── 2.oauth-providers.md
│ │ └── 3.sessions.md
│ └── 3.api/
│ ├── .navigation.yml
│ └── 1.composables.md
├── public/
│ └── favicon.ico
├── package.json
└── .gitignore
In authentication.md (action-oriented H2 headings):
## Add basic authentication
## Protect your routes
## Handle login redirects
## Customize sessions
testing
Review documentation for quality, clarity, SEO, and technical correctness. Optimized for Movk Nuxt Docs / Nuxt Content but compatible with any Markdown docs. Use when asked to: "review docs", "audit documentation", "check documentation", "validate MDC syntax", "check SEO issues", "analyze docs structure", "improve documentation quality", "verify documentation". 审查文档的质量、清晰度、SEO 和技术正确性。当被要求时使用: "审查文档"、"检查文档"、"审计文档"、"验证 MDC 语法"、 "检查 SEO 问题"、"分析文档结构"、"改进文档质量"、"分析文档"。 Provides prioritized, actionable suggestions (Critical / Important / Suggested).
tools
Use when work should span one or more detached tasks but still behave like one job with a single owner context. TaskFlow is the durable flow substrate under authoring layers like Lobster, ACPX, plugins, or plain code. Keep conditional logic in the caller; use TaskFlow for flow identity, child-task linkage, waiting state, revision-checked mutations, and user-facing emergence.
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------