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

documentation-guide文档指南

Agent Skill

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

总安装

514

周安装

21

GitHub Stars

23

下载量

165
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/akaszubski/autonomous-dev --skill documentation-guide

简介

强制执行变更日志格式规范,确保版本更新记录符合行业标准写法。

  • 要求所有条目严格遵循 Added/Changed/Deprecated 等分类顺序排列。
  • 维护文档与代码行为的一致性,在功能发布后及时同步使用说明。
  • 集成 Loom 团队特有的表达风格,保持语言简洁直接无冗余修饰。
  • documentation-guide 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Documentation Guide Enforcement Skill

Ensures all documentation is consistent, current, and complete. Used by the doc-master agent.

Keep a Changelog Format

All CHANGELOG entries MUST follow Keep a Changelog format.

Categories (in this order)

  • Added — new features
  • Changed — changes to existing functionality
  • Deprecated — soon-to-be removed features
  • Removed — removed features
  • Fixed — bug fixes
  • Security — vulnerability fixes

Structure

# Changelog

## [Unreleased]

### Added
- New authentication module (#123)

### Fixed
- Token expiry off-by-one error (#124)

## [1.2.0] - 2026-02-15

### Added
- Batch processing support (#100)

The [Unreleased] section MUST always exist at the top for accumulating changes.


README Required Sections

Every README.md MUST contain these sections in order:

  1. Overview — 1-2 sentence project description
  2. Installation — How to install/set up
  3. Usage / Quick Start — Minimal working example
  4. Commands Table — Available commands with descriptions
  5. Configuration — Config files, env vars, options
  6. Contributing — How to contribute, link to CONTRIBUTING.md

Docstring Format: Google Style

All public functions MUST have Google-style docstrings.

def process_data(
    data: List[Dict],
    *,
    validate: bool = True,
) -> ProcessResult:
    """Process input data with optional validation.

    Args:
        data: Input records as list of dicts with 'id' and 'content' keys.
        validate: Whether to validate input before processing.

    Returns:
        ProcessResult with metrics and processed items.

    Raises:
        ValueError: If data is empty or missing required keys.
    """

Include Args, Returns, and Raises for every public function. Omit sections only if truly not applicable (e.g., no exceptions raised).


HARD GATE: Sync Rules

Documentation MUST stay in sync with code at all times.

FORBIDDEN:

  • Updating code without updating corresponding docs
  • Hardcoded component counts (e.g., "17 agents") — use dynamic discovery or verify against filesystem
  • Undocumented public APIs — every public function needs a docstring
  • Stale cross-references — links to files/sections that no longer exist
  • CHANGELOG entries without issue/PR numbers
  • Version dates that do not match actual release dates

REQUIRED:

  • CHANGELOG entry for every user-visible change
  • Version date updated when changes are made
  • Component counts verified against filesystem before committing
  • Cross-references validated (all linked files exist)
  • README updated when commands or configuration change
  • Docstrings updated when function signatures change

When to Update Which Docs

Change TypeREADMECHANGELOGDocstringsADR
API changeYesYesYesMaybe
New featureYesYesYesMaybe
Bug fixNoYesNoNo
Refactor (no behavior change)NoNoMaybeMaybe
Architecture decisionNoNoNoYes
Config changeYesYesNoNo
DeprecationYesYesYesMaybe

ADR Template

For major architectural decisions, create an ADR (Architecture Decision Record).

# ADR-NNN: [Title]

**Date**: YYYY-MM-DD
**Status**: Proposed | Accepted | Deprecated | Superseded by ADR-NNN

## Context
What is the issue or decision we need to make?

## Decision
What did we decide and why?

## Consequences
What are the positive and negative outcomes?

## Alternatives Considered
What other options were evaluated and why were they rejected?

Store ADRs in docs/adr/ directory, numbered sequentially.


Anti-Patterns

BAD: Hardcoded counts

This project has 17 agents and 40 skills.

These numbers drift immediately. Verify against filesystem or use dynamic discovery.

GOOD: Verified counts

# Count before documenting
ls plugins/autonomous-dev/agents/*.md | wc -l
ls plugins/autonomous-dev/skills/*/SKILL.md | wc -l

BAD: Stale cross-references

See [architecture guide](docs/ARCHITECTURE.md) for details.

If docs/ARCHITECTURE.md was renamed to docs/ARCHITECTURE-OVERVIEW.md, this link is broken.

GOOD: Validated references

Check all links exist before committing documentation changes.

BAD: Missing CHANGELOG entry

Shipping a user-visible feature with no CHANGELOG entry. Users cannot discover what changed.

GOOD: CHANGELOG-first workflow

Write the CHANGELOG entry before or during implementation, not as an afterthought.


Cross-References

  • git-github: Commit message and PR conventions
  • code-review: Documentation checklist item (#8)

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.38%
按下载量换算58

Claude

33.41%
按下载量换算55

Cursor

18.48%
按下载量换算30

Gemini CLI

9.44%
按下载量换算16

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills