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

planning规划

Agent Skill

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

总安装

759

周安装

31

GitHub Stars

1

下载量

246
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/pixel-process-ug/superkit-agents --skill planning

简介

planning 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 适用于规划类信息的检索与整理,可结合来源仓库和原始 README 核验具体用法。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需确认权限范围和维护状态。
  • 安装前建议确认是否会触发联网、命令执行或文件读写等操作边界。
  • planning 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Structured Planning

Overview

Structured planning converts vague requirements into approved, documented implementation plans before any code is written. It forces clarifying questions, approach comparison with trade-offs, and explicit user approval — preventing the most common cause of wasted effort: building the wrong thing. Every task, regardless of perceived simplicity, goes through this process.

Announce at start: "I'm using the planning skill to create a structured implementation plan."

Trigger Conditions

  • User requests a new feature, enhancement, or change
  • A bug fix requires more than a one-line change
  • Refactoring work spanning multiple files
  • Any task where the approach is not already documented and approved
  • Transition from brainstorming skill with an approved design
  • /plan command invoked

Phase 1: Context Gathering

Goal: Understand the codebase and existing patterns before asking questions.

  1. Read relevant files, docs, recent commits, and CLAUDE.md
  2. Check memory files for known project context, stack, and conventions
  3. Review existing plans in docs/plans/ for related work
  4. Identify existing patterns the new work should follow
  5. Note technical constraints discovered during exploration

STOP — Do NOT proceed to Phase 2 until:

  • You have explored the relevant parts of the codebase
  • You understand the existing architecture and patterns
  • You have checked memory files for prior decisions

Phase 2: Clarifying Questions

Goal: Eliminate ambiguity by asking targeted questions one at a time.

  1. Ask ONE question per message — never overwhelm with multiple questions
  2. Prefer multiple choice questions when possible
  3. Study the codebase before asking — do not ask what you can discover
  4. Convert vague requirements into specific, testable criteria

Question Category Priority

PriorityCategoryExample Question
1Purpose"What problem does this solve? Who is it for?"
2Success criteria"How will we know it works? What does 'done' look like?"
3Constraints"Are there performance, compatibility, or timeline constraints?"
4Non-goals"What should we explicitly NOT build?"
5Existing patterns"Should we follow the pattern used in X, or is a new approach needed?"
6Edge cases"What should happen when [boundary condition]?"

Question Rules

RuleRationale
One question per messagePrevents cognitive overload
Multiple choice preferredFaster to answer, reduces ambiguity
Research before askingRespect user's time — discover what you can
Testable criteriaVague answers lead to vague implementations

STOP — Do NOT proceed to Phase 3 until:

  • You understand the purpose and success criteria
  • You have identified constraints and non-goals
  • No critical ambiguities remain

Phase 3: Approach Design

Goal: Propose 2-3 concrete approaches with trade-offs and a clear recommendation.

For each approach, include:

SectionContent
Architecture summary2-3 sentences describing the approach
Key filesExact paths to create/modify
DependenciesExternal deps or breaking changes
Trade-offsExplicit pros and cons
Effort estimateNumber of tasks (not hours)
Risk levelLow / Medium / High with explanation

Approach Selection Decision Table

FactorWeightHow to Evaluate
Alignment with existing patternsHighDoes it match current codebase conventions?
SimplicityHighFewest moving parts that meet requirements
TestabilityMediumCan each component be independently tested?
Future extensibilityLowOnly consider if user mentioned future plans
PerformanceVariesOnly if user specified performance constraints

Lead with your recommended approach. Explain why it is the best choice given the constraints. Present alternatives to show you considered the trade-off space.

STOP — Do NOT proceed to Phase 4 until:

  • You have proposed at least 2 approaches
  • Each approach has trade-offs documented
  • You have made a clear recommendation with reasoning

Phase 4: Plan Documentation

Goal: Write a detailed, executable plan document and get explicit approval.

Plan Document Format

# [Feature Name] Implementation Plan

**Goal:** [One sentence]
**Architecture:** [2-3 sentences]
**Approach:** [Which approach was chosen and why]

---

### Task N: [Component Name]

**Files:**
- Create: `exact/path/to/file.ext`
- Modify: `exact/path/to/existing.ext`
- Test: `tests/exact/path/to/test.ext`

**Steps:**
1. Write the failing test
2. Run test to verify it fails
3. Write minimal implementation
4. Run test to verify it passes
5. Commit

**Verification:** [Exact command to verify this task]

Plan Quality Checklist

CriterionCheck
Every task has exact file pathsNo "somewhere in src/"
Every task has a verification commandNo "eyeball it"
Tasks are ordered by dependencyNo forward references
Tasks are 2-5 minutes eachNo "implement the whole module"
TDD steps are explicitRED-GREEN-REFACTOR per task

Save the plan to docs/plans/YYYY-MM-DD-<feature>.md.

STOP — Do NOT proceed to Phase 5 until:

  • Plan document is written and saved
  • Every task has file paths, steps, and verification
  • User has explicitly approved the plan (said "yes", "approved", "go ahead", etc.)

Phase 5: Transition to Execution

Goal: Hand off the approved plan to the appropriate execution skill.

Transition Decision Table

SituationNext SkillRationale
Standard implementation (< 10 tasks)task-managementSequential tracked execution
Large implementation (10+ independent tasks)subagent-driven-developmentParallel execution with review gates
Autonomous development sessionautonomous-loopRalph-style iterative execution
Single focused taskexecuting-plansDirect plan execution

Invoke the chosen skill and pass the plan document path.


Anti-Patterns / Common Mistakes

Anti-PatternWhy It FailsCorrect Approach
"This is too simple to plan"Simple tasks have unexamined assumptionsPlan anyway — the plan can be short
"I already know the approach"Your approach may conflict with project patternsDocument it and get approval
"The user wants it fast"Bad code is slower than planned codePlanning prevents rework
"It's just a bug fix"Bug fixes need root cause analysisPlan the fix, not just the patch
"I'll plan as I go"That is improvising, not planningPlan first, execute second
Asking 5 questions at onceOverwhelms the user, gets vague answersOne question per message
Proposing only 1 approachNo trade-off analysis, may miss better optionsAlways propose 2-3 approaches
Vague file references"Update the tests" — which tests?Exact file paths always
Tasks that take 30+ minutesToo large to track and verifyBreak into 2-5 minute tasks
Starting code before approvalWastes effort if direction changesWait for explicit "yes"

Anti-Rationalization Guards

This applies to EVERY task regardless of perceived simplicity.

Iron Law: NO CODE WITHOUT AN APPROVED PLAN. No exceptions. No "just this small thing." No "it's obvious."

If you catch yourself thinking any of the following, STOP immediately:

  • "Let me just quickly..." — No. Plan first.
  • "This doesn't need a full plan..." — Yes it does. The plan can be brief.
  • "I'll document it after..." — No. Document before.

Subagent Dispatch Opportunities

Task PatternDispatch ToWhen
Independent research tasks during planningAgent tool with subagent_type="Explore"When gathering context from multiple codebase areas
Plan validation across architecture layersAgent tool dispatching planner agentWhen plan covers multiple system boundaries
After plan approval, independent implementation tasksAgent tool (multiple parallel, per dispatching-parallel-agents skill)When plan steps have no dependencies between them

Follow the dispatching-parallel-agents skill protocol when dispatching.


Integration Points

SkillRelationshipWhen
brainstormingUpstream — provides design contextPlanning follows brainstorming
task-managementDownstream — receives approved planStandard execution path
executing-plansDownstream — executes plan directlySingle-task execution
subagent-driven-developmentDownstream — parallel executionLarge independent task sets
autonomous-loopDownstream — iterative executionRalph-style sessions
self-learningBidirectional — informs and learns from planningContext loading and pattern storage
verification-before-completionDownstream — verifies plan completenessBefore claiming plan is done
task-decompositionComplementary — provides WBS for complex plansWhen plan needs hierarchical breakdown

Concrete Examples

Example: Small Bug Fix Plan

# Fix: Login button disabled state not clearing

**Goal:** Fix login button remaining disabled after failed login attempt
**Architecture:** State management bug in LoginForm component
**Approach:** Reset `isSubmitting` state in the catch block of handleSubmit

### Task 1: Write failing test
**Files:** Test: `tests/components/LoginForm.test.tsx`
**Steps:** Write test that submits invalid credentials and verifies button re-enables
**Verification:** `npm test -- --grep "re-enables button after failed login"`

### Task 2: Fix the bug
**Files:** Modify: `src/components/LoginForm.tsx`
**Steps:** Add `setIsSubmitting(false)` to catch block in handleSubmit
**Verification:** `npm test -- --grep "LoginForm"` — all pass

Example: Transition Command

After plan approval:

Plan approved and saved to docs/plans/2026-03-15-login-fix.md.
Invoking task-management skill to begin tracked execution.

Verification Gate

Before claiming the plan is complete, verify:

  1. IDENTIFY: Plan document exists at docs/plans/
  2. RUN: Review plan for completeness against quality checklist
  3. READ: Verify all sections are filled with specific details
  4. VERIFY: User has explicitly approved
  5. CLAIM: Only then transition to implementation

Key Principles

  • DRY — Do not repeat yourself
  • YAGNI — Do not build what is not needed yet
  • TDD — Write tests first when applicable
  • Frequent commits — Small, atomic commits after each task
  • Exact paths — Always specify exact file paths in the plan

Skill Type

RIGID — Follow this process exactly for every implementation task. The phases are sequential and non-negotiable. No code without an approved plan.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.36%
按下载量换算89

Claude

29.85%
按下载量换算73

Cursor

19.53%
按下载量换算48

Gemini CLI

10.43%
按下载量换算26

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

来源信息

继续浏览同类 Skills