Token导航 LogoToken导航TokenDH.com
开发执行命令github未标认证来源可访问clear审计通过

documentation-standards文件标准

Agent Skill

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

总安装

353

周安装

15

GitHub Stars

106

下载量

124
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/pr-pm/prpm --skill documentation-standards

简介

划分内部开发与用户导向两类文档的定位与存放位置管理规范。

  • 明确 GITHUB_WORKFLOWS.md、PUBLISHING.md 等核心文件的职责归属。
  • 区分面向贡献者、维护者与终端用户的差异化内容表达方式要求。
  • 建立文档与代码仓库的物理映射关系便于日常查阅与维护操作。
  • documentation-standards 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

PRPM Documentation Standards

Documentation Organization

Internal Documentation (development/docs/)

Purpose: Documentation for developers working on PRPM itself

Location: development/docs/

Files:

  • GITHUB_WORKFLOWS.md - GitHub Actions workflows reference
  • PUBLISHING.md - NPM package publishing process and order
  • DEVELOPMENT.md - Development setup, environment, and workflows
  • DOCKER.md - Docker setup, services, and troubleshooting

Audience: PRPM contributors, maintainers, CI/CD systems


User-Facing Documentation (docs/)

Purpose: Documentation for PRPM users and package authors

Location: docs/ (at project root)

Files:

  • User guides
  • API documentation
  • Package authoring guides
  • CLI command reference
  • Examples and tutorials

Audience: PRPM end users, package authors, integrators


Project-Level Documentation (root)

Purpose: Standard project files that belong at repository root

Location: Project root /

Files:

  • README.md - Project overview, quick start, installation
  • CONTRIBUTING.md - Contribution guidelines
  • CHANGELOG.md - Version history and changes
  • LICENSE - License information
  • ROADMAP.md - Project roadmap and future plans

Audience: Everyone (first impression)


Claude Skills (.claude/skills/)

Purpose: Knowledge base and reference materials for AI assistants

Location: .claude/skills/

Files:

  • postgres-migrations-skill.md - PostgreSQL migrations guidance
  • pulumi-troubleshooting-skill.md - Pulumi troubleshooting
  • NEW_SKILLS.md - How to create new skills
  • documentation-standards.md - This file

Subdirectories:

  • prpm-development/ - PRPM-specific development knowledge
  • self-improving/ - Self-improvement patterns
  • thoroughness/ - Thoroughness and quality guidelines

Audience: AI assistants (Claude, etc.)


Rules for Documentation Placement

When to use development/docs/

✅ GitHub Actions workflows and CI/CD ✅ Internal build/release processes ✅ Development environment setup ✅ Architecture decision records ✅ Internal troubleshooting guides ✅ Database schema documentation ✅ Infrastructure documentation

❌ User-facing tutorials ❌ CLI usage guides ❌ API reference for end users

When to use docs/

✅ User guides and tutorials ✅ CLI command reference ✅ Package authoring guides ✅ API documentation for users ✅ Integration examples ✅ FAQ for users

❌ Internal development workflows ❌ CI/CD documentation ❌ Build/release processes

When to use.claude/skills/

✅ Specialized knowledge for AI assistants ✅ Domain-specific best practices ✅ Troubleshooting patterns ✅ Code review guidelines ✅ Project-specific conventions

❌ General documentation ❌ User guides ❌ API references


Documentation Standards

Markdown Files

  • Use clear, descriptive filenames (kebab-case)
  • Include table of contents for docs > 200 lines
  • Use proper heading hierarchy (# → ## → ###)
  • Include code examples with syntax highlighting
  • Add frontmatter if using a static site generator

Example Structure

# Title

Brief description (1-2 sentences)

## Table of Contents
- [Section 1](#section-1)
- [Section 2](#section-2)

## Section 1
Content...

### Subsection 1.1
Details...

## Examples
\`\`\`bash
# Example command
prpm install @username/package-name
\`\`\`

## See Also
- [Related Doc](./related.md)

Cross-References

  • Use relative paths for links
  • Keep links within same category when possible
  • Update links when moving files

Internal → Internal:

See [Publishing Guide](./PUBLISHING.md)

Internal → User:

See [User Guide](../../docs/user-guide.md)

Migration Checklist

When reorganizing documentation:

  1. ✅ Move file to correct location
  2. ✅ Update all references to moved file
  3. ✅ Update README.md links if needed
  4. ✅ Update.gitignore if needed
  5. ✅ Test that all links work
  6. ✅ Commit with clear message explaining move

Package-Specific Documentation

Each package should have its own README:

packages/
├── cli/
│   └── README.md          # CLI package overview
├── registry/
│   └── README.md          # Registry server docs
├── registry-client/
│   └── README.md          # Client library docs
├── types/
│   └── README.md          # Type definitions docs
└── webapp/
    └── README.md          # WebApp docs

Maintenance

Regular Reviews

  • Quarterly review of docs/ for accuracy
  • Remove outdated documentation
  • Update examples to use latest version
  • Check for broken links

When Adding Features

  • Update relevant user docs in docs/
  • Update internal docs in development/docs/ if needed
  • Add examples
  • Update CHANGELOG.md

When Deprecating Features

  • Add deprecation notice to docs
  • Provide migration guide
  • Keep docs until feature is removed
  • Update CHANGELOG.md

Quick Reference

Documentation TypeLocationAudienceExamples
Internal Devdevelopment/docs/ContributorsCI/CD, publishing
User-Facingdocs/UsersGuides, tutorials
Project Root/EveryoneREADME, LICENSE
AI Skills.claude/skills/AI assistantsTroubleshooting
Package Docspackages/*/README.mdPackage usersAPI reference

Tools

Documentation Generators

  • TypeDoc - For TypeScript API docs (future)
  • VitePress or Docusaurus - For docs/ site (future)

Linting

# Check markdown
markdownlint docs/

# Check links
markdown-link-check docs/**/*.md

Building Docs Site (Future)

cd docs/
npm run build

Examples

Good Documentation Structure

prpm/
├── README.md                    # Project overview
├── CONTRIBUTING.md              # How to contribute
├── CHANGELOG.md                 # Version history
├── ROADMAP.md                   # Future plans
├── development/
│   └── docs/
│       ├── GITHUB_WORKFLOWS.md  # CI/CD reference
│       ├── PUBLISHING.md        # Release process
│       ├── DEVELOPMENT.md       # Dev setup
│       └── DOCKER.md            # Services setup
├── docs/
│   ├── getting-started.md       # User onboarding
│   ├── cli-reference.md         # Command reference
│   ├── package-authoring.md     # Creating packages
│   └── api/
│       └── registry-client.md   # API docs
└── .claude/
    └── skills/
        ├── documentation-standards.md
        ├── postgres-migrations-skill.md
        └── pulumi-troubleshooting-skill.md

Bad Documentation Structure ❌

prpm/
├── README.md
├── WORKFLOWS.md                 # Should be in development/docs/
├── USER_GUIDE.md                # Should be in docs/
├── dev-setup.md                 # Should be in development/docs/
└── troubleshooting.md           # Unclear audience/location

Version

Last Updated: 2025-10-21 Applies To: PRPM v2+ Review Date: 2026-01-21

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

windsurf

32.44%
按下载量换算40

OpenCode

25.41%
按下载量换算32

Codex

16.82%
按下载量换算21

Claude Code

13.53%
按下载量换算17

Antigravity

7.44%
按下载量换算9

Gemini CLI

3.22%
按下载量换算4

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/pr-pm/prpm --skill documentation-standards;npx skills add pr-pm/prpm --skill "documentation-standards" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills