Token导航 LogoToken导航

Agent Skill · 开发规范

implementation-plan-best-practices(实施计划最佳实践)

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

implementation-plan-best-practices 是开发规范类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在开发规范类的 1,265 个 Skill 里排第 731。

总安装 533周安装 22GitHub Stars 公开资料未说明下载 174核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/validkeys/sherpy --skill implementation-plan-best-practices

这个 Skill 是做什么的

开发规范类 Skill 用来统一代码风格、目录结构和评审口径,产出多为检查清单或改写建议。

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

适用于需要查询项目变更、跟踪 Issue 进展或协助 Pull Request 审查的场景。通过 npx skills add 命令安装,需结合来源 README 核验具体用法。使用前建议检查是否会触发联网、命令执行或文件读写操作。

适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/implementation-plan-best-practices

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/validkeys/sherpy --skill implementation-plan-b…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

implementation-plan-best-practices 怎么安装?

在终端执行 npx skills add https://github.com/validkeys/sherpy --skill implementation-plan-best-practi…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

implementation-plan-best-practices 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

implementation-plan-best-practices 需要什么权限?

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

implementation-plan-best-practices 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

implementation-plan-best-practices 用的人多吗?

公开数据是累计安装 533 次,近一周安装 22 次,下载 174 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

implementation-plan-best-practices 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发规范类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发规范类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
vercel-react-best-practices

Vercel React 最佳实践 · Codex、Claude

8,490,72025,918操作浏览器MIT通过
web-design-guidelines

网页设计指南 · Codex、Claude

6,686,01625,885需要联网MIT有提醒
remotion-best-practices

Remotion 最佳实践 · Codex、Claude

6,505,6323,027操作浏览器MIT有提醒
supabase-postgres-best-practices

Supabase Postgres 最佳实践 · Codex、Claude

3,175,5232,030需要联网MIT通过
next-best-practices

Next.js 最佳实践 · Codex、Claude

1,848,240841操作浏览器MIT通过
implementation-plan-best-practices

实施计划最佳实践 · 本页

533—需要联网未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Implementation Plan Best Practices

Proven best practices for creating implementation plans that prevent drift and maintain alignment with project standards.

Core Principle

Models optimize locally; enforce global constraints with layered verification (prompt → IDE → commit → CI → runtime).

1. Style Anchors

  • Always include 2-3 exemplary files as templates in prompts
  • Reference exact paths and line numbers (e.g., src/auth/login.ts:45-78)
  • Prefer concrete repository examples with code + tests + README
  • Example: examples/style-anchor/pkg/greeter/greeter.go (code), greeter_test.go (tests), README.md (docs)
  • Place anchors early in task instructions to prevent architectural drift

Template:

Style Anchors:
- src/auth/login.ts:45-78 (authentication pattern with proper error handling)
- src/auth/login.test.ts:12-34 (test structure for auth flows)
- src/middleware/validation.ts:15-30 (input validation pattern)

2. Task Sizing

  • Target duration: 30-150 minutes (0.5-2.5 hours)
  • File scope: 1-3 files per task (max 5 with justification)
  • Splitting strategy: tests + scaffolding → minimal implementation → refactor & polish
  • Commit after each small task; revert immediately on drift
  • If task <30m, document rationale or split it

Examples:

  • Small: Fix bug in src/utils/parse.ts — 30-60 mins
  • Medium: Add API endpoint src/server/user.ts with tests — 90-150 mins
  • Large: Migrate auth system — Split into design + 3-5 incremental tasks

3. Affirmative Instructions

  • State permitted actions explicitly (e.g., ONLY use: cobra, go-playground/validator, sqlite)
  • Avoid negative framing ("Don't use X" → "ONLY use: Y, Z")
  • Specify exact file scopes: Touch ONLY: src/api/handlers/user.ts, user.test.ts

4. Tiered Rules

  • Global: User prefs (format, language, length)
  • Project: Persistent rules in CLAUDE.md or .cursor/rules/ (loaded every session)
  • Context-aware: Auto-attached rules per directory or file pattern

5. TDD as Anchor

  • Require TDD checklist: tests → minimal code → more tests → refactor
  • When tests fail: "Revise implementation to pass this test while keeping all previously passing tests. Do not modify the test. Do not add dependencies."
  • Include explicit validation commands:
npm test src/auth/login.test.ts
go test ./pkg/auth -v
pytest tests/test_auth.py -v

6. Prompt Positioning

  • Put critical specs, style anchors, and hard rules at the beginning
  • Reiterate them at the end of prompts
  • Avoid burying requirements in the middle

7. Model Strategies

  • Claude: Use for surgical, minimal-diff edits; request research → plan → implement, minimal diff, no renames, explain each edit; use thinking triggers (think, think hard, ultrathink)
  • GPT: Use for exploratory/greenfield work and code review; ask for tactical plans and side-effect checks

8. Self-Consistency & AI-on-AI Review

  • Generate 3+ implementations (higher temperature), then ask model to pick most consistent
  • Use multi-model review (e.g., Claude writes, GPT/Gemini reviews) to catch subtle issues

9. Drift Handling

Stop & revert immediately if:

  • New dependencies introduced (not in allowed list)
  • Files touched outside specified targets (>3 unexpected files)
  • Linting/type errors cannot be resolved within task scope
  • Tests fail and model proposes changing tests instead of implementation

Immediate actions:

  1. Stop the session
  2. Revert to pre-task state (only if changes produced by agent in this session)
  3. Create incident note in docs/drift-incidents/ with:

- What happened - Files changed unexpectedly - New dependencies proposed - Remediation steps

Allowed deviations:

  • Minor formatting (editorconfig)
  • Whitespace-only edits
  • Single-line refactors within scope and type-checked

Recording learnings:

  • Update .cursor/rules/ or CLAUDE.md with new rules after each session
  • Add to style anchors if new pattern discovered

10. Quality Gates

Pre-commit:

  • make lint with zero warnings
  • make test with all tests passing
  • make typecheck with zero errors

CI gates:

  • Count violations (gofmt, lint, typecheck) and fail if threshold exceeded
  • Run tests with race detection (e.g., go test -race)

Per-task validation:

validation:
  commands:
    - npm run lint
    - npm test src/[module].test.ts
    - npm run typecheck
  expected_output: "All tests passing, 0 lint errors"
  failure_handling: "STOP and report. Do not continue to next task."

11. Layered Verification

  1. Prompt level: Explicit constraints, style anchors, task sizing
  2. IDE level: Linting, type checking, auto-formatting
  3. Commit level: Pre-commit hooks, validation scripts
  4. CI level: Quality gates, test suites, coverage thresholds
  5. Runtime level: Input validation, proper error handling, monitoring

12. Key Learnings from Milestone 0

  • Make templates explicit vs concrete: Include all schema-required top-level fields to avoid validation failures
  • Enforce concrete style anchors early: Include 2-3 concrete anchors (code + tests + README) on every planning task
  • Mark inferred edits: Use assumption: true with rationale for any inferred additions
  • Respect task-sizing constraints: Enforce 30-150m task estimates; split shorter tasks with rationale
  • Keep validation inline: Add validation summary with quality_score, issues, and approval
  • Prefer concrete execution snippets: Add explicit validator commands in instructions
  • Scope implementation rules: Keep implementation-only pattern checks scoped with when: implementation_phase
  • Use repository examples as anchors: Small, well-scoped examples are high-leverage anchors

Task Template Example

task:
  id: t-auth-001
  name: "Add login endpoint with JWT validation"
  estimate_minutes: 90

  files:
    touch_only: [src/api/handlers/auth.ts, src/api/handlers/auth.test.ts]
    modify_only: [src/api/routes.ts]

  style_anchors:
    - {path: src/api/handlers/user.ts, lines: 45-78, pattern: "Handler with proper error handling"}
    - {path: src/api/handlers/user.test.ts, lines: 12-45, pattern: "Test structure for API handlers"}

  constraints:
    dependencies:
      only_use: [jsonwebtoken, express-validator]
    file_scope:
      max_files: 3
      stop_if_exceeded: true

  instructions: |
    ## CRITICAL CONSTRAINTS
    - ONLY modify files listed above
    - ONLY use dependencies: jsonwebtoken, express-validator
    - MUST pass: npm test, npm run lint

    ## Style Anchors
    See src/api/handlers/user.ts:45-78 for handler pattern
    See src/api/handlers/user.test.ts:12-45 for test structure

    ## TDD Checklist
    - [ ] Write failing test for POST /auth/login
    - [ ] Implement minimal handler to pass
    - [ ] Add tests for edge cases
    - [ ] Refactor for clarity

    ## Drift Policy
    STOP if: files touched >3, new dependencies, tests fail

    ## Validation
    npm test src/api/handlers/auth.test.ts && npm run lint && npm run typecheck

  validation:
    commands: [npm test src/api/handlers/auth.test.ts, npm run lint, npm run typecheck]
    expected_output: "All tests passing, 0 errors"
    failure_handling: "STOP. Revise implementation to pass tests."

Quick Practical Checklist

When creating implementation plans:

  1. Create CLAUDE.md or .cursor/rules/ with prompt-level rules
  2. Add 2-3 concrete style anchors to prompts (prefer repository examples)
  3. Rescope tasks to 30m-2.5h and commit per task
  4. Convert negative constraints to affirmative instructions
  5. Enforce linting zero-warnings, pre-commit hooks, and CI gates
  6. Require TDD plans and tests before making changes
  7. Use proper error handling for runtime validation
  8. Include all schema-required fields in generated YAML
  9. Mark inferred additions with assumption: true and rationale
  10. Place critical constraints at beginning AND end of prompts

Common Anti-Patterns

Anti-PatternProblemFix
No style anchorsModel introduces inconsistent patternsAdd 2-3 concrete examples with line numbers
Tasks >2.5 hoursDifficult to review, easy to driftSplit into tests + implementation + refactor
Negative framing"Don't use X" is harder to follow"ONLY use: Y, Z"
Buried rulesModel misses important constraintsPut at beginning AND end
No validation commandsUnclear when task is completeInclude explicit lint/test/typecheck commands
Allowing test modificationTests weakened to pass implementation"Revise implementation, not tests"
No drift policySmall drifts compoundExplicit stop criteria and revert process
No commit checkpointsLarge uncommitted changes hard to debugCommit after each task

Integration with Other Skills

  • implementation-planner: Apply these practices when generating plans
  • implementation-plan-review: Validate plans against these practices
  • business-requirements-interview: Ensure requirements align with these practices
  • technical-requirements-interview: Technical specs should follow these practices

Examples

See examples/ directory for:

  • Well-structured task with all best practices applied
  • Before/after examples showing improvements
  • Common mistakes and how to fix them

平台分布

Codex

37.78%
按下载量换算66

Claude

29.63%
按下载量换算52

Cursor

19.64%
按下载量换算34

Gemini CLI

9.22%
按下载量换算16

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

继续浏览同类 Skills