plan

GitHub

用于在.agents/plans/目录下为功能或任务创建新计划文件。需读取架构文档,确定序号,调研代码库后生成包含目标、设计决策、范围及实施细节的Markdown计划,并与用户确认。

.ai/local-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/.ai/local-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 new plan file in `.agents\/plans\/` for a feature or task."
}

Create Plan

Create a new plan file in .agents/plans/ for a feature or task.

Arguments

$ARGUMENTS — A short slug for the plan (kebab-case), e.g. "full-text-search" or "matter-lifecycle". If empty, determine an appropriate slug from the conversation context.

Instructions

  1. Read context — read .agents/ARCHITECTURE.md and .agents/GOALS.md to understand the current system and priorities.

  2. Determine the next plan number — list existing plans and increment:

    ls .agents/plans/
    

    Use the next sequential number (e.g., if 001-matters.md exists, use 002).

  3. Research the feature — before writing the plan, explore the codebase to understand what exists, what needs to change, and what the implications are. Read relevant handler files, schema, routes, and components.

  4. Write the plan to .agents/plans/{number}-{slug}.md with this structure:

    # Plan: [Feature Name]
    
    Date: YYYY-MM-DD
    
    ## Goal
    
    What are we building and why? 1-3 sentences.
    
    ## Design Decisions
    
    Key choices and why we made them. Focus on _what_ and _why_,
    not prescriptive implementation details.
    
    - **Decision 1**: Why this approach over alternatives.
    - **Decision 2**: Why this approach over alternatives.
    
    ## Scope
    
    **In scope:**
    
    - ...
    
    **Out of scope:**
    
    - ...
    
    ## Implementation
    
    Where the code lives and what changes. Be specific about files.
    
    - `apps/api/src/...` — what changes here
    - `apps/web/src/...` — what changes here
    - DB schema changes (if any)
    
    ## Test Cases
    
    What needs to be tested.
    
    ## Open Questions
    
    Unresolved decisions (remove section when all resolved).
    
  5. Plan guidelines:

    • Focus on what and why, avoid prescriptive how
    • Consider both API layers: backend handlers and frontend routes
    • Note DB schema changes explicitly — they affect migrations
    • Flag security implications (ethical walls, workspace isolation, auth) per the security audit checklist
    • Keep it concise — a plan is a thinking tool, not documentation
  6. Confirm with the user — show the plan and ask if they want to adjust anything before saving.

Version History

  • 85792bd Current 2026-07-24 16:12

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-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-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/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
packages/cli/skills/stella-cli/SKILL.md
packages/skills/blueprints/answer-from-sources/SKILL.md
packages/skills/blueprints/blank/SKILL.md
packages/skills/blueprints/check-against-rules/SKILL.md
packages/skills/blueprints/intake-to-draft/SKILL.md
.agents/skills/conventions-testing/SKILL.md
.ai/local-skills/conventions-testing/SKILL.md

Metadata

Files
0
Version
85792bd
Hash
0b419236
Indexed
2026-07-24 16:12

inicio - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-16 22:27
浙ICP备14020137号-1 $mapa de visitantes$