Pdd doc change

From wonderslife/pdd-skills · View interactive version

Pdd doc change is an AI agent skill from the GitHub repository wonderslife/pdd-skills. Document Change Management skill under PDD framework, managing the modification workflow of development specification documents. Invoked when requirement changes need to update specification documents. 支持中文触发:文档变更、规格变更、需求变更、更新规格、PDD文档变更。

How to use this skill

Skill file

PDD Document Change Management (pdd-doc-change)

Overview

This skill is a document change management component under the PRD-Driven Development (PDD) framework, specifically designed to manage the modification workflow of development specification documents, ensuring systematic, complete, and traceable document changes.

Trigger Scenarios

Automatic Trigger:

Manual Trigger:

Core Capabilities

1. Document Import and Analysis

2. Modification Plan Generation

3. TODO.md Generation

4. Document Modification Execution

5. CHANGELOG.md Maintenance

6. Change Verification and Reconciliation

7. Result Report Generation

Workflow

Receive Modification Request
    ↓
Analyze Change Documents/Requirements
    ↓
Compare with Existing Specification Documents
    ↓
Generate Modification Plan
    ↓
Create TODO.md
    ↓
Execute Document Modifications
    ↓
Update CHANGELOG.md
    ↓
Change Verification
    ↓
All Tasks Completed?
    ├── Yes → Generate Result Report
    └── No → Continue Executing Modifications

Integration with PDD Process

Requirement Change Occurs
    ↓
pdd-doc-change Analyzes Change Impact
    ↓
Determine Specification Documents to Modify
    ↓
Generate Modification Plan and TODO
    ↓
Execute Document Modifications
    ↓
Update CHANGELOG
    ↓
Verify Change Completeness
    ↓
Notify Related Feature Points for Re-verification

Use Cases

  1. Requirement Change Management: Systematically update related specification documents when business requirements change
  2. Version Iteration Update: Synchronous update of specification documents during product version iteration
  3. Issue Fix Recording: Fix errors or omissions in documents based on user feedback
  4. Compliance Adjustment: Adjust specification content according to new regulations or internal policies
  5. Process Optimization: Update specification documents after business process optimization

Operating Standards

Document Naming Conventions

Task Priority Definition

| Priority | Name | Definition | Handling |

| --- | ----- | --------------- | ----- |

| P0 | Urgent and Important | Modifications affecting core business processes or compliance | Execute immediately |

| P1 | Important Not Urgent | Important feature improvements | Complete in short term |

| P2 | Can Optimize | Experience optimization or supplementary explanations | Can be deferred |

Change Log Format

### [Version] - YYYY-MM-DD

#### Added
- New features or document content

#### Changed
- Modified features or content, explain reason for modification

#### Removed
- Removed features or content

#### Fixed
- Fixed issues

Output Templates

TODO.md Template

# Specification Document Modification Task List

## Modification Background
[Brief description of the reason and background for modification]

## Related Feature Points
- FP-XXX-001: Feature point name
- FP-XXX-002: Feature point name

## Task List

### [Task ID] - [Task Name]
- **Priority**: P0/P1/P2
- **Related Document**: [Document path]
- **Modification Content**: [Detailed description]
- **Status**: pending/in_progress/completed
- **Notes**: [Supplementary notes]

Change Completion Report Template

# Specification Document Change Completion Report

## Basic Information
| Item | Content |
|------|---------|
| Change Subject | [Subject name] |
| Change Date | [YYYY-MM-DD] |
| Change Owner | [Owner] |
| Related Requirement | [Requirement ID or description] |

## Completion Status
| Item | Count |
|------|-------|
| Total Tasks | X |
| Completed | Y |
| Completion Rate | Z% |

## Completed Modifications
[List all completed modifications]

## Document Consistency Verification
[Verification result description]

## Affected Feature Points
| Feature Point ID | Feature Point Name | Impact Level | Needs Re-verification |
|----------|-----------|----------|-------------|
| FP-XXX-001 | xxx | High/Medium/Low | Yes/No |

## Follow-up Recommendations
[Improvement suggestions or action items]

Best Practices

  1. Backup Before Modification: Create document backup before executing modifications
  2. Small Steps, Quick Iterations: Break large modifications into multiple small tasks, complete one by one
  3. Timely Recording: Update CHANGELOG immediately after completing each modification
  4. Cross-verification: Perform consistency check between documents after modification
  5. Stakeholder Confirmation: Important modifications need stakeholder confirmation before submission

Notes

  1. Maintain Document Style Consistency: Follow original document structure and style during modification
  2. Avoid Over-Modification: Only modify necessary content, do not change unrelated parts
  3. Terminology Consistency: Ensure consistent terminology usage throughout the document
  4. Link Validity: Update cross-document reference links
  5. Version Compatibility: Consider impact of modifications on other versions

Guardrails

Usage Example

User: /analyze Need to modify the approval process for transfer application

AI: [Invoking pdd-doc-change skill]
    1. Analyze change requirements ✓
    2. Identify affected feature points: FP-ZCCZ1-001, FP-ZCCZ1-002
    3. Generate modification plan...
    4. Create TODO.md

Change analysis complete!
Affected feature points: 2
Documents to modify:
- dev-specs/FP-ZCCZ1-001/spec.md
- dev-specs/FP-ZCCZ1-002/spec.md

Modification plan generated: dev-specs/变更计划.md
TODO list: dev-specs/TODO.md

Start executing modifications?
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.