‹ 首页

feature-planning

@mhattingpete · 收录于 1 周前 · 上游提交 4 个月前

Break down feature requests into detailed, implementable plans with clear tasks. Use when user requests a new feature, enhancement, or complex change.

适合你,如果经常需要把模糊的功能想法变成清晰的开发任务。

/ 下载安装
feature-planning.skill双击,或拖进 Claude 桌面版 / Cowork,即完成安装↓ .skill↓ .zip
用别的 agent?下载 .zip 解压,把文件夹放进它的技能目录
Claude Code~/.claude/skills/(项目级 .claude/skills/)
Codex CLI~/.codex/skills/
Cursor自动读取上面两处目录
其他工具见其文档的「skills」目录;两个下载是同一份文件,只是名字不同
/ 通过 npx 安装 校验哈希
npx oh-my-skill add mhattingpete/claude-skills-marketplace/feature-planning
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- mhattingpete/claude-skills-marketplace/feature-planning
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify mhattingpete/claude-skills-marketplace/feature-planning
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
644GitHub stars
~734最小装载
~734含声明引用
~3K文本包总量
镜像托管

怎么用

技能原文 SKILL.md作者撰写 · Apache-2.0 · 3fa16a9

Feature Planning

Systematically analyze feature requests and create detailed, actionable implementation plans.

When to Use
  • Requests new feature ("add user authentication", "build dashboard")
  • Asks for enhancements ("improve performance", "add export")
  • Describes complex multi-step changes
  • Explicitly asks for planning ("plan how to implement X")
  • Provides vague requirements needing clarification
Planning Workflow
1. Understand Requirements

Ask clarifying questions:

  • What problem does this solve?
  • Who are the users?
  • Specific technical constraints?
  • What does success look like?

Explore the codebase: Use Task tool with subagent_type='Explore' and thoroughness='medium' to understand:

  • Existing architecture and patterns
  • Similar features to reference
  • Where new code should live
  • What will be affected
2. Analyze & Design

Identify components:

  • Database changes (models, migrations, schemas)
  • Backend logic (API endpoints, business logic, services)
  • Frontend changes (UI, state, routing)
  • Testing requirements
  • Documentation updates

Consider architecture:

  • Follow existing patterns (check CLAUDE.md)
  • Identify reusable components
  • Plan error handling and edge cases
  • Consider performance implications
  • Think about security and validation

Check dependencies:

  • New packages/libraries needed
  • Compatibility with existing stack
  • Configuration changes required
3. Create Implementation Plan

Break feature into discrete, sequential tasks:

## Feature: [Feature Name]

### Overview
[Brief description of what will be built and why]

### Architecture Decisions
- [Key decision 1 and rationale]
- [Key decision 2 and rationale]

### Implementation Tasks

#### Task 1: [Component Name]
- **File**: `path/to/file.py:123`
- **Description**: [What needs to be done]
- **Details**:
  - [Specific requirement 1]
  - [Specific requirement 2]
- **Dependencies**: None (or list task numbers)

#### Task 2: [Component Name]
...

### Testing Strategy
- [What types of tests needed]
- [Critical test cases to cover]

### Integration Points
- [How this connects with existing code]
- [Potential impacts on other features]

Include specific references:

  • File paths with line numbers (src/utils/auth.py:45)
  • Existing patterns to follow
  • Relevant documentation
4. Review Plan with User

Confirm:

  • Does this match expectations?
  • Missing requirements?
  • Adjust priorities or approach?
  • Ready to proceed?
5. Execute with plan-implementer

Launch plan-implementer agent for each task:

Task tool with:
- subagent_type: 'plan-implementer'
- description: 'Implement [task name]'
- prompt: Detailed task description from plan

Execution strategy:

  • Implement sequentially (respect dependencies)
  • Verify each task before next
  • Adjust plan if issues discovered
  • Let test-fixing skill handle failures
  • Let git-pushing skill handle commits
Best Practices

Planning:

  • Start broad, then specific
  • Reference existing code patterns
  • Include file paths and line numbers
  • Think through edge cases upfront
  • Keep tasks focused and atomic

Communication:

  • Explain architectural decisions
  • Highlight trade-offs and alternatives
  • Be explicit about assumptions
  • Provide context for future maintainers

Execution:

  • Implement one task at a time
  • Verify before moving forward
  • Keep user informed
  • Adapt based on discoveries
Integration
  • plan-implementer agent: Receives task specs, implements
  • test-fixing skill: Auto-triggered on test failures
  • git-pushing skill: Triggered for commits
按 Apache-2.0 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。