Pdd Generate Spec logo

Pdd Generate Spec

Community
wonderslife
pdd-generate-spec

Generate development specifications and acceptance criteria based on feature point matrix. Invoke this Skill when users want to generate technical specifications for feature points. 支持中文触发:生成开发规格、生成规格、规格设计、验收标准、PDD规格生成。

Overview

Publisherwonderslife
Repositorypdd-skills
Skill namepdd-generate-spec
Stars
41
Forks
11
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by wonderslife on GitHub. Read the source before you install it.

Installation

Install the Pdd Generate Spec AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/wonderslife/pdd-skills/tree/main/pdd-generate-spec
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/wonderslife/pdd-skills.git /tmp/pdd-skills
mkdir -p .claude/skills
cp -r /tmp/pdd-skills/pdd-generate-spec .claude/skills/pdd-generate-spec
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Pdd Generate Spec in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Pdd Generate Spec on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Pdd Generate Spec is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Specification Generation - Generate development specifications and acceptance criteria based on feature points

Input: Feature Point Matrix (feature-matrix.md)

Output:

  • spec.md (Development Specification)
  • checklist.md (Acceptance Criteria)

Version History

VersionDateChanges
2.12026-03-22Added document system specifications, PDD implementation specification references
2.02026-03-21Added architect consultation process
1.0EarlyInitial version

1. Skill Integration

1.1 Architect Consultation

During the specification generation process, architect skills can be invoked as needed:

Architect SkillInvocation TimingService Content
system-architectTechnology selection, system architectureTechnology stack recommendations, architecture decisions, system structure
software-architectModule division, interface designModule boundaries, interface specifications, design patterns

1.2 Invocation Conditions

Must invoke system-architect:

  • New technology stack introduction
  • System architecture changes
  • Major technical decisions

Must invoke software-architect:

  • Unclear module boundaries
  • Complex interface design
  • Design pattern recommendations needed

2. Process Steps

Step 1: Read Feature Point Matrix

Read the feature point list and details from dev-specs/feature-matrix.md.

Step 2: Determine Technology Stack

Determine the technology stack based on project configuration:

  • Backend: Spring Boot + MyBatis (RuoYi Framework)
  • Frontend: Vue.js + Element UI
  • Database: MySQL

Architecture Consultation (As Needed): If new technology selection is involved, invoke system-architect for recommendations.

Step 3: Module Design

Analyze the modules to which feature points belong:

  • Determine module boundaries
  • Determine module dependencies

Architecture Consultation (As Needed): If module boundaries are unclear, invoke software-architect for recommendations.

Step 4: Generate Specifications for Each Feature Point

Process feature points in priority order:

a. Analyze Feature Point Requirements

  • Business description
  • Pre-conditions/Post-conditions
  • Business rules
  • Test scenarios

b. Design Interfaces

  • Determine interface paths (RESTful style)
  • Determine request methods (GET/POST/PUT/DELETE)
  • Design request parameters
  • Design response structure
  • Define error codes

Interface Naming Conventions:

Operation TypeInterface PathRequest Method
List Query/api/{module}/listGET
Detail Query/api/{module}/{id}GET
Create/api/{module}POST
Update/api/{module}PUT
Delete/api/{module}/{id}DELETE
Approval Operation/api/{module}/approvePOST
Reject Operation/api/{module}/rejectPOST
Terminate Operation/api/{module}/terminatePOST

c. Design Data Model

Data model naming conventions:

TypeNaming ConventionExample
Entity Class{BusinessName}TransferApplication
Primary Keyidid
Creation TimecreateTimecreateTime
Update TimeupdateTimeupdateTime
CreatorcreateBycreateBy
UpdaterupdateByupdateBy
Statusstatusstatus
Delete FlagdelFlagdelFlag

d. Design Business Logic

  • Processing flow
  • Validation rules
  • State transitions
  • Exception handling

Architecture Consultation (As Needed): If business logic is complex, invoke software-architect for design recommendations.

e. Design Test Cases

  • Positive scenarios
  • Exception scenarios
  • Boundary conditions

Step 5: Generate Development Specification Document

Output to dev-specs/FP-{sequence}/spec.md:

markdown
# {Feature Point Name} Development Specification

## Document Information
| Item | Content |
|------|------|
| Specification ID | SPEC-{ModuleNumber}-{FeaturePointSequence} |
| Related Feature Point | FP-XXX-NNN |

## Interface Definition
### Interface 1: {Interface Name}
- Interface Path: `/api/xxx`
- Request Method: POST
- Request Parameters: [...]
- Response Structure: {...}
- Error Codes: [...]

## Data Model
### Entity: {Entity Name}
| Field Name | Type | Required | Description |

## Business Logic
### Processing Flow
### Validation Rules
### State Transitions

## Test Cases
### Positive Scenarios
### Exception Scenarios
### Boundary Conditions

Step 6: Generate Acceptance Criteria Document

Output to dev-specs/FP-{sequence}/checklist.md:

markdown
# {Feature Point Name} Acceptance Criteria

## Document Information
| Item | Content |
|------|------|
| Acceptance Criteria ID | AC-{ModuleNumber}-{FeaturePointSequence} |

## Business Acceptance
| No. | Acceptance Scenario | Expected Result | Verification Method | Status |

## Technical Acceptance
| No. | Acceptance Item | Standard | Status |

## Integration Acceptance
| No. | Acceptance Item | Verification Method | Status |

Step 7: Generate Code Framework (Optional)

For P0 feature points, generate code framework:

  • Backend Controller/Service/Mapper/Domain
  • Frontend Vue components

3. Architecture Consultation Process

pdd-generate-spec starts
    │
    ├─► Identify technology selection needs
    │       │
    │       ▼
    │   system-architect consultation
    │       │
    │       ▼
    │   Return technology stack recommendations
    │
    ├─► Identify module design needs
    │       │
    │       ▼
    │   software-architect consultation
    │       │
    │       ▼
    │   Return module boundary recommendations
    │
    └─► Continue generating specifications

3.1 system-architect Invocation Example

Trigger Condition: Need to introduce new technology stack
Invoke: system-architect
Input:
  - Feature Requirements: Message push functionality
  - Constraints: Need to support multi-channel push
  - Existing Technology Stack: Spring Boot

Return:
  - Technology selection recommendations
  - Architecture Decision Record (ADR)
  - Project structure recommendations

3.2 software-architect Invocation Example

Trigger Condition: Unclear module boundaries
Invoke: software-architect
Input:
  - Feature Requirements: Transfer application and approval module
  - Existing Modules: Asset management base module
  - Complexity: High

Return:
  - Module division plan
  - Interface boundary definition
  - Design pattern recommendations

4. Guardrails

  • Interface design must follow RESTful specifications
  • Data models must include audit fields
  • Business rules must be consistent with PRD
  • Test cases must cover all business rules
  • Architecture decisions must consult architect skills
  • Module design must follow high cohesion and low coupling principles

5. Collaboration with Other Skills

Collaborative SkillCollaboration MethodInput DataExpected Output
system-architectConsultationTechnical requirements, constraintsTechnology selection, architecture decisions
software-architectConsultationModule requirements, interface designModule division, interface specifications
pdd-implement-featureSequentialspec.md, checklist.mdCode implementation
pdd-code-reviewerSequentialCode + specificationsReview report

6. Document System Specifications

This Skill follows the PDD framework document system specifications.

6.1 Output Documents

Document TypeFile NameCore Content
Development Specificationspec.mdInterface design, data model, business logic, technical implementation
Acceptance Criteriachecklist.mdAcceptance items, acceptance conditions, acceptance methods

6.2 Naming Conventions

dev-specs/FP-{ModuleNumber}-{Sequence}/
├── spec.md
└── checklist.md

6.3 Version Management

  • Every document modification must update the change history
  • Record modification date, modifier, and change content

7. PDD Implementation Specification Reference

This Skill follows the PDD framework implementation specifications, see pdd-framework-design.md Chapter 9.

Frequently asked questions

What does the Pdd Generate Spec AI skill do?

Generate development specifications and acceptance criteria based on feature point matrix. Invoke this Skill when users want to generate technical specifications for feature points. 支持中文触发:生成开发规格、生成规格、规格设计、验收标准、PDD规格生成。

Why use Pdd Generate Spec on TypingMind?

Because you install it once and use it with any model. Pdd Generate Spec is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Pdd Generate Spec in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/wonderslife/pdd-skills/tree/main/pdd-generate-spec. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Pdd Generate Spec?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Pdd Generate Spec?

As many as you like. As long as a model supports skills, you can use Pdd Generate Spec with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Pdd Generate Spec AI skill free?

Yes. It is published on GitHub by wonderslife under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇