plan

GitHub

在用户明确要求时,基于仓库现有代码和文档创建结构化的实施计划。包括确立上下文、证据决策、生成安全文件名及撰写包含目标、范围、垂直切片等内容的计划文件。

.claude/skills/plan/SKILL.md stella/stella

Trigger Scenarios

用户明确要求制定实施计划 需要记录决策和可执行步骤

Install

npx skills add stella/stella --skill plan -g -y
More Options

Non-standard path

npx skills add https://github.com/stella/stella/tree/main/.claude/skills/plan -g -y

Use without installing

npx skills use stella/stella@plan

指定 Agent (Claude Code)

npx skills add stella/stella --skill plan -a claude-code -g -y

安装 repo 全部 skill

npx skills add stella/stella --all -g -y

预览 repo 内 skill

npx skills add stella/stella --list

SKILL.md

Frontmatter
{
    "name": "plan",
    "description": "Create a concise, evidence-backed implementation plan in the repository planning area when the user explicitly asks for a plan.",
    "argument-hint": "[plan slug or task]"
}

Plan

Create an implementation plan only when the user explicitly requests one. A plan records decisions and executable slices; it is not a substitute for inspecting the repository.

1. Establish the Planning Context

Read applicable repository instructions and the existing planning system. Prefer the repository's established location and format. When present, inspect:

  • .agents/ARCHITECTURE.md
  • .agents/GOALS.md
  • .agents/STATUS.md
  • recent related plans
  • the code, tests, schemas, and configuration the task would change

Use $ARGUMENTS as a short slug when provided; otherwise derive one from the task.

Do not create a second planning system. Use .agents/plans/ only when it is already established or the repository clearly adopts the shared convention. If no planning area exists and the repository does not adopt this convention, ask the user where to save the plan before creating a new directory.

2. Resolve Decisions With Evidence

Trace the current behavior through real entry points and boundaries. Record facts separately from proposals. Ask about a materially different product, security, migration, or compatibility choice only when repository evidence cannot resolve it. Do not pause for discoverable implementation details.

Prefer vertical slices that leave the repository working after each slice when the implementation shape is sufficiently settled. Otherwise plan outcomes and contracts without inventing files or symbols. Identify ownership boundaries, data contracts, invalid states, rollout risks, and generated artifacts explicitly.

Before proposing a new helper, module, or schema, check the repository's ownership map (docs/module-ownership.md where one exists) and the existing packages for the capability. Name the owner the slice extends, or state why a second implementation is correct.

3. Create a Collision-Safe File

Follow the repository's existing naming scheme when one exists and is safe for concurrent worktrees. Otherwise use:

YYYYMMDD-HHMMSS-<slug>-<short-unique-suffix>.md

Use UTC for the timestamp. Create the file exclusively and retry with a new suffix on collision. Never overwrite an existing plan. Do not derive a global sequential number from a directory listing: concurrent worktrees can choose the same number.

4. Write the Plan

Use only sections that carry information:

# Plan: [Feature]

## Goal

What outcome changes, for whom, and why.

## Current State

Relevant behavior, entry points, constraints, and evidence.

## Decisions

- **Decision**: choice, alternatives considered, and why they were rejected.

## Scope

In scope and intentionally out of scope.

## Vertical Slices

1. End-to-end slice with real files, boundaries, and a verifiable outcome.

## Contracts and Invariants

Types, schemas, authorization, compatibility, idempotency, and failure behavior.

## Verification

Focused checks, integration coverage, and observable acceptance criteria.

## Rollout and Recovery

Migration, sequencing, monitoring, rollback, or "Not applicable".

## Open Questions

Only unresolved decisions that can change the plan.

Name concrete files and symbols only where repository evidence and settled implementation decisions support them. Avoid pseudocode unless a contract would otherwise remain ambiguous. Keep the plan concise enough to stay useful during implementation.

Report the created path and any decision that still needs the user.

Version History

  • 7b52e43 Current 2026-09-09 03:28

Same Skill Collection

.agents/skills/click-around/SKILL.md
.agents/skills/conventions-ai/SKILL.md
.agents/skills/conventions-db/SKILL.md
.agents/skills/conventions-i18n/SKILL.md
.agents/skills/conventions-ingestion/SKILL.md
.agents/skills/conventions-mcp/SKILL.md
.agents/skills/conventions-perf/SKILL.md
.agents/skills/conventions-scale/SKILL.md
.agents/skills/conventions-security/SKILL.md
.agents/skills/conventions-use-effect/SKILL.md
.agents/skills/conventions-ux/SKILL.md
.agents/skills/dev/SKILL.md
.agents/skills/finish-pr/SKILL.md
.agents/skills/new-handler/SKILL.md
.agents/skills/open-pr/SKILL.md
.agents/skills/plan/SKILL.md
.agents/skills/product-deep-think/SKILL.md
.agents/skills/product-think/SKILL.md
.agents/skills/rabbit-round/SKILL.md
.agents/skills/regression-hunt/SKILL.md
.agents/skills/security-audit/SKILL.md
.agents/skills/update-deps/SKILL.md
.ai/local-skills/click-around/SKILL.md
.ai/local-skills/conventions-ai/SKILL.md
.ai/local-skills/conventions-db/SKILL.md
.ai/local-skills/conventions-i18n/SKILL.md
.ai/local-skills/conventions-ingestion/SKILL.md
.ai/local-skills/conventions-mcp/SKILL.md
.ai/local-skills/conventions-perf/SKILL.md
.ai/local-skills/conventions-scale/SKILL.md
.ai/local-skills/conventions-security/SKILL.md
.ai/local-skills/conventions-use-effect/SKILL.md
.ai/local-skills/conventions-ux/SKILL.md
.ai/local-skills/dev/SKILL.md
.ai/local-skills/new-handler/SKILL.md
.ai/local-skills/open-pr/SKILL.md
.ai/local-skills/plan/SKILL.md
.ai/local-skills/product-deep-think/SKILL.md
.ai/local-skills/rabbit-round/SKILL.md
.ai/local-skills/security-audit/SKILL.md
.ai/local-skills/update-deps/SKILL.md
.claude/skills/conventions-ai/SKILL.md
.claude/skills/conventions-db/SKILL.md
.claude/skills/conventions-i18n/SKILL.md
.claude/skills/conventions-ingestion/SKILL.md
.claude/skills/conventions-mcp/SKILL.md
.claude/skills/conventions-perf/SKILL.md
.claude/skills/conventions-scale/SKILL.md
.claude/skills/conventions-security/SKILL.md
.claude/skills/conventions-use-effect/SKILL.md

Metadata

Files
0
Version
7b52e43
Hash
e218a67c
Indexed
2026-09-09 03:28

ホーム - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-09 22:07
浙ICP备14020137号-1 $お客様$