Token导航 LogoToken导航

Agent Skill · 研究检索

doc-system-generator(文档系统生成器)

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

doc-system-generator 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为执行命令;许可证为 MIT-0,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 31,587。

总安装 2,671周安装 107GitHub Stars 公开资料未说明下载 865核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:doc-system-generator(文档系统生成器)
来源仓库:https://github.com/leonardo-lb/doc-system-generator
安装命令:
openclaw skills install doc-system-generator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install doc-system-generator

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

分析软件项目并生成结构化文档系统,基于意图/合同/约束三轨设计。适合新项目初始化或旧文档体系重构,提升文档可维护性。集成于 OpenClaw,通过 clawhub 安装后调用生成完整文档框架。需结合项目实际调整模板,避免引入遗留路径或假设性内容。

doc-system-generator 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install doc-system-generator;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

doc-system-generator 怎么安装?

在终端执行 openclaw skills install doc-system-generator。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

doc-system-generator 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

doc-system-generator 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 openclaw skills install doc-system-generator 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

doc-system-generator 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

doc-system-generator 用的人多吗?

公开数据是累计安装 2,671 次,近一周安装 107 次,下载 865 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

doc-system-generator 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
doc-system-generator

文档系统生成器 · 本页

2,671—执行命令MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
doc-system-generator
description
>

Doc System Generator

Analyze any project → derive optimal grouping → generate complete Markdown documentation system → self-check completeness.

Workflow

Phase 0: Environment Probe

  1. Detect existing docs: Check for docs/, doc/, documentation/, or any .md files at project root
  2. Detect entry file: Check for AGENTS.md, CLAUDE.md, GEMINI.md, README.md
  3. Decision point:

- Existing docs found → present two equal options to user (no default): - Option A: Respect existing structure + suggest improvements - Option B: Full redesign from scratch - No existing docs → proceed directly to Phase 1

  1. Deploy tool: Copy scripts/md-sections.sh to project's scripts/ directory (create if needed)

- Fallback: If md-sections.sh fails (corrupted Markdown, exotic separators), use AI Agent's native Read/Grep tools directly. No additional parser needed. - Scope boundary: Online documentation platforms (Notion, Confluence, GitBook) are out of scope — they require API tokens and have their own navigation

Phase 1: Project Analysis

  1. Detect explicit boundaries (🤖 automatic):

- Scan build files → extract modules/packages/subprojects list - Scan directory structure → identify hierarchy pattern - Detect entry files → determine application boundaries

  1. Identify architecture pattern (🤖👤 semi-automatic):

- Analyze code organization → match pattern (layered/ECS/microservice/pipeline/plugin/SPA/embedded) - Analyze dependency direction → determine coupling style - Analyze test structure → identify concern separation

  1. Identify cross-cutting concerns (🤖👤 semi-automatic):

- Scan config files → extract concerns (CI, security, i18n, testing, deployment) - Analyze code patterns → identify concerns (error handling, logging, caching) - Analyze dependencies → list framework capabilities

  1. Optional field research: If unfamiliar project type or user requests, search for industry documentation practices for this tech stack/domain. Use results as hints only, not mandates.

→ Output: Project Profile (JSON) containing: techStack, modules, architecture, concerns. Show Phase 1 reasoning to user before proceeding.

For detailed signal tables and detection methods, see grouping-detection.md.

Phase 2: Grouping Derivation

  1. Derive grouping dimensions from Phase 1 results:

- Module boundaries → basis for "module" document grouping - Architecture pattern → basis for "architecture" document grouping - Cross-cutting concerns → basis for "standards/conventions" document grouping

  1. Quality check (以职责为核心):

- Cohesion: Do documents in each group answer the same class of questions? - Independence: Does each group carry a distinct documentation responsibility? - Discoverability: Can readers locate documents by intent?

  1. Present derivation to user: Show reasoning process + result. User confirms or adjusts.

Phase 3: Template Derivation

Key principle: Three-track system is the foundation. Read three-track-philosophy.md for full philosophy.

  1. Classify each document group into tracks:

- 🔴 Intent: Records design intent (frozen after creation) - 🟢 Contract: Follows code (code → doc alignment) - 🔵 Constraint: Drives code (doc → code alignment)

  1. Determine template flexibility for each group:
    Documents answer same class of questions?
    ├── No  → Flexibility 1: Fully Independent
    └── Yes → Reader expectations identical?
             ├── Yes → Flexibility 3: Fully Unified
             └── No  → Shared core but unique needs?
                      ├── Yes → Flexibility 4: Mixed (unified shell + free core)
                      └── No  → Flexibility 2: Shell Unified
  1. Generate fixed shell (three tiers):

- Required: Title + one-sentence purpose + 📋 TOC + track label (🔴/🟢/🔵) - Recommended: Overview/background + related docs - Optional: Change history (Contract track) / Checklist (Constraint track) / Mermaid diagram

  1. Derive core chapters:

- Primary path: Reader questions → chapter names (per track's typical reader questions) - Secondary path: Code patterns → supplementary technical chapters - Optional: Field research for domain-specific chapter conventions

  1. Present templates to user: Show derived templates per group. User confirms or adjusts.

For detailed template derivation methods, see template-derivation.md.

Phase 4: Document Generation

  1. Generate entry file (AGENTS.md or equivalent):

- Documentation system overview (tech stack summary, module structure) - Core coding rules extracted from Constraint track - Document index with reference strength (⛔ MUST / ⚠️ SHOULD / 💡 MAY) - Layered disclosure rule as highest priority constraint

  1. Generate meta-system doc (docs/README.md):

- Three-track system definition - Seven writing principles (see Constraints below) - Template descriptions - Navigation index - Maintenance governance (🤖/🤖👤/👤 classification) - Anti-pattern warnings

  1. Generate group README for each group directory:

- Template description + writing guide - Document list with one-sentence purpose each

  1. Generate all documents per derived templates:

- Apply fixed shell + core chapters - Fill with analyzed project content - Add cross-references between related documents - Add track labels and reference strength annotations

  1. Write layered disclosure rule into entry file:
    ## ⛔ Documentation Loading Rules (Highest Priority)
    For documents exceeding 200 lines:
    Step 1: Run `scripts/md-sections.sh <file>` for JSON structure
    Step 2: Run `scripts/md-sections.sh <file> "Section Name"` to extract specific content
    PROHIBITED: Reading full document content in one operation

Phase 5: Completeness Self-Check

  1. Run structural checks (S1-S7, 🤖 automatic):

- S1: Template compliance — all fixed sections present - S2: TOC accuracy — 📋 matches actual sections - S3: Cross-references — all links point to existing targets - S4: Entry index coverage — entry file references all documents - S5: Track labels — all documents labeled - S6: Reference strength — all index entries annotated - S7: Change history — all Contract-track docs have it

  1. Run content checks (C1-C6, 🤖👤 semi-automatic):

- C1: Code references exist — mentioned entities found in codebase - C2: API signatures match — documented APIs match code - C3: Data models match — documented models match code - C4: Config items match — documented configs match code - C5: Version numbers match — documented versions match build files - C6: Semantic consistency — documented behavior matches code (deep mode only) - Record detection methods derived for C2-C5 in project metadata (for contract-doc-sync reuse)

  1. Run system health checks (H1-H5, 👤 human judgment):

- H1: Module coverage — every code module has a document - H2: Concern coverage — every concern has a standards document - H3: Responsibility uniqueness — no two documents answer the same question - H4: No information islands — every document is referenced by at least one other - H5: Industry benchmark — field research coverage comparison

  1. Output self-check report using fixed template (see completeness-checklist.md for full template).

Phase 6: User Confirmation

  1. Present full results: generated file list + self-check report
  2. Iterate on user feedback: adjust grouping, templates, or content as needed

Constraints

Writing Principles (for all generated documents)

  1. Single Responsibility: Every document has exactly one purpose, expressible in one sentence. If two documents answer the same question → merge or re-split.
  2. Layered Disclosure: Documents exceeding 200 lines require structure-first access. Always include 📋 TOC section. Within a single session, parse the same file's structure only once — reuse the parsed tree for subsequent extractions.
  3. Hierarchy Limit: Section depth must not exceed L3 (###). L3 for fine-grained subdivisions only.
  4. Link Over Copy: When content from another document is needed, use Markdown links — never copy content.
  5. Positive Constraints: Write rules as "do X" with specifics, not "don't do Y". Pair safety-critical negatives with positive alternatives.
  6. Track Labeling: Every document carries a track label (🔴/🟢/🔵) in its header.
  7. Reference Strength: Every document entry in index files carries a strength annotation (⛔/⚠️/💡).

Maintenance Classification (for generated governance sections)

LevelMarkerTriggerExample
🤖 DeterministicDirect fix1:1 mappable from codeAPI signature change → update API reference
🤖👤 Semi-deterministic[pending confirmation]Requires intent understandingBusiness logic change → update description
👤 CreativeSkip, reportRequires original thinkingNew module → create new document

Format Rules

  • All generated documents use Markdown format exclusively
  • Use Mermaid diagrams for architecture and flow documentation
  • Use numbered tables for API/configuration references
  • Entry file (AGENTS.md): concise, constraint summary + document index only
  • Meta-system doc (docs/README.md): self-describing, includes all governance rules

Examples

Example 1: Java Spring Boot multi-module project

→ 1. Phase 0: No existing docs → proceed directly → 2. Phase 1: Detect Maven modules (common, client-cache, client-oss, app), identify layered architecture, find concerns (auth, caching, storage, testing) → 3. Phase 2: Derive 3 groups: architecture/ (by question), conventions/ (by concern), modules/ (by module) → 4. Phase 3: architecture=Flexibility 1, conventions=Flexibility 2, modules=Flexibility 3. Intent track in openspec/specs/, Contract in docs/modules/+docs/architecture/, Constraint in docs/conventions/+AGENTS.md → 5. Phase 4: Generate 22 documents + AGENTS.md + docs/README.md + group READMEs → 6. Phase 5: S1-S7 all pass. C2-C5 use Java-specific detection (annotations, pom.xml). H5: compare against Spring Boot doc conventions → 7. Phase 6: User confirms

Example 2: React component library, existing messy docs/

→ 1. Phase 0: Existing docs/ with disorganized files → present two options → user chooses "Full redesign" → 2. Phase 1: Detect npm workspaces, identify component structure, find concerns (styling, accessibility, testing, i18n) → 3. Phase 2: Derive groups: components/ (by component), guides/ (by concern), architecture/ (by question) → 4. Phase 3: components=Flexibility 3 (all need Overview/Props/Events/Examples), guides=Flexibility 2, architecture=Flexibility 4 → 5. Phase 4: Generate documents. Field research reveals Storybook conventions → incorporate Props/Events/Accessibility chapters → 6. Phase 5: S4 finds entry file missing 3 new docs → fix. H5: accessibility docs missing → flag → 7. Phase 6: User adds accessibility concern → regenerate

Example 3: Game engine (Unreal)

→ 1. Phase 0: No existing docs → 2. Phase 1: Detect CMake/workspace modules, identify ECS + Game Loop pattern, find concerns (performance, memory, scripting, asset pipeline) → 3. Phase 2: Derive 4 groups: systems/ (AI, rendering, physics, audio), pipelines/ (asset, build, CI), guides/ (scripting, performance, debugging), architecture/ (overview, patterns, memory model) → 4. Phase 3: systems=Flexibility 4 (unified shell: Overview/Integration/Performance, but unique chapters: AI has Behavior Tree, Rendering has Shader Pipeline) → 5. Phase 4: Generate. Field research: Unreal docs commonly cover Blueprints, C++ API, Performance budgets → incorporate → 6. Phase 5: H1 finds 2 subsystems without docs → flag for user → 7. Phase 6: User confirms


Verification

After completing the workflow:

  1. File existence: All planned documents were created (check with ls -la docs/ recursively)
  2. Structure valid: Run scripts/md-sections.sh <each-file> → verify TOC sections exist
  3. Entry index complete: Entry file references all generated documents
  4. Cross-references valid: No broken Markdown links between documents
  5. Self-check report clean: S1-S7 all pass; C1-C6 reviewed; H1-H5 acknowledged by user
  6. Track consistency: Each document's track label matches its actual time/direction behavior

If any check fails → diagnose, fix, re-verify. If user disagrees with grouping/templates → iterate from corresponding Phase.


Resources

FileWhen to Read
three-track-philosophy.mdPhase 3 — Need to explain track classification or writing philosophy to user
grouping-detection.mdPhase 1-2 — Need detailed signal tables, architecture patterns, or quality criteria
template-derivation.mdPhase 3 — Need detailed flexibility judgment, fixed shell definition, or chapter derivation methods
completeness-checklist.mdPhase 5-6 — Need 18-dimension checklist details, dependency order, or report template

Scripts

ScriptPurpose
scripts/md-sections.shMarkdown chapter parser with three operations: (1) md-sections.sh <file> → JSON structure tree, (2) md-sections.sh <file> "Section" → extract section content, (3) md-sections.sh <file> --line <N> → locate section by line number. Deploy to project's scripts/ in Phase 0

Complementary Skills

SkillRelationship
contract-doc-syncMaintenance partner: This skill = architect (one-time generation), contract-doc-sync = property manager (ongoing drift detection + sync). This skill's generated detection configs can be reused by contract-doc-sync

平台分布

OpenClaw

95.62%
按下载量换算827

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install doc-system-generator 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills