Pdd Code Reviewer logo

Pdd Code Reviewer

Community
wonderslife
pdd-code-reviewer

Code review Skill under PDD framework, verifying whether feature implementation meets development specifications and acceptance criteria. Automatically triggered after feature implementation or manually invoked. 支持中文触发:代码审查、代码评审、审查代码、检查代码、PDD代码审查。

Overview

Publisherwonderslife
Repositorypdd-skills
Skill namepdd-code-reviewer
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 Code Reviewer 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-code-reviewer
  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-code-reviewer .claude/skills/pdd-code-reviewer
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Pdd Code Reviewer 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 Code Reviewer 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 Code Reviewer 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.

Code Review - Verify whether feature implementation meets development specifications

Input:

  • Code files
  • Development specifications (spec.md)
  • Acceptance criteria (checklist.md)

Output:

  • Review report (docs/reviews/review-{timestamp}.md)
  • Issue list (issues)

Version History

VersionDateChanges
2.12026-03-22Added collaboration with expert-code-quality: review first then analyze, quality issues do not block
2.02026-03-21Added architect review invocation, integrated software-architect / system-architect
1.0EarlyInitial version

1. Skill Integration

1.1 Architect Review

When architecture issues are discovered during code review, invoke architect skills as needed:

Architect SkillTrigger ConditionService Content
software-architectArchitecture deviation, interface design issues discoveredArchitecture recommendations, design patterns
system-architectSystem architecture issues discoveredSystem architecture review

1.2 Expert Consultation

When technical issues are discovered during code review, invoke expert-xxx as needed:

Expert SkillTrigger ConditionService Content
expert-code-qualityCode smells, refactoring needs discoveredRefactoring solutions, design patterns
expert-ruoyiRuoYi framework usage issues discoveredFramework best practices
expert-mysqlSQL issues discoveredOptimization recommendations

1.3 Invocation Conditions

Must perform basic review:

  • All code files must undergo basic review
  • Verify implementation completeness against specifications

Invoke architects as needed:

  • Module boundaries unclear discovered
  • Interface design deviation discovered
  • Architecture pattern issues discovered

Invoke experts as needed:

  • Code quality issues discovered
  • Framework usage issues discovered
  • Database design issues discovered

2. Review Dimensions

2.1 Design Consistency

  • Whether code implementation is consistent with specification description
  • Whether interface paths conform to specification definition
  • Whether request/response structures conform to specifications
  • Whether business logic follows specification definition

2.2 Code Quality

  • Code readability
  • Naming conventions
  • Error handling completeness
  • Comment quality

2.3 Security

  • Parameter validation
  • SQL injection protection
  • XSS protection
  • Permission validation

2.4 Performance

  • Database query efficiency
  • Loop processing optimization
  • Cache usage

2.5 Business Logic

  • State transition correctness
  • Business rule execution
  • Exception handling

3. Issue Classification

3.1 CRITICAL - Must Fix

  • Feature implementation severely deviates from specifications
  • Core business process has errors
  • Severe security vulnerabilities
  • Data consistency issues

3.2 WARNING - Recommended to Fix

  • Code readability issues
  • Incomplete error handling
  • Potential performance issues
  • Non-compliance with coding standards

3.3 SUGGESTION - Optional Optimization

  • Code optimization suggestions
  • Refactoring suggestions
  • Best practice recommendations

4. Process Steps

Step 1: Collect Code Files

Collect code files to be reviewed:

  • Backend code: Controller, Service, Mapper, Domain
  • Frontend code: Vue components, API interfaces
  • Database scripts: SQL files

Step 2: Read Development Specifications

Read specification definitions from dev-specs/FP-{number}/spec.md.

Step 3: Execute Basic Review

Review against specifications item by item:

a. Interface Review

  • Whether interface path is correct
  • Whether request method is correct
  • Whether parameter handling is complete
  • Whether response structure matches

b. Business Logic Review

  • Whether processing flow is correct
  • Whether state transitions are complete
  • Whether validation rules are executed

c. Data Model Review

  • Whether field mapping is correct
  • Whether type definitions are consistent
  • Whether audit fields are complete

Step 4: Execute Code Quality Review

Invoke expert-code-quality (if code quality issues discovered):

  • Code smell detection
  • Refactoring suggestions
  • Design pattern recommendations

Step 5: Architecture Deviation Check

Invoke software-architect (if architecture issues discovered):

  • Module boundary check
  • Interface design check
  • Architecture pattern check

Step 6: Generate Review Report

Output review report to docs/reviews/review-{timestamp}.md:

markdown
# Code Review Report

## Basic Information
| Item | Content |
|------|------|
| Feature Point | FP-XXX-NNN |
| Review Date | {date} |
| Reviewer | AI |
| Code Files | [...files...] |

## Review Results

### Passed Items
| Review Item | Status | Description |
|--------|------|------|
| Interface Design | ✓ | Conforms to specifications |
| ... | ... | ... |

### CRITICAL Issues
| No. | Issue Description | File | Recommendation |
|------|---------|------|------|
| 1 | ... | file.java | Fix solution |

### WARNING Issues
| No. | Issue Description | File | Recommendation |
|------|---------|------|------|
| 1 | ... | file.java | Optimization suggestion |

### SUGGESTION Issues
| No. | Issue Description | File | Recommendation |
|------|---------|------|------|
| 1 | ... | file.java | Refactoring suggestion |

## Architecture Review (if any)
### software-architect Review Comments
### system-architect Review Comments

## Conclusion
- [ ] Passed review
- [ ] Requires fix and re-review

Step 7: Output Issue List

Return issue list for fixing:

json
{
  "critical": [...],
  "warning": [...],
  "suggestion": [...]
}

5. Architecture Review Process

pdd-code-reviewer discovers architecture issues
    │
    ├─► Determine architecture issue type
    │       │
    │       ├── Software architecture issues
    │       │       │
    │       │       ▼
    │       │   software-architect consultation
    │       │       │
    │       │       ▼
    │       │   Return architecture recommendations
    │       │
    │       └── System architecture issues
    │               │
    │               ▼
    │           system-architect consultation
    │               │
    │               ▼
    │           Return system recommendations
    │
    └─► Integrate into review report

5.1 software-architect Invocation Example

Trigger condition: Module boundaries unclear discovered
Invoke: software-architect
Input:
  - Problem description: Module A depends on Module C, violating layering principles
  - Related code: [code snippet]
  - Existing architecture: [module relationship diagram]

Return:
  - Architecture issue analysis
  - Refactoring recommendations
  - Design pattern recommendations

5.2 system-architect Invocation Example

Trigger condition: System scalability issues discovered
Invoke: system-architect
Input:
  - Problem description: Current architecture cannot support future multi-tenant expansion
  - Existing architecture: [architecture diagram]
  - Expansion requirements: Support 100+ tenants

Return:
  - Architecture evaluation
  - Evolution roadmap
  - Technical decision recommendations

6. Guardrails

  • Must review against specifications item by item
  • Issues must accurately reference related code
  • CRITICAL issues must be fixed before passing
  • Review reports must completely record all issues
  • Architecture issues must consult architect skills
  • Code quality issues must consult expert-code-quality

7. Collaboration with expert-code-quality

7.1 Responsibility Boundaries

SkillPositioningCore ResponsibilityBlocking
pdd-code-reviewerProcess compliance reviewVerify whether code implements specification requirementsCritical issues block
expert-code-qualityCode quality deep analysisIdentify code smells, recommend design patterns, refactoring suggestionsDoes not block process

7.2 Collaboration Process

Code implementation completed
    │
    ▼
┌─────────────────────────────────┐
│   pdd-code-reviewer             │
│   (Compliance review)           │
│                                 │
│   - Verify specification implementation │
│   - Check interface consistency  │
│   - Verify business rules        │
└─────────────────────────────────┘
    │
    ├── Has Critical issues → Return to pdd-implement-feature for fixing
    │
    └── No Critical issues
            │
            ▼
    ┌─────────────────────────────────┐
    │   expert-code-quality           │
    │   (Quality deep analysis)       │
    │                                 │
    │   - Code smell detection        │
    │   - Design pattern recommendations │
    │   - Refactoring suggestions     │
    └─────────────────────────────────┘
            │
            ▼
    ┌─────────────────────────────────┐
    │   Generate quality improvement tasks │
    │   (improvement-tasks.md)        │
    │                                 │
    │   - Does not block current process │
    │   - Record to future optimization list │
    └─────────────────────────────────┘
            │
            ▼
        Enter pdd-verify-feature

7.3 Issue Handling Strategy

Issue SourceLevelBlockingHandling Method
pdd-code-reviewerCritical✅ BlocksMust fix before continuing
pdd-code-reviewerWarning❌ Does not blockRecord, recommend fixing
pdd-code-reviewerSuggestion❌ Does not blockRecord, optional optimization
expert-code-qualityAny level❌ Does not blockRecord to quality improvement list

7.4 Quality Improvement Task Handling

  • Timing: Process uniformly after all feature points in module are completed
  • Output file: dev-specs/FP-{module}-{number}/improvement-tasks.md
  • Process: Batch refactoring → Design pattern application → Code optimization → Re-verification

8. Collaboration with Other Skills

Collaborative SkillCollaboration MethodInput DataExpected Output
software-architectConsultationArchitecture issuesArchitecture recommendations
system-architectConsultationSystem issuesSystem recommendations
expert-code-qualityConsultationCode issuesRefactoring solutions
expert-ruoyiConsultationFramework issuesBest practices
pdd-implement-featureLoopIssue listFixed code
pdd-verify-featureSequentialCode passed reviewAcceptance report

Frequently asked questions

What does the Pdd Code Reviewer AI skill do?

Code review Skill under PDD framework, verifying whether feature implementation meets development specifications and acceptance criteria. Automatically triggered after feature implementation or manually invoked. 支持中文触发:代码审查、代码评审、审查代码、检查代码、PDD代码审查。

Why use Pdd Code Reviewer on TypingMind?

Because you install it once and use it with any model. Pdd Code Reviewer 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 Code Reviewer in TypingMind?

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

Which AI models can use Pdd Code Reviewer?

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 Code Reviewer?

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

Is the Pdd Code Reviewer 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 👇