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

review审查

Agent Skill

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

总安装

240

周安装

10

GitHub Stars

6

下载量

80
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/duc01226/easyplatform --skill review

简介

EasyPlatform标准审查技能确保PR与代码变更的质量与一致性。

  • 采用报告驱动方式逐文件验证逻辑正确性与文档同步情况。
  • 遵循DRY原则与现有项目约定,标记偏离架构的潜在问题。
  • 需配合Git仓库权限访问代码库,不支持私有分支直接审查。
  • 发现缺陷时必须提供行号引用与证据链,拒绝表面化判断。

SKILL.md

Code Review: $ARGUMENTS

Perform a comprehensive code review following EasyPlatform standards.

Summary

Goal: Comprehensive report-driven code review of a PR, file, or branch following EasyPlatform standards.

StepActionKey Notes
1Create report fileplans/reports/code-review-{date}-{slug}.md
2File-by-file reviewRead each file, update report with summary/purpose/issues
3Holistic reviewRe-read report for architecture coherence and layer correctness
4Final findingsCritical issues, high priority, architecture recommendations
Critical Purpose: Ensure quality — no flaws, no bugs, no missing updates, no stale documentation. Every review must verify both code correctness AND documentation accuracy.

Key Principles:

  • Be skeptical. Critical thinking. Everything needs traced proof. — Never accept code at face value; verify claims against actual behavior, trace data flow end-to-end, and demand evidence (file:line references, grep results, runtime confirmation) for every finding
  • Ensure code quality: no flaws, no bugs — Verify correctness of logic, data flow, edge cases, and error handling. Flag anything that could fail at runtime
  • Clean code and DRY — No duplication, clear naming, single responsibility, early returns. Code should be self-documenting
  • Follow existing conventions — Match project patterns, naming style, file organization, and architectural decisions already established in the codebase. Grep for similar implementations before flagging deviations
  • Docs must match code — If changes affect behavior, APIs, or features, verify related docs are updated: feature docs (docs/business-features/), test specs (docs/test-specs/), CHANGELOG, README, architecture docs, and inline code comments. Flag any doc that describes old behavior
  • Build report incrementally -- update after EACH file review
  • Check: architecture compliance, naming, platform patterns, security, performance
  • Logic must be in the LOWEST appropriate layer (Entity > Service > Component)
  • Holistic phase: ask "For each architectural decision, WHY this approach over alternatives? Are there trade-offs to document?"

Review Scope

Target: $ARGUMENTS (can be a PR number, file path, or branch name)

Review Approach (Report-Driven Two-Phase - CRITICAL)

⛔ MANDATORY FIRST: Create Todo Tasks for Review Phases Before starting, call TodoWrite with:

  • [Review Phase 1] Create report file - in_progress
  • [Review Phase 1] Review file-by-file and update report - pending
  • [Review Phase 2] Re-read report for holistic assessment - pending
  • [Review Phase 3] Generate final review findings - pending Update todo status as each phase completes. This ensures review is tracked.

Step 0: Create Report File

  • Create plans/reports/code-review-{date}-{slug}.md
  • Initialize with Scope, Files to Review sections

Phase 1: File-by-File Review (Build Report Incrementally) For EACH file, read and immediately update report with:

  • File path
  • Change Summary: what was modified/added
  • Purpose: why this change exists
  • Issues Found: naming, typing, responsibility, patterns
  • Continue to next file, repeat

Phase 2: Holistic Review (Review the Accumulated Report) After ALL files reviewed, re-read the report to see big picture:

  • Overall technical approach makes sense?
  • Solution architecture coherent as unified plan?
  • New files in correct layers (Domain/Application/Presentation)?
  • Logic in LOWEST appropriate layer?
  • Backend: mapping in Command/DTO (not Handler)?
  • Frontend: constants/columns in Model (not Component)?
  • No duplicated logic across changes?
  • Service boundaries respected?
  • No circular dependencies?

Phase 3: Generate Final Review Result Update report with final sections:

  • Overall Assessment (big picture summary)
  • Critical Issues (must fix before merge)
  • High Priority (should fix)
  • Architecture Recommendations
  • Positive Observations

Review Checklist

1. Architecture Compliance

  • Follows Clean Architecture layers (Domain, Application, Persistence, Service)
  • Uses correct repository pattern (I{Service}RootRepository)
  • CQRS pattern: Command/Query + Handler + Result in ONE file
  • No cross-service direct database access

2. Code Quality

  • Single Responsibility Principle
  • No code duplication (DRY)
  • Appropriate error handling with PlatformValidationResult
  • No magic numbers/strings (extract to named constants)
  • Type annotations on all functions
  • No implicit any types
  • Early returns/guard clauses used

2.5. Naming Conventions

  • Names reveal intent (WHAT not HOW)
  • Specific names, not generic (employeeRecords not data)
  • Methods: Verb + Noun (getEmployee, validateInput)
  • Booleans: is/has/can/should prefix (isActive, hasPermission)
  • No cryptic abbreviations (employeeCount not empCnt)

3. Platform Patterns

  • Uses platform validation fluent API (.And(),.AndAsync())
  • No direct side effects in command handlers (use entity events)
  • DTO mapping in DTO classes, not handlers
  • Static expressions for entity queries

4. Security

  • No hardcoded credentials
  • Proper authorization checks
  • Input validation at boundaries
  • No SQL injection risks

5. Performance

  • No O(n²) complexity (use dictionary for lookups)
  • No N+1 query patterns (batch load related entities)
  • Project only needed properties (don't load all then select one)
  • Pagination for all list queries (never get all without paging)
  • Parallel queries for independent operations
  • Appropriate use of async/await

Output Format

Provide feedback in this format:

Summary: Brief overall assessment

Critical Issues: (Must fix)

  • Issue 1: Description and suggested fix
  • Issue 2: Description and suggested fix

Suggestions: (Nice to have)

  • Suggestion 1
  • Suggestion 2

Positive Notes:

  • What was done well

See Also

See code-review skill for review process guidelines and anti-performative-agreement rules.

IMPORTANT Task Planning Notes

  • Always plan and break many small todo tasks
  • Always add a final review todo task to review the works done at the end to find any fix or enhancement needed

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

32.31%
按下载量换算26

Claude

31.67%
按下载量换算25

Cursor

17.24%
按下载量换算14

Gemini CLI

8.84%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills