Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问clear审计未展示

plan-phases计划阶段

Agent Skill

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

总安装

539

周安装

22

GitHub Stars

公开资料未说明

下载量

174
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

AgentSkills.tonpx skills
npx skills add charlesjones-dev/claude-code-plugins-dev --skill "plan-phases"

简介

plan-phases 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词快速定位候选结果时使用。

  • 它支持基于任务场景或来源线索的信息聚合与过滤,适用于研究准备和资料整理场景。
  • 通过 npx skills add 命令从指定仓库安装并调用相关检索逻辑。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

name
plan-phases
description
Use when creating implementation plans, phase planning documents, breaking features into phases, or when /workflow-plan-phases command is invoked. Provides methodology for context-efficient phase sizing and dependency analysis.

Phase Planning Skill

This skill provides methodology for creating implementation plans that are optimized for sub-agent execution, with properly sized phases that respect context window constraints.

Overview

A good phase plan:

  1. Breaks work into independently executable chunks
  2. Sizes phases to fit within sub-agent context budgets
  3. Minimizes dependencies between phases where possible
  4. Provides clear acceptance criteria for verification
  5. Uses whole number phases only (no 1.1, 1.2 sub-phases)

Step 1: Gather Requirements (Always Ask Questions)

Never skip this step. Even if the description seems complete, clarifying questions:

  • Reveal implicit assumptions
  • Uncover edge cases
  • Establish scope boundaries
  • Identify existing constraints

Question Categories

Scope & Boundaries

  • What's explicitly OUT of scope?
  • Is this greenfield or integrating with existing code?
  • Are there existing patterns/conventions to follow?
  • What's the target completion state? MVP or production-ready?

Technical Context

  • What's the tech stack? (language, framework, database)
  • Are there existing models/services this builds on?
  • What authentication/authorization exists?
  • Are there performance requirements?

Integration Points

  • What external services/APIs are involved?
  • Are there existing interfaces to conform to?
  • What other systems will consume this?
  • Are there upstream dependencies not yet built?

User Experience

  • Who are the users? (end users, admins, developers, APIs)
  • What's the primary workflow/happy path?
  • What error states need handling?
  • Are there accessibility requirements?

Constraints

  • Security requirements? (OWASP, compliance, data sensitivity)
  • Testing requirements? (coverage, E2E, specific frameworks)
  • Documentation requirements?
  • Deployment constraints?

Question Presentation Format

Present 3-5 targeted questions based on the description:

Before I create the implementation plan, I have a few questions:

1. **Existing Code**: Is this a new feature in an existing codebase, or greenfield?
   If existing, what patterns should I follow?

2. **Auth Context**: You mentioned user roles - is there an existing auth system
   to integrate with, or is that part of this work?

3. **Data Layer**: What database are you using? Are there existing models
   this relates to?

4. **Scope Boundary**: Should this include the admin UI for managing X,
   or just the core functionality?

5. **Testing**: What level of test coverage do you need? Unit only,
   or integration/E2E as well?

Wait for answers before proceeding.


Step 2: Phase Sizing Guidelines

Context Budget Per Phase

Target each phase to consume 30-50k tokens of sub-agent context:

  • ~10k tokens: Phase spec + project context (CLAUDE.md, conventions)
  • ~15-25k tokens: File reads and code analysis
  • ~10-15k tokens: Implementation work and verification

Sizing Heuristics

RIGHT-SIZED Phase (~30-50k tokens):

  • Creates/modifies 2-5 files
  • Implements 1-2 closely related features
  • Can be verified with a clear test or check
  • Completes in one sub-agent session without compacting

TOO LARGE Phase (>60k tokens - split it):

  • Creates/modifies 6+ files
  • Implements multiple unrelated features
  • Requires reading large portions of codebase
  • Description exceeds ~500 words
  • Contains words like "and also", "as well as", "plus"

TOO SMALL Phase (<15k tokens - combine it):

  • Single file change
  • Config-only changes
  • Simple additions with no logic
  • Could be done in 5 minutes manually

Splitting Strategy

When a phase is too large, split by:

  1. Layer: Separate data model, business logic, API, UI
  2. Entity: One phase per core entity/resource
  3. Operation: Separate CRUD operations if complex
  4. Concern: Separate core logic from error handling, logging, etc.

Example - Too Large:

Phase 1: Build user management with registration, login, profile
editing, password reset, email verification, and admin user listing

Split Into:

Phase 1: User model and registration endpoint
Phase 2: Login and session management
Phase 3: Password reset flow
Phase 4: Email verification
Phase 5: Profile editing
Phase 6: Admin user listing

Step 3: Dependency Planning

Dependency Types to Track

Hard Dependencies (must complete first):

  • Schema/model that other phases import
  • Auth middleware other phases use
  • Shared utilities or helpers
  • Base classes being extended

Soft Dependencies (preferred order, but parallelizable):

  • Related features that share patterns
  • Test setup that other tests use
  • Documentation that references implementation

No Dependencies (fully parallel):

  • Isolated features
  • Different layers of same feature (if interfaces defined upfront)
  • Independent utilities

Minimizing Dependencies

Strategies to reduce coupling between phases:

  1. Define interfaces early: First phase exports types/interfaces,

later phases implement against them

  1. Stub dependencies: Phase can stub what it needs, later phase

replaces stub with real implementation

  1. Feature flags: Phases can merge independently, enable via flag
  1. Vertical slices: Each phase is a thin vertical slice through all

layers rather than horizontal layers


Step 4: Plan Document Structure

File Location

docs/plans/{feature-name}.md

Slugify the feature name:

  • "User Authentication System" -> user-authentication-system.md
  • "API Rate Limiting" -> api-rate-limiting.md

Document Template

# {Feature Name} Implementation Plan

## Overview
{2-3 sentence summary of what this plan delivers}

## Goals
- {Primary goal}
- {Secondary goal}
- {Tertiary goal}

## Non-Goals (Out of Scope)
- {Explicit exclusion 1}
- {Explicit exclusion 2}

## Technical Context
- **Stack**: {language, framework, database}
- **Existing Code**: {relevant existing modules/patterns}
- **Integration Points**: {external services, APIs}

---

## Phase 1: {Phase Name}

### Objective
{One sentence describing what this phase accomplishes}

### Specification
{Detailed description of the work. Include:}
- What to create/modify
- Specific requirements
- Edge cases to handle
- Error handling expectations

### Files to Create/Modify
- `path/to/file.ts` - {purpose}
- `path/to/other.ts` - {purpose}

### Acceptance Criteria
- [ ] {Verifiable criterion 1}
- [ ] {Verifiable criterion 2}
- [ ] {Verifiable criterion 3}

### Dependencies
- **Requires**: {None | Phase X}
- **Blocks**: {Phase Y, Phase Z}

### Estimated Scope
- Files: {2-5}
- Complexity: {Low | Medium | High}

---

## Phase 2: {Phase Name}

{Same structure as Phase 1}

---

## Execution Strategy

### Dependency Graph

Phase 1 --+-- Phase 3 | Phase 2 --+ | Phase 4 <-+-- Phase 5


### Recommended Execution
- **Parallel Group 1**: Phase 1, Phase 2
- **Sequential**: Phase 3 (after Phase 1)
- **Parallel Group 2**: Phase 4, Phase 5 (after Phase 3)

---

## Verification Checklist

After all phases complete:
- [ ] {Integration verification 1}
- [ ] {Integration verification 2}
- [ ] {End-to-end test}

## Open Questions

- {Any unresolved decisions to revisit}

Step 5: Phase Writing Guidelines

Phase Names

Use action-oriented names:

Good:
- "Create User Model and Repository"
- "Implement JWT Authentication"
- "Add Rate Limiting Middleware"
- "Build Password Reset Flow"

Bad:
- "User Stuff"
- "Part 1"
- "Backend Work"
- "Misc Improvements"

Specification Writing

Be specific enough that a sub-agent can implement without guessing:

Vague:
"Add user authentication"

Specific:
"Create POST /api/auth/login endpoint that:
- Accepts { email, password } body
- Validates against User model
- Returns JWT token with 24h expiry on success
- Returns 401 with { error: 'Invalid credentials' } on failure
- Rate limits to 5 attempts per 15 minutes per IP
- Logs failed attempts with IP and email (not password)"

Acceptance Criteria

Write testable criteria:

Not Testable:
- "Works correctly"
- "Handles errors"
- "Is secure"

Testable:
- "POST /api/users returns 201 with user object (excluding password)"
- "Invalid email format returns 400 with validation error"
- "Passwords are hashed with bcrypt cost factor 12"
- "JWT tokens expire after 24 hours"

Anti-Patterns to Avoid

No Sub-Phases

Wrong:
Phase 1: Setup
  Phase 1.1: Database schema
  Phase 1.2: Model classes
  Phase 1.3: Repository layer

Right:
Phase 1: Database Schema and Migrations
Phase 2: User Model and Repository
Phase 3: Authentication Service

No Kitchen Sink Phases

Wrong:
Phase 3: Implement all remaining features including search,
filtering, pagination, sorting, export, and batch operations

Right:
Phase 3: List Endpoint with Pagination
Phase 4: Search and Filtering
Phase 5: Sorting Options
Phase 6: Export Functionality
Phase 7: Batch Operations

No Vague Phases

Wrong:
Phase 2: Handle edge cases and fix bugs

Right:
Phase 2: Input Validation and Error Handling
- Validate email format, password strength
- Handle duplicate email registration
- Return structured error responses

No Dependency Spaghetti

Wrong:
Phase 1 depends on Phase 3
Phase 3 depends on Phase 2
Phase 2 depends on Phase 4
Phase 4 depends on Phase 1  (circular!)

Right:
Phase 1: Foundation (no dependencies)
Phase 2: Core Logic (depends on 1)
Phase 3: Extended Features (depends on 2)
Phase 4: Polish and Edge Cases (depends on 3)

Final Checklist

Before delivering plan:

  • [ ] Asked clarifying questions and incorporated answers
  • [ ] Each phase is 30-50k tokens of work (2-5 files)
  • [ ] No sub-phases (whole numbers only)
  • [ ] Every phase has clear acceptance criteria
  • [ ] Dependencies are explicit and acyclic
  • [ ] Specifications are detailed enough to implement without guessing
  • [ ] File saved to docs/plans/{feature-name}.md

IMPORTANT: Planning Only — Do Not Implement

This skill is for planning only. After creating the plan, STOP.

Do NOT:

  • Start implementing any phases
  • Write any code
  • Create any files other than the plan document
  • Begin execution automatically

After the plan is complete:

  1. Present the plan document to the user
  2. Ask if they want to make any revisions
  3. Inform them to use /workflow-implement-phases or the implement-phases skill when ready to execute

The user decides when to proceed with implementation.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

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

平台分布

OpenCode

27.93%
按下载量换算49

Claude Code

23.58%
按下载量换算41

windsurf

19.04%
按下载量换算33

trae

12.34%
按下载量换算21

Codex

8.82%
按下载量换算15

Antigravity

3.11%
按下载量换算5

安全审计

暂无安全审计结果可展示。

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills