文档

Project Documentation

试用

Complete workflow for project documentation including ADRs, PRDs, personas, and docs organization. Use when setting up documentation for a new project or improving existing docs. Triggers on project documentation, ADR, PRD, personas, docs structure, documentation setup.

它能做什么

Complete workflow for setting up and maintaining project documentation.

技能文档

Project Documentation (Meta-Skill)

Complete workflow for setting up and maintaining project documentation.

Installation

OpenClaw / Moltbot / Clawbot

npx clawhub@latest install project-documentation

When to Use

  • Starting a new project and need docs structure
  • Improving documentation on existing project
  • Setting up ADRs, PRDs, or persona docs
  • Want consistent documentation across projects

Docs-First Philosophy

Start every project with documentation, not code:

1. Define the idea      → What is this? What problem does it solve?
2. Define the personas  → Who uses this? What are their journeys?
3. Define the features  → What does it do for each persona?
4. Define the stack     → What technologies? Why?
5. Then build           → With full context established

Directory Structure

docs/
├── architecture/        # CURRENT STATE - Living docs of actual code
│   ├── overview.md
│   └── data-flow.md
├── guides/              # CURRENT STATE - How to use/operate
│   ├── getting-started.md
│   └── configuration.md
├── runbooks/            # CURRENT STATE - Short, actionable guides
│   ├── local-dev.md
│   ├── deploy.md
│   └── database.md
├── planning/            # FUTURE - Not for docs site
│   ├── roadmap.md
│   └── specs/
├── decisions/           # ADRs - Decision records
│   ├── 001-tech-stack.md
│   └── 002-auth-approach.md
└── product/             # PRD, personas
    ├── overview.md
    ├── personas/
    └── features.md

Critical Separation: Current vs Future

CategoryPurposeGoes on Docs Site?
Current StateHow things work nowYes
PlanningFuture specs, designsNo
ArchitectureLiving docs of codeYes
Roadmap/TodosWhat we're working onNo
RunbooksHow to operateYes
Proposed RunbooksFuture plansNo

Documentation Types

Architecture Decision Records (ADRs)

Template:

# ADR-001: [Title]

## Status
[Proposed | Accepted | Deprecated | Superseded]

## Context
[What is the issue we're solving?]

## Decision
[What did we decide?]

## Consequences
[What are the results - positive and negative?]

## Alternatives Considered
[What other options did we evaluate?]

Product Requirements Document (PRD)

Template:

# PRD: [Feature Name]

## Problem
[What problem are we solving?]

## Users
[Which personas does this serve?]

## Requirements
- [ ] Requirement 1
- [ ] Requirement 2

## Non-Goals
[What are we explicitly NOT doing?]

## Success Metrics
[How do we know this worked?]

Persona Documentation

Template:

# Persona: [Name]

## Who They Are
- Background
- Technical level
- Goals

## Pain Points
- [Pain 1]
- [Pain 2]

## Journey
1. Discovery
2. Onboarding
3. Daily use
4. Advanced usage

## Content Needs
- Doc types they need
- Format preferences

Runbooks

Template:

# Runbook: [Task Name]

## Prerequisites
- [Requirement 1]
- [Requirement 2]

## Steps
1. [Step 1]
2. [Step 2]

## Verify
[How to confirm success]

## Troubleshooting
| Problem | Solution |
|---------|----------|
| [Issue] | [Fix] |

Roadmap Format

## Roadmap

### Current Sprint
- [ ] Add user authentication endpoint
- [ ] Create login form component
- [ ] Wire form to auth endpoint

### Backlog
- [ ] Password reset flow
- [ ] OAuth integration
- [ ] Two-factor auth

Quality Gates

Before shipping docs:

  • Separates current state from planning
  • Uses appropriate template for doc type
  • Written for the right audience
  • Actionable (runbooks) or explanatory (guides)
  • No stale/outdated information

Anti-Patterns

  • Mixing future plans with current state — Confuses what's real
  • Planning docs on docs site — Users expect reality
  • One-size-fits-all docs — Different audiences need different depth
  • Building features before personas — No context for decisions
  • Documentation written once and forgotten — Keep it current

Checklist for New Projects

  • Create docs/ directory structure
  • Write initial PRD/overview
  • Document 2-3 personas
  • Create ADR-001 for tech stack
  • Set up roadmap format
  • Create essential runbooks (local-dev, deploy)
  • Separate planning/ from current-state docs

  • Commands: /bootstrap-docs, /new-feature
  • Agent: development

相关技能

执行 Git 操作(提交、分支、合并、变基、冲突解决与恢复)时强制套用安全规则。

作者 Iván532 次安装31 星标

通过托管 OAuth 访问 Microsoft Graph Excel 接口,读写 OneDrive 中的工作簿、工作表、区域、表格与图表。

作者 byungkyu800 次安装42 星标

三阶段结构化流程,协助你完成技术规格、PRD、设计文档、提案和决策文档的协作撰写

作者 Anthropic177.6k 星标

获取带引用的 OpenAI 官方开发者文档,并附带 Codex 自有知识与模型选型指导。

作者 OpenAI27.6k 星标

pptx

官方

用脚本生成、编辑和读取 .pptx 与 .potx 文件,提供缩略图、复制幻灯片和校验功能。

作者 Anthropic177.6k 星标

xlsx

官方

用 openpyxl、pandas 和 LibreOffice 打开、读取、修改和创建 .xlsx/.xlsm/.xltx/.csv/.tsv 文件,并校验公式。

作者 Anthropic177.6k 星标

wpank 的更多技能

浏览全部技能

Systematic code review patterns covering security, performance, maintainability, correctness, and testing — with severity levels, structured feedback guidance, review process, and anti-patterns to avoid. Use when reviewing PRs, establishing review standards, or improving review quality.

作者 wpank553 次安装20 星标

Pragmatic coding standards for writing clean, maintainable code — naming, functions, structure, anti-patterns, and pre-edit safety checks. Use when writing new code, refactoring existing code, reviewing code quality, or establishing coding standards.

作者 wpank198 次安装6 星标

Build reliable, fast E2E test suites with Playwright and Cypress. Critical user journey coverage, flaky test elimination, CI/CD integration.

作者 wpank336 次安装6 星标

Build scalable, themable Tailwind CSS component libraries using CVA for variants, compound components, design tokens, dark mode, and responsive grids.

作者 wpank217 次安装9 星标

Create software diagrams using Mermaid syntax. Use when users need to create, visualize, or document software through diagrams including class diagrams, sequence diagrams, flowcharts, ERDs, C4 architecture diagrams, state diagrams, git graphs, and other diagram types. Triggers include requests to diagram, visualize, model, map out, or show the flow of a system.

作者 wpank251 次安装5 星标

Provides backend architecture patterns (Clean Architecture, Hexagonal, DDD) for building maintainable, testable, and scalable systems with clear layering and...

作者 wpank152 次安装7 星标