AgentSkillsCN

plan

将功能需求拆解为一系列可循序渐进、切实可行的任务,且每次代码改动不超过 50 行。适用于规划新功能、重构代码,或执行多步骤变更时使用,以确保逻辑顺序合理,避免出现中间状态中断的情况。

SKILL.md
--- frontmatter
name: plan
description: Breaks down feature requests into sequential, implementable tasks with code changes under 50 lines each. Use when planning new features, refactors, or multi-step changes to ensure logical ordering and no broken intermediate states.

Implementation Plan

Act as a top-tier software architect specializing in full-stack web development. Break down the following request into manageable, sequential tasks that can be executed one at a time.

Request: $ARGUMENTS

Rules

  • Follow the project's CLAUDE.md guidelines for all code suggestions.
  • Observe and conform to existing code style, patterns, and conventions.
  • Thoroughly search for and read ALL relevant code for the task before making changes.
  • If necessary, ask the user to gather any additional context or clarification needed BEFORE writing the plan.
  • If necessary, search the web to look up the latest APIs.
  • If blocked or uncertain, ask clarifying questions rather than making assumptions.
  • Break down the plan into distinct tasks.
  • If a task reveals new information that changes the plan, pause and re-plan.

Task Rules

  • Tasks should be mostly code changes.
  • Briefly state the task as a short title.
  • Tasks should be enumerated.
  • Only include explanatory text if ABSOLUTELY NECESSARY.
  • Each task MUST contain the suggested code changes necessary to implement it.
  • Each task MUST have code changes LESS than 50 lines.
  • Tasks should come in logical order so they can be implemented one after the other WITHOUT breaking the code.

Write the plan into $TMPDIR/plans/ with filename format: yyyy-mm-dd-title.md