tody-agent/codymaster/skills/cm-dockit/SKILL.md
cm-dockit
Knowledge systematization engine — analyze codebases, generate Personas, JTBD, Process Flows, technical docs, SOP user guides, API references. Output as Markdown or VitePress Premium. SEO-optimized, AI/LLM-readable. One scan = complete knowledge base.
- Source repository stars
- 48
- Declared platforms
- 0
- Static risk flags
- 3
- Last source update
- 2026-08-04
- Source checked
- 2026-08-04
Decision brief
What it does—and where it fits
A professional knowledge systematization engine powered by codebase analysis and UX design principles. One source scan = one complete knowledge base — Personas, JTBD, Process Flows, Technical Docs, SOPs, API Reference. Supports plain Markdown output or a premium VitePress site.…
Not for
- Tasks that require unconfirmed production actions or broad system permissions.
- Environments where the pinned source and install steps cannot be inspected.
Compatibility matrix
Platform support, with evidence labels
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
Inspect first. Install second.
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/tody-agent/codymaster --skill "skills/cm-dockit"Inspect the Agent Skill "cm-dockit" from https://github.com/tody-agent/codymaster/blob/14cd03c9b12b3087494371e5ccef81005182dcaa/skills/cm-dockit/SKILL.md at commit 14cd03c9b12b3087494371e5ccef81005182dcaa. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
What the source asks the agent to do
- 01
Procedure
CRITICAL: Ask ALL questions in ONE message. Do NOT ask one at a time. Present the following intake form to the user, using this 📚 DocKit Master — Configuration
Auto-detect: Determine default language from the user's chat languageUser chats in Vietnamese → default viUser chats in Chinese → default zh - 02
Step 1: Gather Input (Single Consolidated Prompt)
CRITICAL: Ask ALL questions in ONE message. Do NOT ask one at a time. Present the following intake form to the user, using this 📚 DocKit Master — Configuration
Auto-detect: Determine default language from the user's chat languageUser chats in Vietnamese → default viUser chats in Chinese → default zh - 03
Step 1b: Auto-Generate Execution Plan
After receiving answers, immediately create an execution plan (do NOT ask more questions).
After receiving answers, immediately create an execution plan (do NOT ask more questions).Map the answers to this execution config:Then present the plan to user as a checklist artifact, like: - 04
Step 2: Analyze Codebase
Read and follow skills/analyze-codebase.md in this directory.
Project type, languages, frameworksDirectory structure and architecture layersEntry points, routes, database schema - 05
Step 3: Apply Content Guidelines
MANDATORY — Read skills/content-guidelines.md before generating any content.
Filenames: kebab-case, no underscores, no dotsFrontmatter: Every .md file must have title, description, keywords, robotsQuick Reference: Every doc starts with a summary box
Permission review
Static risk signals and limitations
Reads files
The documentation asks the agent to read local files, directories, or repositories.
Read and follow `skills/analyze-codebase.md` in this directory.Network access
The documentation includes network, browsing, or remote request actions.
[qmd](https://github.com/tobi/qmd) for semantic search by AIRuns scripts
The documentation asks the agent to run terminal commands or scripts.
For a fast interactive experience, users can run the doc generation script from the skill root:Runs scripts
The documentation asks the agent to run terminal commands or scripts.
bash scripts/doc-gen.shEvidence record
Why each signal appears
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 88/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 48 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Provenance and original SKILL.md
- Repository
- tody-agent/codymaster
- Skill path
- skills/cm-dockit/SKILL.md
- Commit
- 14cd03c9b12b3087494371e5ccef81005182dcaa
- License
- Not declared
- Collected
- 2026-08-04
- Default branch
- main
View the original SKILL.md
CM DocKit: Knowledge Systematization Engine
A professional knowledge systematization engine powered by codebase analysis and UX design principles. One source scan = one complete knowledge base — Personas, JTBD, Process Flows, Technical Docs, SOPs, API Reference. Supports plain Markdown output or a premium VitePress site. Includes SEO optimization, sitemap generation, and AI/LLM-readable content.
When to Activate
- User asks to "create documentation", "generate docs"
- User mentions "SOP", "user guide", "manual"
- User wants technical docs from a codebase
- User runs
/DocKit Master
Document Types
| Type | Skill File | Description |
|---|---|---|
| knowledge | skills/persona-builder.md + skills/jtbd-analyzer.md + skills/flow-mapper.md (files pending) | Personas, JTBD, Process Flows — knowledge foundation |
| tech | skills/tech-docs.md | Architecture, database, deployment, data flow |
| sop | skills/sop-guide.md | Step-by-step user guides (enriched with knowledge) |
| api | skills/api-reference.md | API endpoint reference with examples |
| all | All above | Full knowledge base + documentation suite |
| Support Skill | File | Purpose |
|---|---|---|
| SEO Checklist | skills/seo-checklist.md | Per-page SEO audit (title, meta, headings, robots) |
| Content Writing | skills/content-writing.md | SEO copywriting, keywords, active voice, FAQ |
| LLM Optimization | skills/llm-optimization.md | AI-readable structure, NotebookLM-friendly |
Output Formats
| Format | Workflow | Description |
|---|---|---|
| markdown | workflows/export-markdown.md | Plain .md files in docs/ folder |
| vitepress | workflows/setup-vitepress.md | Premium VitePress static site (default) — built-in Mermaid, search, dark mode |
Procedure
Step 1: Gather Input (Single Consolidated Prompt)
CRITICAL: Ask ALL questions in ONE message. Do NOT ask one at a time. Present the following intake form to the user, using this 📚 DocKit Master — Configuration
Please answer the following questions so I can automatically create an execution plan:
| # | Question | Options | Default |
|---|---|---|---|
| 1 | 📑 Document type? | knowledge · tech · sop · api · all | all |
| 2 | 🎨 Output format? | markdown (plain) · vitepress (premium site) | vitepress |
| 3 | 📂 Code scan scope? | full (entire project) · focused (specific folder/feature) | full |
| 4 | 🎯 Focus area? (only if focused) | Folder name, module, or specific feature | — |
| 5 | 🌏 Writing language? | Auto-detect from chat language (see below) | auto-detect |
| 6 | 🌐 Add multi-language? | yes (add English + source language) · no | no |
| 7 | 📹 Record video demo? | yes (record browser walkthrough) · no | no |
| 8 | 📁 Project path? | (absolute path) | current workspace |
| 9 | 🔍 SEO optimization? | yes (SEO frontmatter + checklist + sitemap) · no | yes |
| 10 | 🤖 Optimize for AI/LLM? | yes (AI-readable + NotebookLM sitemap) · no | yes |
You can answer briefly, e.g.: "all, vitepress, full, yes, no, yes, yes"
🌏 Smart language rules:
- Auto-detect: Determine default language from the user's chat language
- User chats in Vietnamese → default
vi - User chats in Chinese → default
zh - User chats in Japanese → default
ja - User chats in English → default
en - (Applies similarly for any other language)
- User chats in Vietnamese → default
- Multi-language (
yes): Automatically add English (en) as secondary language- Example: Vietnamese user + multi-language →
vi+en - Example: Chinese user + multi-language →
zh+en - If user already chats in English + multi-language → ask which secondary language
- Example: Vietnamese user + multi-language →
- Override: User can override by specifying explicitly, e.g.: "write in Japanese"
Step 1b: Auto-Generate Execution Plan
After receiving answers, immediately create an execution plan (do NOT ask more questions).
Map the answers to this execution config:
DOC_TYPE = [knowledge | tech | sop | api | all]
FORMAT = [markdown | vitepress]
SCOPE = [full | focused]
FOCUS_TARGET = [directory/module name if focused, else null]
LANGUAGE = [vi | en | vi+en]
I18N = [yes | no] (only relevant for vitepress)
RECORD = [yes | no]
PROJECT_PATH = [absolute path]
SEO = [yes | no] (default: yes)
LLM_OPTIMIZE = [yes | no] (default: yes)
Then present the plan to user as a checklist artifact, like:
## 🚀 Execution Plan
- [ ] Scan code: [full/focused → target]
- [ ] Generate documents: [type] in [language]
- [ ] Export format: [markdown/vitepress]
- [ ] [If vitepress + i18n] Configure multi-language
- [ ] [If record] Record video walkthrough
- [ ] [If seo] Run SEO checklist + generate sitemap
- [ ] [If llm_optimize] Apply LLM optimization rules
- [ ] Review and deliver
After presenting the plan → proceed to Step 2 immediately (auto-execute). Do NOT wait for approval unless the plan has ambiguity.
Step 2: Analyze Codebase
Read and follow skills/analyze-codebase.md in this directory.
Output: structured analysis saved to docs/analysis.md (NOT _analysis.md) including:
- Project type, languages, frameworks
- Directory structure and architecture layers
- Entry points, routes, database schema
- Key business logic modules
- Dependencies overview
- Test coverage
Step 3: Apply Content Guidelines
MANDATORY — Read skills/content-guidelines.md before generating any content.
Key rules to enforce:
- Filenames: kebab-case, no underscores, no dots
- Frontmatter: Every
.mdfile must havetitle,description,keywords,robots - Quick Reference: Every doc starts with a summary box
- Progressive Disclosure: Use
<details>for advanced content - Admonitions: Use
:::tip,:::info,:::warning,:::dangerfor callouts - Mermaid: NO hardcoded colors — VitePress auto-adapts to light/dark
- Code Groups: Use
:::code-groupfor multi-platform examples - Internal Links: ≥2 cross-links per page
Step 3b: Apply SEO & LLM Guidelines (If enabled)
If SEO = yes: Read skills/content-writing.md for:
- Keyword placement (title, H1, first paragraph, H2s, meta)
- Inverted pyramid structure (answer first, details later)
- Active voice (≥80%), transition words (≥30%)
- FAQ in schema-ready format for rich snippets
If LLM_OPTIMIZE = yes: Read skills/llm-optimization.md for:
- Clean heading hierarchy (no skipped levels)
- Text descriptions alongside all Mermaid diagrams
- Self-contained sections (≤500 words per H2)
- Consistent terminology (glossary section in index)
- UTF-8 clean output
Step 4: Generate Documents
Based on the chosen type, read and follow the corresponding skill file:
-
knowledge → Run 3 skills sequentially:
- Read
skills/persona-builder.md→docs/personas/(Buyer & User Personas) - Read
skills/jtbd-analyzer.md→docs/jtbd/(JTBD Canvases) - Read
skills/flow-mapper.md→docs/flows/(Workflow, Sequence, Lifecycle, Journey)
- Read
-
tech → Read
skills/tech-docs.md, generate:docs/architecture.md— System architecture + ADRdocs/database.md— Database schema & data modeldocs/deployment.md— Deployment & infrastructuredocs/data-flow.md— Data flow diagrams
-
sop → Auto-run
knowledgefirst if not yet generated, then:- Read
skills/sop-guide.md, generate: docs/sop/— One.mdper feature/module- Each file: Persona Context → Process Flow → Steps → Journey → Troubleshooting → FAQ
- Read
-
api → Read
skills/api-reference.md, generate:docs/api/— Organized by resource- Each file: Quick Ref → Endpoints table → Multi-language examples
-
all → Run
knowledge→tech→sop→apisequentially
Step 5: Export
Based on the chosen format, read and follow the corresponding workflow:
-
markdown → Read
workflows/export-markdown.md- Create
docs/README.mdas index - Organize into clean folder structure
- Create
-
vitepress → Read
workflows/setup-vitepress.md- Scaffold VitePress with premium template
- Auto-sidebar from folder structure
- Built-in Mermaid, search, dark mode
- Build and verify
Step 5b: Generate Sitemap (If SEO = yes)
Read and follow workflows/generate-sitemap.md:
- VitePress: Sitemap auto-generated via
sitemapconfig option. Generaterobots.txt, extractsitemap-urls.txt - Markdown: Generate
docs/sitemap.md(link index) +docs/sitemap-urls.txt - Both formats produce a NotebookLM-ready URL list for AI research
Step 5c: Run SEO Audit (If SEO = yes)
Read skills/seo-checklist.md and audit every generated page:
- Title (50–60 chars, keyword) ✔️
- Meta description (150–160 chars) ✔️
- Single H1, no skipped levels ✔️
- ≥2 internal links ✔️
- Robots directive set ✔️
- All images have alt text ✔️
Step 6: Summary
Present to user:
- List of generated files with sizes
- How to view/serve the docs
- Next steps (customize, deploy, etc.)
If generated docs > 30 files, also suggest:
💡 **Pro Tip: Deep Search**
The documentation set just created has [X] files. You can index them using
[qmd](https://github.com/tobi/qmd) for semantic search by AI
across all future sessions:
\`\`\`bash
npm install -g @tobilu/qmd
qmd collection add ./docs --name project-docs
qmd context add qmd://project-docs "Project documentation for [project-name]"
qmd embed
\`\`\`
See also: `cm-deep-search` skill.
CLI Quick Start
For a fast interactive experience, users can run the doc generation script from the skill root:
# Run from the cm-dockit skill directory
bash scripts/doc-gen.sh
Note: The
scripts/directory anddoc-gen.shscript need to be created. For now, trigger this skill by invokingcm-dockitdirectly via the AI assistant.
UX Principles Applied
| UX Law | Application |
|---|---|
| Hick's Law | ≤7 TOC items, progressive disclosure for advanced content |
| Miller's Law | Information chunked into groups of 5-9 |
| Doherty Threshold | Tables for structured data, scannable summaries |
| Jakob's Law | Standard doc layout (sidebar + content + TOC) |
| Fitts's Law | Touch-friendly navbar links (≥44px) |
| WCAG 2.1 AA | Focus-visible rings, high contrast, reduced motion |
Constraints
- All Mermaid diagrams use NO hardcoded inline styles — VitePress theming handles light/dark
- Every technical claim cites
(file_path:line_number) - SOP docs use
<details>for troubleshooting (progressive disclosure) - All generated files include YAML frontmatter with
title,description - Pure Markdown — no MDX, no special escaping needed
- No underscore-prefixed filenames — breaks auto-sidebar detection
- VitePress output must pass
npx vitepress buildwithout errors - SEO default:
robots: "index, follow"unless page is internal/draft - ≥2 internal links per page (never orphan pages)
- Text fallback for every Mermaid diagram (LLM readability)
- Self-contained sections — each H2 makes sense read alone
sitemap-urls.txtgenerated for NotebookLM import
CM DocKit Development Rules
If you are an AI agent asked to modify or upgrade this skill (CM DocKit):
- Test Gate Enforcement: You MUST run the backend test suite located in the
cm-dockitskill directory by executing$ npm run test:gateor$ vitest. Do NOT claim "task completed" unless tests pass. - Boilerplate Integrity: If modifying
templates/vitepress-premium, ensure the frontend test suite (tests/frontend.test.ts) still works. - No Direct Copying: Never hardcode file-copy commands that copy
[project_root]/docs/content intodocs-site/. Always rely onsrcDir: '../docs'inconfig.mts.
Alternatives
Compare before choosing
MoizIbnYousaf/marketing-cli
seo-machine
Build an organic-traffic operating system for any site or app: a multi-phase, resumable engine that ships programmatic landing pages (alternatives, comparisons, use-cases, playbooks) on top of real keyword research. Use when the user says 'SEO machine', 'build organic traffic', 'rank on Google', 'we need traffic', 'alternatives pages', 'comparison pages', '/for/ pages', 'programmatic SEO', or 'build an SEO engine'. Distinct from `seo-audit` (one-off diagnostic) and `seo-content` (single-article
leonardomso/33-js-concepts
concept-workflow
End-to-end workflow for creating complete JavaScript concept documentation, orchestrating all skills from research to final review
Bhanunamikaze/Agentic-SEO-Skill
seo
Deterministic LLM-first SEO audits for websites, blog posts, and GitHub repositories. Use this when the user asks to "perform SEO analysis", "run SEO audit", "analyze SEO", "check technical SEO", "review schema", "Core Web Vitals", "E-E-A-T", "hreflang", "GEO", "AEO", or GitHub repository SEO optimization. For full/page/repo audits, run bundled scripts for evidence and return prioritized, confidence-labeled fixes.
PramodDutta/qaskills
Website Audit
Comprehensive website auditing skill using Lighthouse, PageSpeed Insights, and web performance APIs to audit performance, accessibility, SEO, best practices, and security.