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

review-plan审查计划

Agent Skill

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

总安装

210

周安装

9

GitHub Stars

9

下载量

73
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/florianbuetow/claude-code --skill review-plan

简介

用于查找、检索和筛选相关信息。review-plan 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

  • 适合根据关键词快速定位候选结果。
  • 可结合来源仓库继续核验具体用法。
  • 安装前建议确认权限和维护状态。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。
  • 注意是否会触发联网或文件读写。

SKILL.md

Security Plan Review

Analyze an implementation plan before code exists. Identify security gaps, implicit trust assumptions, missing threat considerations, and architectural risks while changes are still cheap. This is the most cost-effective point in the development lifecycle to catch security issues -- fixing a design flaw before coding costs 10-100x less than fixing it in production.

Supported Flags

Read ../../shared/schemas/flags.md for the full flag specification.

FlagPlan Review Behavior
--scope planDefault. Reads the implementation plan content.
--scope file:<path>Review a plan written to a specific file.
--depth quickCheck for top 5 most common plan-level security gaps only.
--depth standardFull security review against all checklist items.
--depth deepStandard + trace data flows described in the plan, model trust boundaries.
--depth expertDeep + STRIDE-per-component on the planned architecture, attack tree sketches.
--formatDefault text. Use md for structured report with Mermaid diagrams.

Why This Skill Exists

Most security tools analyze code that already exists. By then, architectural decisions are baked in and expensive to change. This skill shifts security left to the plan phase where:

  • Architecture can be restructured without rewriting code.
  • Auth/authz models can be designed correctly from the start.
  • Data flow paths can be secured before they're implemented.
  • Third-party integration risks can be evaluated before dependencies are added.
  • Compliance requirements can be built in rather than bolted on.

Workflow

Step 1: Obtain the Plan

  1. If --scope plan (default): read the implementation plan from the current planning context. This is typically the plan approved via ExitPlanMode in Claude Code, or a plan provided by the user.
  2. If --scope file:<path>: read the specified file.
  3. If the user pastes or describes a plan inline, use that content directly.
  4. If no plan is found, ask the user to provide or point to the plan.

Step 2: Understand the Plan

Before reviewing for security, build a mental model:

  1. Goal: What is being built or changed?
  2. Components: What new components, services, or modules are planned?
  3. Data: What data will be created, read, updated, or deleted?
  4. Users: Who will interact with the new functionality?
  5. Dependencies: What external services, libraries, or APIs will be used?
  6. Infrastructure: What deployment targets, networks, or storage are involved?

Step 3: Security Review Checklist

Work through every item. For each concern found, record it as a finding.

Authentication and Authorization

  1. Does the plan specify who can access each new endpoint or feature?
  2. Are there features that assume "only internal users" without enforcing it?
  3. Is there a clear auth model (JWT, session, API key) or is auth unmentioned?
  4. Are role/permission checks planned for sensitive operations?
  5. If an admin panel or privileged feature is planned, how is access controlled?

Data Security

  1. Does the plan identify what data is sensitive (PII, credentials, financial)?
  2. Is encryption at rest and in transit addressed for sensitive data?
  3. Are data retention and deletion requirements considered?
  4. If user input is accepted, is validation and sanitization mentioned?
  5. Are database queries planned with parameterization or ORM usage?

Trust Boundaries

  1. Does the plan distinguish between trusted and untrusted inputs?
  2. Are there service-to-service calls that assume mutual trust without verification?
  3. If third-party APIs are called, is response validation planned?
  4. Are webhook endpoints planned with signature verification?
  5. Is there a clear boundary between public and authenticated functionality?

Architectural Risks

  1. Does the plan introduce new attack surface (new endpoints, protocols, integrations)?
  2. Are there single points of failure for security controls?
  3. Is error handling mentioned, and does it avoid leaking sensitive information?
  4. Are logging and monitoring planned for security-relevant operations?
  5. If file uploads are planned, are size limits, type validation, and storage isolation mentioned?

Third-Party and Supply Chain

  1. Are new dependencies being added? Are they well-maintained and audited?
  2. Do planned third-party integrations require sharing sensitive data?
  3. Is there a plan for handling third-party service outages or compromises?
  4. Are API keys and secrets managed through environment variables or a vault?

Implicit Assumptions

  1. What security assumptions does the plan make without stating them?
  2. Does the plan assume network-level security that may not exist?
  3. Are there race conditions possible in the planned operations?
  4. Does the plan assume sequential execution where concurrent access is possible?
  5. Are there "we'll add security later" gaps?

Step 4: Risk Assessment

For each identified concern, assess:

  1. Likelihood: How likely is this to be exploited if left unaddressed?
  2. Impact: What is the worst-case outcome?
  3. Cost to fix now: How much plan revision is needed?
  4. Cost to fix later: How much code rewrite if caught post-implementation?

Step 5: Generate Recommendations

For each concern, produce an actionable recommendation:

  • Concrete: "Add JWT validation middleware to the /api/admin routes" not "consider authentication."
  • Proportional: Match the recommendation to the application's risk profile.
  • Ordered: Present recommendations in priority order (highest risk first).
  • Constructive: Frame as improvements to the plan, not criticisms.

Step 6: Report

Output the plan review with findings and recommendations.

Output Format

Finding ID prefix: PLAN (e.g., PLAN-001).

## Security Plan Review

### Plan Summary
[1-2 sentence summary of what the plan proposes]

### Security Assessment: [PASS | CONCERNS | SIGNIFICANT GAPS]

### Findings

#### PLAN-001: [Title] -- Severity: HIGH
Category: [Auth | Data | Trust Boundary | Architecture | Supply Chain | Assumption]
Concern: [What is missing or risky in the plan]
Risk: [What could go wrong if this ships as-is]
Recommendation: [Specific change to the plan]
Cost to fix now: [Minimal | Moderate | Significant]
Cost to fix later: [Moderate | Significant | Architectural rewrite]

#### PLAN-002: ...

### Plan Strengths
[Security aspects the plan handles well -- acknowledge good design]

### Recommended Plan Additions
[Bullet list of specific items to add to the plan before coding begins]

### Trust Boundary Diagram (--depth deep)
[Mermaid diagram of planned architecture with trust boundaries marked]

Findings follow ../../shared/schemas/findings.md with:

  • metadata.tool: "review-plan"
  • metadata.framework: depends on invoking context
  • metadata.category: "plan-review"
  • references.cwe: Most relevant CWE for the architectural weakness

Severity Guidelines for Plan Findings

SeverityCriteria
criticalPlan has no authentication model for sensitive features, stores credentials in plaintext by design, or exposes PII without encryption
highMissing authorization checks on privileged operations, no input validation strategy, trust boundary violations in the architecture
mediumIncomplete error handling strategy, missing rate limiting, logging gaps for security events
lowMinor hardening opportunities, defense-in-depth suggestions, style and convention issues

Pragmatism Notes

  • Plans are naturally incomplete. Don't flag every missing detail -- focus on security-relevant gaps that would be costly to fix after implementation.
  • A plan for an internal CLI tool needs different security scrutiny than a public-facing API. Calibrate expectations to the threat model.
  • Acknowledge what the plan does well. Pure criticism is demoralizing and less likely to be acted upon.
  • When a plan says "we'll use standard auth" without specifics, flag it as needing clarification rather than assuming the worst.
  • Plans for prototypes and MVPs may intentionally defer security. Note the deferred items but respect the stated intent.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.75%
按下载量换算27

Claude

33.16%
按下载量换算24

Cursor

18.19%
按下载量换算13

Gemini CLI

9.83%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

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

来源信息

继续浏览同类 Skills