Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

platonic-code-review柏拉图式的代码审查

Agent Skill

platonic-code-review 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

408

周安装

17

GitHub Stars

3

下载量

136
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:platonic-code-review(柏拉图式的代码审查)
来源仓库:https://github.com/caesar0301/platonic-coding-skills
仓库路径:skills/platonic-code-review
安装命令:
npx skills add https://github.com/caesar0301/platonic-coding-skills --skill platonic-code-review
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/caesar0301/platonic-coding-skills --skill platonic-code-review

简介

用于查找、检索和筛选相关信息,适合快速定位候选结果。

  • 适用于关键词搜索、任务场景匹配和来源线索筛选等研究检索场景。
  • 通过 npx skills add 命令从 GitHub 仓库安装,需结合原始 README 核验用法。
  • 安装前建议确认权限范围、维护状态及是否会触发联网或文件读写。
  • 可配合来源仓库进一步了解技能的实际功能和限制条件。

SKILL.md

Platonic Code Review

Validate that code implementation is consistent with project specifications and requirements.

When to Use This Skill

Use this skill when you need to:

  • Verify code implementation matches RFC specifications
  • Validate feature completeness against requirements
  • Check consistency between specs and actual code
  • Identify gaps where specs exist but implementation is missing
  • Find discrepancies where code behavior differs from specs
  • Audit compliance with documented design decisions

Keywords: spec compliance, implementation validation, requirement verification, consistency check, gap analysis

What This Skill Does

This is NOT a general code quality reviewer. It specifically focuses on:

Spec-to-Code Consistency: Does the code implement what the specs describe? ✅ Completeness: Are all specified features implemented? ✅ Correctness: Does the implementation match spec requirements? ✅ Gap Identification: What's specified but not implemented? ✅ Discrepancy Detection: Where does code differ from specs?

Default Behavior

By Default: Generates review report without modifying code

  • Creates detailed report of findings
  • Highlights inconsistencies and gaps
  • Provides actionable recommendations
  • Does NOT make code changes automatically

To Modify Code: User must explicitly request code modifications

Review Procedure

The standard review process follows these steps:

Step 1: Understand Specifications

  • Locate and read relevant specification documents

- RFC documents (RFC-NNNN.md convention) - Requirements documents - Design documents - API specifications

  • Extract key requirements and expected behaviors
  • Identify testable criteria

Step 2: Generate Functionality Checklist

Create a comprehensive checklist from specs:

  • List all specified features
  • List all specified behaviors
  • List all API endpoints/interfaces
  • List all data structures
  • List all business rules
  • List all constraints and validations

Step 3: Map Specs to Code

Identify code locations implementing each spec:

  • Find relevant files and modules
  • Map features to implementation
  • Identify entry points and key functions
  • Understand code structure

Step 4: Review Implementation Against Specs

For each checklist item:

  • Status: ✅ Implemented / ⚠️ Partial / ❌ Missing / 🔍 Unclear
  • Consistency: Does implementation match spec?
  • Completeness: Are all aspects implemented?
  • Correctness: Does it work as specified?
  • Evidence: Specific code references

Step 5: Identify Discrepancies

Document inconsistencies:

  • Implementation differs from spec
  • Missing features specified but not implemented
  • Extra features implemented but not specified
  • Incorrect behavior doesn't match spec requirements
  • Incomplete implementation partially done

Step 6: Generate Review Report

Create structured report with:

  • Executive summary
  • Functionality checklist with status
  • Detailed findings (consistent, inconsistent, missing)
  • Code references for each finding
  • Prioritized recommendations
  • Suggested actions (ask user before implementing)

Extended Review Capabilities

Beyond the basic procedure, this skill can:

Validation Levels

Level 1: Basic Compliance

  • Check if major features are implemented
  • Verify core functionality exists

Level 2: Detailed Verification

  • Validate all specified behaviors
  • Check edge cases and error handling
  • Verify data structures and interfaces

Level 3: Comprehensive Audit

  • Deep dive into implementation details
  • Compare algorithms and approaches
  • Validate performance requirements
  • Check all specified constraints

Cross-Reference Analysis

  • Bi-directional Check:

- Specs → Code (what's missing in code?) - Code → Specs (what's not documented?)

  • Dependency Validation:

- Check if dependencies match specs - Verify integration points

  • Version Alignment:

- Ensure code version matches spec version - Track changes across versions

Test Coverage Integration

  • Compare test cases with spec requirements
  • Identify untested specified behaviors
  • Suggest test scenarios based on specs
  • Validate test coverage completeness

Report Format

Reviews generate structured reports:

# Spec-to-Code Review Report

## Summary
- Specifications Reviewed: X
- Code Modules Reviewed: Y
- Consistency Rate: Z%

## Checklist Summary
- ✅ Fully Implemented: A items
- ⚠️ Partially Implemented: B items
- ❌ Not Implemented: C items
- 🔍 Unclear/Needs Investigation: D items

## Critical Inconsistencies
[Items where code contradicts specs]

## Missing Implementations
[Specified features not found in code]

## Extra Implementations
[Code features not in specs]

## Recommendations
[Prioritized actions - ASK USER before modifying code]

Usage Examples

Example 1: Basic Spec Review

Use platonic-code-review to review the implementation of
RFC-0001.md (user authentication) in the src/auth/ directory.
Generate a report showing what's implemented and what's missing.

Example 2: Comprehensive Module Review

Use platonic-code-review to conduct a comprehensive review
of the entire API implementation against all RFCs in ./specs/.
Focus on API endpoints, data structures, and error handling.

Example 3: Feature Completeness Check

Use platonic-code-review to verify that all features
specified in RFC-0005.md (payment processing) are fully
implemented in src/payments/. Generate a detailed checklist.

Example 4: Gap Analysis

Use platonic-code-review to perform a gap analysis between
./specs/ and ./src/, identifying specifications without
implementations and implementations without specifications.

Important Notes

Default: Report Only

⚠️ This skill generates reports by default and does NOT modify code

When inconsistencies are found:

  1. Document the issue in the report
  2. Provide specific code references
  3. Explain the discrepancy
  4. Recommend actions
  5. ASK USER if they want code modifications

When to Modify Code

Only modify code when user explicitly requests:

  • "Fix the inconsistencies you found"
  • "Update the code to match the specs"
  • "Implement the missing features"

Otherwise, default to report generation only.

Integration with Other Skills

Works well with:

  • platonic-specs: Review code against RFCs managed by this skill
  • Documentation skills: Generate docs from review findings
  • Testing skills: Create tests for missing coverage

Dependencies

  • Read access to specification documents (RFCs, requirements, design docs)
  • Read access to source code
  • Understanding of project structure
  • Write access only if user requests code modifications

Best Practices

  1. Start with specs: Always read and understand specs first
  2. Be thorough: Check all specified requirements systematically
  3. Be specific: Provide exact file names, line numbers, and code references
  4. Be objective: Report facts, not opinions
  5. Prioritize findings: Critical issues first, minor ones later
  6. Ask before modifying: Never change code without user consent

See references/REFERENCE.md for detailed review procedures and examples.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.68%
按下载量换算50

Claude

28.78%
按下载量换算39

Cursor

19.55%
按下载量换算27

Gemini CLI

10.83%
按下载量换算15

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills