Token导航 LogoToken导航TokenDH.com
前端设计操作浏览器github未标认证来源可访问许可证需确认审计通过

prepare-plan-for-review准备计划供审查

Agent Skill

prepare-plan-for-review 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

242

周安装

10

GitHub Stars

1

下载量

79
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/skinnyandbald/fish-skills --skill prepare-plan-for-review

简介

prepare-plan-for-review 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理时使用。

  • 适用于前端设计类任务,可结合来源仓库、安装命令和原始 README 继续核验具体用法。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需确认权限范围和维护状态。
  • 安装前建议确认是否会触发联网、命令执行或文件读写等操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Generate Plan Peer Review Prompt

Step 1: Resolve the plan path

If $ARGUMENTS contains a path, resolve it to its absolute path and skip the interactive selection below.

If no argument was provided, auto-detect plan candidates and present an interactive selection:

  1. Detect candidates (run these in parallel):

- Check git diff --name-only for recently modified plan/doc files - Check git log --oneline -5 --diff-filter=AM -- 'docs/plans/**/*.md' for recently added/modified plans - Look for plan files/directories matching docs/plans/**/*.md - Check if a plan file was recently read or discussed in this session

  1. ALWAYS present an AskUserQuestion multiple-choice UI with up to 4 detected candidates. Never just ask a text question — always use the interactive chip UI. Example: AskUserQuestion(questions: [{question: "Which plan do you want to review?", header: "Plan", options: [{label: "phase-15-transcript-import/", description: "Modified 2 mins ago — 8 files"}, {label: "phase-14-streaming.md", description: "Modified 3 days ago"}, {label: "phase-13-host-notes.md", description: "Modified 1 week ago"}], multiSelect: false}]) The user can always select "Other" (built into AskUserQuestion) to type a custom path.
  2. If zero candidates are found, still use AskUserQuestion with 2 common locations as options: options: [{label: "docs/plans/", description: "Browse the plans directory"}, {label: "Browse recent files", description: "Show recently modified.md files"}]

After selection, resolve the chosen path:

  • If it's a file, use the absolute file path directly.
  • If it's a directory, use the absolute directory path with a trailing /. The model will read all files in it — no need to enumerate individual files.
  • If the path is relative, resolve it to absolute.

Verify the path exists.

Step 2: Load or detect the project's tech stack

Check for cached stack profile first: Read .claude/stack-profile.md in the project root. If it exists, use it directly — skip detection entirely.

If no cache exists, detect the stack by reading package.json, CLAUDE.md, README.md, and config files (tsconfig.json, next.config.*, biome.json, etc.) to identify:

  • Framework (e.g. Next.js 16, Remix, Express, FastAPI, Rails)
  • Language (e.g. TypeScript 5.9, Python 3.12)
  • Database (e.g. Supabase/PostgreSQL, Prisma, Drizzle, MongoDB)
  • API layer (e.g. tRPC, REST, GraphQL)
  • Auth (e.g. Supabase Auth, Auth.js, Clerk)
  • Validation (e.g. Zod, Yup, io-ts)
  • Testing (e.g. Vitest, Jest, Playwright, agent-browser)
  • Linting/Formatting (e.g. Biome, ESLint+Prettier)
  • UI (e.g. Tailwind, Radix, shadcn/ui, MUI)
  • Key patterns (e.g. RSC, Server Actions, App Router)

Then save the result to .claude/stack-profile.md with this format:

# Stack Profile
<!-- Auto-generated by /prepare-plan-for-review. Edit to customize. -->

## Tech Stack
Next.js 16, TypeScript 5.9, tRPC 11, Supabase, Zod 4, Vitest, Tailwind 4

## Analysis Scope
- Backend: tRPC procedures, Supabase database operations, auth flows
- Frontend: React Server Components, Client Components, form validation with Zod
- Integration: End-to-end type safety, API contract validation

## Best Practices
- TypeScript strict mode compliance (no 'any' types)
- Server Component usage prioritized over Client Components
- tRPC end-to-end type safety implementation
- Zod schema validation in both client and server
- Supabase RLS policies and migration best practices

## Analysis Format
- Use TypeScript code examples matching the project's patterns
- Reference specific files: `src/server/api/routers/*.ts`, `src/app/*/page.tsx`
- Include test file examples: `__tests__/*`, `*.test.ts`
- Provide before/after code comparisons where applicable

Tell the user the profile was saved and can be edited at .claude/stack-profile.md if they want to tweak it.

Use the detected/cached values to fill in all placeholders below.

Step 3: Output the prompt

Your output MUST start with a line containing ONLY three backticks, then the prompt content, then end with a line containing ONLY three backticks. Like this:


This is critical — the user needs to see the literal backtick fences to know where to copy from and to.

Here is the template to fill in and output:

You are an AI development consultant specializing in Test-Driven Development implementation. Conduct a comprehensive end-to-end TDD implementation analysis of this proposed plan:

TECH STACK: <TECH STACK — one-liner, e.g. "Next.js 16, TypeScript 5.9, tRPC 11, Supabase, Zod 4, Vitest, Tailwind 4">

ANALYSIS SCOPE: <ANALYSIS SCOPE — 3-5 bullet points derived from the detected stack, e.g.:

  • Backend: tRPC procedures, Supabase database operations, auth flows
  • Frontend: React Server Components, Client Components, form validation with Zod
  • Integration: End-to-end type safety, API contract validation>

REQUIRED DELIVERABLES:

  1. Test Coverage Assessment (30-40% of analysis):

- Unit tests: procedures, utility functions, validation schemas - Integration tests: Database operations, auth flows - E2E tests: Complete user journeys - Coverage gaps with specific file/function references

  1. TDD Cycle Compliance Review (25-30% of analysis):

- Red phase: Failing tests written first with clear assertions - Green phase: Minimal code to pass tests - Refactor phase: Code improvement while maintaining test pass - Evidence of proper cycle adherence per feature

  1. Stack Best Practices Validation (25-30% of analysis):

<BEST PRACTICES — 4-6 bullet points specific to detected stack, e.g.: - TypeScript strict mode compliance (no 'any' types) - Server Component usage prioritized over Client Components - tRPC end-to-end type safety implementation - Zod schema validation in both client and server - Supabase RLS policies and migration best practices>

  1. Actionable Recommendations (15-20% of analysis):

- Specific code examples for missing tests - Implementation steps for TDD cycle improvements - Technology-specific optimization suggestions

ANALYSIS FORMAT: <ANALYSIS FORMAT — 4-5 bullet points with file path patterns from the actual project, e.g.:

  • Use TypeScript code examples matching the project's patterns
  • Reference specific files: src/server/api/routers/*.ts, src/app/*/page.tsx
  • Include test file examples: __tests__/*, *.test.ts
  • Provide before/after code comparisons where applicable>
  • DO NOT test the actual implemented codebase, you're purely giving feedback on the proposed plan

Plan: <FILE PATH TO PLAN>

SUCCESS CRITERIA:

  • 90%+ test coverage on critical paths
  • Complete Red-Green-Refactor cycle evidence
  • Zero TypeScript 'any' types in production code
  • End-to-end type safety from database to UI

**IMPORTANT:** Replace ALL angle-bracket placeholders with real values. The output must be a clean, ready-to-copy prompt with no placeholders remaining.

After outputting the code block, tell the user it's ready to copy into Cursor.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.53%
按下载量换算29

Claude

28.41%
按下载量换算22

Cursor

20.6%
按下载量换算16

Gemini CLI

9.4%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

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

来源信息

继续浏览同类 Skills