--- name: supercli-docs-dev description: Use this skill when working on supercli documentation — editing docs/index.html, docs/plugins.html, creating scripts that generate doc data (meta-plugins.json), or aligning docs to current implementation. Covers the docs structure, terminology conventions, script patterns, and beads issue workflow. --- # Supercli Docs Development Work on supercli documentation including docs/index.html, docs/plugins.html, and associated scripts. ## Docs Structure ``` docs/ ├── index.html # Main documentation page (single-page app) ├── plugins.html # Plugin directory page ├── server.md # Server documentation (loaded dynamically) ├── adapters.md # Adapters documentation (loaded dynamically) ├── meta-plugins.json # Generated plugin metadata (don't edit manually) ├── features/ # Feature-specific docs └── ...other .md files scripts/ └── generate-meta-plugins.js # Generates meta-plugins.json ``` ## Terminology Convention **IMPORTANT: Use "capability" not "skill"** The codebase uses "capability" as the primary term: - Section titles → "Capability Layer Basics", "Capability Sources", "Capability Mesh Vision" - Content references → "every capability becomes...", "capability discovery layer" - Sidebar links → update both href AND display text - Section IDs → change from `id="skill-*"` to `id="capability-*"` Search keyword attributes can keep "skill" for backwards searchability. ## docs/index.html Single-page documentation with: - Sidebar navigation (links to #sections and other doc pages) - Quick filter input (searches section content + data-keywords) - Sections with `class="doc-section"` and `data-keywords="..."` attributes - Consistent dark theme: `bg-slate-950`, `text-slate-300`, `brand-400` accents - Tailwind + DaisyUI + Space Grotesk/Inter fonts (CDN) ### Common Edits **Update sidebar:** Edit the `