Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

documentation文档

Agent Skill

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

总安装

392

周安装

16

GitHub Stars

1

下载量

127
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:documentation(文档)
来源仓库:https://github.com/alexanderstephenthompson/claude-hub
仓库路径:skills/documentation
安装命令:
npx skills add https://github.com/alexanderstephenthompson/claude-hub --skill documentation
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/alexanderstephenthompson/claude-hub --skill documentation

简介

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。

  • 适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。
  • 使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论。
  • 涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。
  • 安装前建议确认权限范围和维护状态,以及是否会触发联网、命令执行或文件读写。

SKILL.md

Documentation Skill

Version: 1.0 Source: Documentation Standards

Non-negotiable documentation standards. Documentation ships with code, not after it.

The Problem

AI agents treat documentation as optional — code gets written, but changelogs, feature specs, and module docs are skipped or generated as an afterthought. Each session assumes the next one will "just read the code," but without documentation, context evaporates between sessions. These standards ensure documentation ships with every change so agents and humans can pick up where the last session left off.

Consumption

  • Builders: Read ## Builder Checklist before starting a feature. Plan documentation alongside code, not after.
  • Refactorers: Use ## Enforced Rules to find documentation gaps. Read narrative sections for format and structure guidance.
  • Both: Narrative sections are the authoritative standard. Checklist and rules table are compressed views of the same content.

Core Principles

  1. Documentation Ships with Code — Every feature includes updated documentation
  2. Single Source of Truth/Documentation folder is THE reference
  3. Agent Continuity — Documentation enables agents to understand context
  4. Living Documents — Keep documentation current, not stale

The Documentation Feedback Loop

Agent reads /Documentation → Understands context → Does work → Updates /Documentation → Next agent reads

When you update /Documentation, you're helping the next agent (including future you) understand the project.


Semantic Versioning (SemVer)

Format

MAJOR.MINOR.PATCH
TypeWhen to BumpExamples
MAJORBreaking change to behavior, inputs, outputs, or structureAPI contract changes, removed features, renamed files
MINORNew user-visible capability or workflowNew feature, new endpoint, new command
PATCHBug fixes, small improvements, no new capabilityFix typo, improve performance, formatting

Release Naming Convention

vX.Y.Z — [Program] / [Module]: [Feature]
ComponentTypeDescription
ProgramNounMajor domain (e.g., Kitchen, Garden)
ModuleNoun-phraseCapability area (e.g., Planning, Tasks)
FeatureVerb/Noun-phraseSpecific action (e.g., Create meal plan)

Examples:

  • v0.2.0 — Kitchen / Planning: Create weekly meal plan
  • v0.3.0 — Garden / Tasks: Track watering routine
  • v0.4.1 — Kitchen / Planning: Fix missing quantities

Scope Tags (Machine-Friendly)

scope: program.module.feature

Examples:

  • scope: kitchen.planning.generate-shopping-list
  • scope: garden.tasks.track-watering-routine

Compatibility Rules

MAJOR bump when ANY of these change in a breaking way:

  • File/folder paths or naming conventions
  • Required inputs or workflow order
  • Output contract (required sections, templates)

MINOR bump when:

  • New workflow outcome added
  • Module gains end-to-end feature
  • Docs gain new non-breaking sections

PATCH bump when:

  • Bug fixes, formatting, typos
  • Performance improvements without contract change

Folder Structure

/Documentation/
  project-roadmap.md       # Living plan + progress tracking
  architecture.md          # System design overview
  changelog.md             # Version history (Keep a Changelog)
  features/
    [program-name]/
      [module-name]/
        _[module-name].md  # Module explainer (underscore sorts first)
        feature-name-1.md  # Feature specification
        feature-name-2.md  # Feature specification

Key Files

FilePurpose
project-roadmap.mdStrategic roadmap (v0.1 → v1.0), milestones
architecture.mdSystem design, data flow, key components
changelog.mdVersion history (Keep a Changelog format)
_*.md (module)Module overview, features list, dependencies
*.md (feature)User story, acceptance criteria, tech notes

Root README

The README is a bridge, not a brochure. Its job is to take someone from "what is this?" to "I have it running and understand how to use it." If a reader follows the README top to bottom and can't get the project working, the README failed — not the reader.

Two Audiences, One Document

  • "Just run it" readers — Want a working state in 5 minutes. They'll read Title, Quick Start, and Setup.
  • "Understand it" readers — Want to know why things work. They still want Quick Start first — understanding is easier once you've seen the thing running.

The section order below serves both. Skim readers exit early with a working result. Deep readers continue into structure and configuration.

Section Order

#SectionPurpose
1Title + One-Liner"Is this relevant to me?" in 10 seconds
2Quick StartFirst success in ≤5 minutes
3What This Does / Doesn'tSet correct expectations
4PrerequisitesHonest dependency list
5SetupFull environment setup with validation
6UsageCore workflows with real examples
7Project StructureWhere things live and why
8ConfigurationWhat's customizable and how
9TroubleshootingCommon failures + fixes
10ContributingHow to help, where to start

Why this order: Sections 1–2 are engagement gates (fail here and the reader leaves). Sections 3–5 are foundation (skip these and the reader gets lost later). Sections 6–8 are reference (dip in and out as needed). Sections 9–10 are safety nets (when things go wrong or someone wants to contribute).

Key Principles

  1. Success Horizons — Every instruction ends with what the reader should see. npm run db:migrate alone is incomplete. Add: *You should see: Migrations complete. 12 tables created.*
  2. Honest Prerequisites — List exact versions with check commands. Hidden requirements become support tickets.
  3. Concrete Over Abstract — Use the project's actual names and paths, not {placeholder} patterns.
  4. Jargon Translation — If a term would make someone stop and Google, translate it immediately.
  5. Failure Modes — Document common failures inline (> **If you see [error]:** [cause]. Fix: [what to do]), catch the rest in Troubleshooting.
  6. Scannable Structure — Headers, code blocks, tables, short paragraphs. Never walls of text.
Full guide: references/readme-guide.md — Section-by-section details with Good/Bad examples and anti-patterns Template: assets/readme-template.md — Copy-paste starter with all 10 sections

Feature Specifications

Required Elements

Every feature file MUST include:

  1. One-line description
  2. Module reference and status
  3. User story (As a / I want / So that)
  4. Overview and basic scenario
  5. Acceptance criteria (testable checkboxes)
  6. Data model (if applicable)
  7. Technical notes with Standards Checklist
  8. Open questions
  9. Related features

Use the template at assets/feature-template.md. Every feature file must include: one-line description, module reference + status, user story (As/Want/So), overview with basic scenario, testable acceptance criteria, data model (if applicable), technical notes with standards checklist, open questions, and related features.


Module Explainers

Use the template at assets/module-template.md. Each module explainer includes: one-line description, program reference + status count, overview, feature table (with status + links), dependencies, and architecture notes.


Changelog Format

Follow Keep a Changelog format. Use the template at assets/changelog-template.md.

Change Types

TypeDescription
AddedNew features
ChangedChanges in existing functionality
DeprecatedSoon-to-be removed features
RemovedNow removed features
FixedBug fixes
SecurityVulnerability fixes

Status Formats

ContextFormatValues
project-roadmap.mdEmoji⏳ Planned, 🔄 In Progress, ✅ Complete, 🚫 Blocked
Feature/Module filesTextPlanned, In Progress, Complete
Open questionsTextOpen, Resolved

Rationale: Emoji in roadmap for visual scanning. Text in feature files for AI parsing.


Builder Checklist

Before writing code governed by this skill, verify your plan against these constraints. Builders read this section before starting work; refactorers use the Enforced Rules table and full narrative instead.

Before considering documentation complete:

Feature Files

  • One-line description present
  • Status is current and accurate
  • User story follows As/Want/So format
  • Acceptance criteria are testable checkboxes
  • Standards checklist is complete
  • Open questions addressed or documented

Module Explainers

  • Feature table is current
  • Status counts are accurate
  • Dependencies listed

Project-Level

  • Roadmap reflects current state
  • Changelog updated for release
  • Architecture doc current

Enforced Rules

Documentation standards are not currently enforced by a deterministic linter. When a documentation checker is added, register rules here and in the checker's RULE_SKILLS registry.

Rule IDSeverityWhat It Checks
No automated rules yet — all checks are manual via the Builder Checklist above

References

  • references/semver-guide.md — Complete semantic versioning guide
  • references/changelog-format.md — Keep a Changelog format
  • references/feature-spec-guide.md — Feature specification writing guide
  • references/readme-guide.md — Root README writing guide

Assets

  • assets/feature-template.md — Feature file template
  • assets/module-template.md — Module explainer template
  • assets/changelog-template.md — Changelog template
  • assets/readme-template.md — README template

Scripts

  • scripts/validate_docs.py — Validate documentation structure
  • scripts/generate_feature.py — Generate feature file from template

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.75%
按下载量换算48

Claude

29.97%
按下载量换算38

Cursor

20.71%
按下载量换算26

Gemini CLI

9.27%
按下载量换算12

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills