bambu-studio-ai
Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...
Auto-generate document index tables (ADR, RFC, Pitfall, etc.) from file frontmatter. In real-world testing, hand-maintained indexes had a 62% error rate — titles truncated, statuses fabricated, dates invented. This skill eliminates that silent drift. Use when creating doc directories, adding ADRs/RFCs, or setting up documentation governance.
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install erergb/auto-doc-index打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
Replaces hand-maintained index tables in README.md with auto-generated
tables derived from structured frontmatter in individual doc files.
In a real project with 13 ADR files, comparing hand-maintained index vs auto-generated index revealed 8 discrepancies (62% error rate):
| Issue Type | Example | Count |
|---|---|---|
| Title truncated | "activate none" vs actual "activate none by default" | 2 |
| Status fabricated | Index said "Decided" but file said "Accepted" | 3 |
| Date invented | Index showed "2026-01-28" but file had no Date field | 1 |
| Metadata lost | "(revised 2026-01-28)" stripped from status | 1 |
| Case "normalized" | decided silently changed to Decided |
4 |
These aren't hypothetical risks — they were already present and invisible in a well-maintained project. Hand-editing creates a false sense of correctness while the index silently diverges from its source files.
README.md index tables<!-- INDEX:START --> and <!-- INDEX:END --> markers. All other README.md content is preserved verbatim.这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
Auto-generate document index tables from file frontmatter.
AI agent skill that replaces hand-maintained README.md index tables with auto-generated ones derived from structured frontmatter in individual doc files. Eliminates merge conflicts, silent data drift, and stale indexes in multi-agent / multi-contributor documentation workflows.
Hand-maintained index tables in README.md are shared mutable state. In a real project with 13 ADR files, we measured an 62% error rate in the hand-maintained index — titles truncated, statuses fabricated, dates invented. Nobody noticed because the index looked correct.
Each document is self-describing via frontmatter. A zero-dependency generator script scans the directory, parses frontmatter, and injects a fresh index table between <!-- INDEX:START --> / <!-- INDEX:END --> markers. The index becomes a derived view — a stateless pure function of the source files.
OLD: Write doc → Hand-edit README.md → Merge conflict risk
NEW: Write doc → Run generator → Idempotent rebuild, zero conflicts
Install as a Cursor skill:
skillkit install zjlpaul/auto-doc-index
Or install via ClawHub:
openclaw install auto-doc-index
Or just copy the template script:
Copy template/generate-doc-index.ts to your project's scripts/ directory and run:
npx tsx scripts/generate-doc-index.ts all
| Format | Agent |
|---|---|
| SKILL.md | Claude Code, Codex, Gemini CLI, 30+ agents |
| Cursor MDC | Cursor |
| Markdown Rules | Windsurf, GitHub Copilot |
Use SkillKit to translate between formats:
skillkit translate --to cursor SKILL.md
skillkit translate --to windsurf SKILL.md
ADR/RFC style (inline metadata):
# ADR-001: Title Here
Status: Decided...
# Auto Doc Index — Derived Indexes from Frontmatter Replaces hand-maintained index tables in `README.md` with auto-generated tables derived from structured frontmatter in individual doc files. ## Why This Matters — Real Evidence In a real project with 13 ADR files, comparing hand-maintained index vs auto-generated index revealed **8 discrepancies (62% error rate)**: | Issue Type | Example | Count | |------------|---------|-------| | **Title truncated** | "activate none" vs actual "activate none **by default**" | 2 | | **Status fabricated** | Index said "Decided" but file said "Accepted" | 3 | | **Date invented** | Index showed "2026-01-28" but file had no Date field | 1 | | **Metadata lost** | "(revised 2026-01-28)" stripped from status | 1 | | **Case "normalized"** | `decided` silently changed to `Decided` | 4 | These aren't hypothetical risks — they were **already present and invisible** in a well-maintained project. Hand-editing creates a false sense of correctness while the index silently diverges from its source files. ## When to Use - Setting up a new documentation directory (ADR, RFC, Pitfall, Design Doc, etc.) - Adding a new document to an existing indexed directory - Onboarding a project that has hand-maintained doc indexes showing signs of drift - Resolving recurring merge conflicts in shared `README.md` index tables - Migrating from hand-maintained indexes to auto-generated ones ## Boundaries - This skill generates **index tables only** — it does not create or modify the content of individual documents. - The generator script replaces content **only between `<!-- INDEX:START -->` and `<!-- INDEX:END -->` markers**. All other README.md content is preserved verbatim. - Do NOT use this for indexes that require editorial curation (e.g., "recommended reading order"). Auto-generation is for factual, exhaustive catalogs. - Do NOT introduce YAML frontmatter parsing libraries — the regex-based approach is intentional to keep the script zero-dependency. -...
# auto-doc-index **Auto-generate document index tables from file frontmatter.** AI agent skill that replaces hand-maintained `README.md` index tables with auto-generated ones derived from structured frontmatter in individual doc files. Eliminates merge conflicts, silent data drift, and stale indexes in multi-agent / multi-contributor documentation workflows. ## The Problem Hand-maintained index tables in `README.md` are **shared mutable state**. In a real project with 13 ADR files, we measured an **62% error rate** in the hand-maintained index — titles truncated, statuses fabricated, dates invented. Nobody noticed because the index *looked* correct. ## The Solution Each document is self-describing via frontmatter. A zero-dependency generator script scans the directory, parses frontmatter, and injects a fresh index table between `<!-- INDEX:START -->` / `<!-- INDEX:END -->` markers. The index becomes a **derived view** — a stateless pure function of the source files. ``` OLD: Write doc → Hand-edit README.md → Merge conflict risk NEW: Write doc → Run generator → Idempotent rebuild, zero conflicts ``` ## Quick Start 1. **Install as a Cursor skill:** ```bash skillkit install zjlpaul/auto-doc-index ``` 2. **Or install via ClawHub:** ```bash openclaw install auto-doc-index ``` 3. **Or just copy the template script:** Copy `template/generate-doc-index.ts` to your project's `scripts/` directory and run: ```bash npx tsx scripts/generate-doc-index.ts all ``` ## Supported Formats | Format | Agent | |--------|-------| | SKILL.md | Claude Code, Codex, Gemini CLI, 30+ agents | | Cursor MDC | Cursor | | Markdown Rules | Windsurf, GitHub Copilot | Use [SkillKit](https://github.com/nicholasbarger/skillkit) to translate between formats: ```bash skillkit translate --to cursor SKILL.md skillkit translate --to windsurf SKILL.md ``` ## Frontmatter Patterns **ADR/RFC style (inline metadata):** ```markdown # ADR-001: Title Here Status: Decided...
Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...
University for AI agents. 92 courses, 4400+ scenarios, any model via OpenRouter. Auto-training loops generate per-model SKILL.md documents. Works with Claude Code, OpenClaw, Cursor, Windsurf. No fine-tuning req...
Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...
macOS WPS Office workflow helper skill for safer document preparation, conversion, export, and compatibility guidance