Token导航 LogoToken导航TokenDH.com
开发需要联网github未标认证来源可访问许可证需确认审计异常

docs-and-changelogs文档和变更日志

Agent Skill

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

总安装

326

周安装

14

GitHub Stars

3

下载量

114
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/hopeoverture/worldbuilding-app-skills --skill docs-and-changelogs

简介

自动化生成变更日志和产品需求文档。

  • 基于 Conventional Commits 解析提交历史。
  • 维护 ADR 架构决策记录和发布流程。
  • 集成语义化版本控制和发布自动化。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。
  • docs-and-changelogs 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Documentation and Changelogs

Generate and maintain project documentation including changelogs, architectural decision records, and product requirement documents.

Overview

To manage project documentation effectively:

  1. Generate changelogs from git commit history using Conventional Commits
  2. Maintain CHANGELOG.md with semantic versioning
  3. Create architectural decision records (ADR) for significant decisions
  4. Scaffold product requirement documents (PRD) for new features
  5. Automate documentation updates as part of release process

Changelog Generation

To generate changelogs from Conventional Commits:

  1. Parse git commit history for conventional commit messages
  2. Categorize commits by type (feat, fix, chore, docs, etc.)
  3. Group by version/release using git tags
  4. Format according to Keep a Changelog standards
  5. Append to existing CHANGELOG.md or create new file

Use scripts/generate_changelog.py to automate changelog generation from commit history.

Conventional Commits Format

Follow this commit message structure:

<type>[optional scope]: <description>

[optional body]

[optional footer(s)]

Types:

  • feat: New feature
  • fix: Bug fix
  • docs: Documentation changes
  • style: Code style changes (formatting, semicolons, etc.)
  • refactor: Code refactoring without feature changes
  • perf: Performance improvements
  • test: Adding or updating tests
  • chore: Maintenance tasks
  • ci: CI/CD changes

Breaking Changes:

  • Add BREAKING CHANGE: in footer or ! after type
  • Example: feat!: redesign entity schema structure

CHANGELOG.md Maintenance

To maintain changelog file:

  1. Structure with sections: Unreleased, versioned releases
  2. Use semantic versioning (MAJOR.MINOR.PATCH)
  3. Group changes by category (Added, Changed, Deprecated, Removed, Fixed, Security)
  4. Include links to commits and pull requests
  5. Add release dates in ISO format (YYYY-MM-DD)

Consult references/changelog-format.md for detailed formatting guidelines and examples.

Architectural Decision Records (ADR)

To create architectural decision records:

  1. Use scripts/create_adr.py to scaffold new ADR file
  2. Number ADRs sequentially (0001-title.md, 0002-title.md)
  3. Include standard sections: Context, Decision, Consequences
  4. Document alternatives considered
  5. Reference related ADRs

Use assets/adr-template.md as starting point for new ADRs.

ADR Structure

Standard ADR sections:

  • Title: Short, descriptive name
  • Status: Proposed, Accepted, Deprecated, Superseded
  • Context: What problem are we solving?
  • Decision: What did we decide to do?
  • Consequences: What are the tradeoffs and impacts?
  • Alternatives Considered: What other options were evaluated?

Product Requirement Documents (PRD)

To scaffold product requirement documents:

  1. Use scripts/create_prd.py to generate PRD template
  2. Define problem statement and goals
  3. List functional and non-functional requirements
  4. Include user stories and acceptance criteria
  5. Document technical constraints and dependencies

Reference assets/prd-template.md for comprehensive PRD structure.

PRD Sections

Standard PRD components:

  • Overview: High-level description
  • Problem Statement: What problem are we solving?
  • Goals and Non-Goals: Scope definition
  • User Stories: Who, what, why format
  • Requirements: Functional and non-functional
  • Design Considerations: UI/UX, architecture
  • Success Metrics: How to measure success
  • Timeline: Development phases

Implementation Steps

Generate Changelog from Commits

To generate changelog:

  1. Collect Commits python scripts/generate_changelog.py --since v1.0.0
  2. Categorize Changes

- Parse commit messages for conventional commit types - Extract breaking changes - Group by scope if present

  1. Format Output

- Generate markdown with appropriate headings - Link to commits and PRs - Add version header with date

  1. Update CHANGELOG.md

- Prepend new version section - Maintain existing content - Update "Unreleased" section

Create New ADR

To document architectural decision:

  1. Generate ADR File python scripts/create_adr.py "use postgresql for entity storage"
  2. Fill Template

- Document context and constraints - Explain decision rationale - List consequences and tradeoffs

  1. Review and Commit

- Get team feedback - Update status to "Accepted" - Link from main architecture docs

Scaffold New PRD

To create product requirements:

  1. Generate PRD Template python scripts/create_prd.py "timeline visualization feature"
  2. Complete Sections

- Define problem and goals - Write user stories - List requirements

  1. Review with Stakeholders

- Get product team input - Validate technical feasibility - Refine scope and requirements

Automation

To automate documentation updates:

Release Workflow Integration

Add to .github/workflows/release.yml:

- name: Generate changelog
  run: python scripts/generate_changelog.py --output CHANGELOG.md

- name: Commit changelog
  run: |
    git config user.name github-actions
    git config user.email github-actions@github.com
    git add CHANGELOG.md
    git commit -m "docs: update changelog for ${{ github.ref_name }}"

Pre-commit Hook

Add to .git/hooks/commit-msg:

#!/bin/bash
# Validate conventional commit format
python scripts/validate_commit_msg.py "$1"

Documentation Structure

Organize project documentation:

docs/
├── CHANGELOG.md           # Version history
├── ADR/                   # Architectural decisions
│   ├── 0001-use-nextjs.md
│   └── 0002-database-choice.md
├── PRD/                   # Product requirements
│   ├── timeline-feature.md
│   └── entity-relationships.md
└── api/                   # API documentation
    └── endpoints.md

Best Practices

Changelog

  • Write for users, not developers
  • Use present tense ("Add" not "Added")
  • Link to relevant issues/PRs
  • Highlight breaking changes prominently
  • Keep entries concise and clear

ADR

  • Write when decision is made, not after
  • Document alternatives considered
  • Be honest about tradeoffs
  • Update status if decision changes
  • Link related ADRs

PRD

  • Start with user needs, not solutions
  • Include success metrics
  • Define scope clearly (goals and non-goals)
  • Get stakeholder buy-in early
  • Update as requirements evolve

Version Management

To manage semantic versioning:

  1. MAJOR: Breaking changes (incompatible API changes)
  2. MINOR: New features (backward-compatible)
  3. PATCH: Bug fixes (backward-compatible)

Use scripts/bump_version.py to update version across package.json, changelog, and tags.

Release Notes

To generate release notes:

  1. Extract relevant changelog section
  2. Add highlights and notable changes
  3. Include upgrade instructions if needed
  4. Link to full changelog
  5. Publish to GitHub releases

Use scripts/generate_release_notes.py to create formatted release notes from changelog.

Troubleshooting

Common issues:

  • Commits Not Categorized: Ensure commits follow Conventional Commits format
  • Missing Version: Tag releases in git with semantic version numbers
  • Duplicate Entries: Check for merge conflicts in CHANGELOG.md
  • Broken Links: Verify commit SHAs and PR numbers are correct

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.93%
按下载量换算39

Claude

30.2%
按下载量换算34

Cursor

17.93%
按下载量换算20

Gemini CLI

8.79%
按下载量换算10

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills