Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问许可证需确认审计通过

pavlo-commit-oriented-planning巴甫洛承诺导向规划

Agent Skill

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

总安装

269

周安装

11

GitHub Stars

公开资料未说明

下载量

86
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/pavloglushko/ai-skills --skill pavlo-commit-oriented-planning

简介

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理。
  • 通过 npx skills add 命令从指定仓库安装,需确认权限和维护状态。
  • 使用前建议核验是否会触发联网、命令执行或文件读写操作。
  • 可结合原始 README 进一步了解具体用法和功能边界。

SKILL.md

Skill: Step-Oriented Planning

Framework for breaking down a task into logically independent, testable steps. Each step represents a single cohesive unit of work that can stand alone — all tests pass after applying it, and it results in a single git commit.

When to Use

When planning a complex feature, refactoring, or multi-step task. Helps ensure:

  • Clear communication (each step has a clear purpose)
  • Easier code review (reviewers understand intent per step)
  • Safer rollback (a broken step can be reverted independently)
  • Better git history (clear cause-and-effect, no intermingled concerns)

Principles

  1. One logical unit per step: Each step should address a single concern — one feature, one refactoring, one set of tests, or one documentation update.
  2. Tests pass after every step: After applying a step, the test suite should pass. This enables bisecting and selective reverting.
  3. Independent verification: A code reviewer should be able to understand the step's purpose without context from other steps in the series.
  4. Ordered by dependency: If Step B depends on infrastructure from Step A, list A first.

Planning Process

  1. Break down the task into smaller pieces:

- Infrastructure changes (types, entities, repositories) - Service/business logic changes - Integration into use cases or adapters - Tests for each component - Documentation updates

  1. Group by cohesion:

- Don't mix unrelated changes (e.g., don't add a new feature and refactor unrelated code in one step) - Don't split a logical unit (e.g., a feature + its tests should be one step)

  1. Order by dependency:

- If Step B uses something introduced in Step A, put A first - Abstract types (interfaces) often come before implementations - Domain logic often comes before adapters

  1. Number and name clearly:

- Use format: Step 1:..., Step 2:... - Use a short title describing the one thing this step does - Optional: add a scope (e.g., Step 3: [domain/services] Add X validation)

  1. Estimate scope:

- Small steps (~50–150 lines changed) are easier to review - Complex steps may be larger but should still address a single concept

  1. Cross-reference the ticket:

- Where the ticket provides detailed specifications, pseudocode, or code drafts (e.g., an implementation sketch, an ABC signature, a helper function body), add an explicit cross-reference in the step description pointing to the exact ticket section (e.g., "PROJ-42_ticket.md R2, code block 'Implementation Sketch'"). - The plan must be self-sufficient for step ordering and scope, but it must not duplicate large code blocks from the ticket. Instead, reference them so the implementer knows where to look. - Every step that implements a ticket requirement with non-trivial specification detail should include at least one such reference.

  1. Self-verify and auto-fix (see Plan Self-Verification below):

- Run the verification checklist against the draft plan - Fix every found issue directly in the plan file - Only present the plan to the user after verification passes

Plan Self-Verification

After producing the initial draft plan, before presenting it to the user, run through the following checklist automatically. Fix every issue found directly in the plan. Do not ask the user for permission to fix — just fix and note what changed.

Checklist

Logical issues

  • No circular dependencies — Step B must not require something introduced in Step C if C comes after B. Fix by reordering steps.
  • No broken-test steps — after every step, all tests must pass. If a step introduces code whose tests live in a later step, either merge the tests into the same step or ensure the code is unreachable / untested-but-passing until the test step.
  • No split logical units — a feature and its direct tests should be in the same step unless the test step is explicitly a bulk test step covering multiple features.
  • No vague or mixed-concern steps — each step title must name one specific change. If a step description lists unrelated items, split it.
  • Correct layer ordering — domain steps before application steps, application steps before adapter steps. Flag and reorder any violation.

Ticket consistency

  • All In Scope items are covered — every item in the ticket's ## Scope → In Scope section must map to at least one step. Flag any uncovered scope item and add a step for it.
  • No Out of Scope items are planned — if a step description implements something listed under ## Scope → Out of Scope, remove or revise it.
  • Requirements are fully addressed — every ### R<N> section in the ticket must be traceable to at least one step. Flag gaps and add steps.
  • Acceptance Criteria are traceable — every checkbox in ## Acceptance Criteria must be achievable by the steps as planned. Flag any criterion that no step addresses.
  • Documentation step is always last — every plan must end with an "Update documentation" step. This step updates whatever documentation is relevant in the repository (README, API docs, inline docs, etc.). It must always be the final step in the plan, even if the ticket does not explicitly mention docs.

After Fixing

Append a short ## Verification Notes section at the bottom of the plan file listing what was changed during self-verification (e.g., "Reordered steps 3 and 4 to fix dependency order", "Added Step 7 to cover R8 — Activation-Interval Coverage Test"). If nothing needed fixing, write "No issues found."

Example Structure

## Plan: Add new feature X

### Step 1: [domain/entities] Define Foo entity
- Add `Foo` immutable Pydantic model with fields a, b, c

### Step 2: [domain/services] Add FooService business logic
- Add stateless `FooService.process(foo)` method
- Pure domain logic, no dependencies on adapters

### Step 3: [application/use_cases] Add ProcessFooUseCase
- Orchestrate domain service with repository
- Inject `FooService` and `FooRepository`

### Step 4: [adapters/outbound] Implement FooRepository
- In-memory dict implementation for storage
- Register in DI container

### Step 5: [tests] Add comprehensive test suite
- Domain tests for FooService
- Application tests for ProcessFooUseCase (with mocks)
- Adapter tests for FooRepository

### Step 6: [docs] Update documentation
- Update relevant repository documentation
  (README, API docs, inline docs, etc.)
Note: The documentation step is always the last step in every plan, regardless of whether the ticket explicitly requires it.

Benefits

  • Easier code review: Reviewers see one logical change at a time
  • Safer merging: Each step is independently testable and reversible
  • Better blame history: git blame shows intent per line, not side-effects from unrelated changes
  • Incremental CI: CI can run tests after each step, catching issues early
  • Flexible rebasing: You can reorder, squash, or cherry-pick commits more easily

Anti-Patterns to Avoid

  • ❌ One mega-step with mixed concerns (feature + refactoring + tests)
  • ❌ Steps that break tests (even if "fixed in the next step")
  • ❌ Splitting a logical unit across steps for no reason
  • ❌ Vague step titles ("WIP", "cleanup", "fix stuff")
  • ❌ Circular dependencies (Step A depends on B, B depends on A)
  • ❌ Including Jira ticket metadata JSON blocks (ticket, epic, type, priority, labels, components, story_points, sprint, etc.) in the plan. The plan is about steps, not ticket bookkeeping. Omit any such JSON metadata entirely.

Real-World Example

See examples/E1_PR2_plan.md for a complete plan reference. Read it before generating a new plan to match the style, detail level, and structure.

Related Skills

  • Step-by-Step Execution: Guides how to execute the plan
  • Commit Rewriter: Can improve commit messages after execution; expects Step X: prefix for plan-mapped commits.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

39.4%
按下载量换算34

Claude

27.23%
按下载量换算23

Cursor

18.24%
按下载量换算16

Gemini CLI

8.99%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills