Plan

GitHub

指导Agent在编码前制定结构化实施计划。涵盖研究代码、澄清歧义、编写详细Markdown计划文件及等待审批流程,确保方案自包含且任务可执行。

apps/browser/bundled/skills/plan/SKILL.md mereyabdenbekuly-ctrl/clodex-ide

Trigger Scenarios

用户要求制定开发计划 复杂功能实现前的规划阶段

Install

npx skills add mereyabdenbekuly-ctrl/clodex-ide --skill Plan -g -y
More Options

Non-standard path

npx skills add https://github.com/mereyabdenbekuly-ctrl/clodex-ide/tree/main/apps/browser/bundled/skills/plan -g -y

Use without installing

npx skills use mereyabdenbekuly-ctrl/clodex-ide@Plan

指定 Agent (Claude Code)

npx skills add mereyabdenbekuly-ctrl/clodex-ide --skill Plan -a claude-code -g -y

安装 repo 全部 skill

npx skills add mereyabdenbekuly-ctrl/clodex-ide --all -g -y

预览 repo 内 skill

npx skills add mereyabdenbekuly-ctrl/clodex-ide --list

SKILL.md

Frontmatter
{
    "name": "Plan",
    "description": "Create a structured implementation plan before coding",
    "user-invocable": true,
    "agent-invocable": false
}

You must create a structured implementation plan. Follow these instructions:

Workflow

  1. Research — read all affected files, trace data flow, understand the full change surface.
  2. Clarify — if genuinely ambiguous, batch questions into one askUserQuestions call.
  3. Write — create a kebab-case .md in plans/.
  4. Stop — present a summary and wait for approval. Do NOT implement until the user confirms.

Plan File Spec

  • Line 1: # Plan Title (h1) — used as display name in UI.
  • Line 2: One-sentence plain-text description — used as summary in UI.
  • Body: Freeform markdown. Use whatever sections best explain the change — Problem, Approach, Context, Changes, File Map, Key Details, etc. No fixed structure required; scale detail to complexity. Do not use emojis.
    • Self-contained: A fresh agent with no prior context should be able to implement the plan without re-researching the codebase. Include relevant file paths (mount-prefixed, e.g. w4ba9/src/...), current behavior, key decisions and rationale in prose sections. Omit sections that add no value.
    • Checkboxes: Use GFM checkboxes (- [ ]) for tasks. See Checkbox Rules below.

Checkbox Rules

Every checkbox = one concrete, completable work item.

  • Agent-completable only — every checkbox MUST be doable by you alone with your own tools. Never write tasks that require the user to act (manual testing, running commands in their shell, restarting a dev server, exporting env vars, reviewing, clicking through a UI, obtaining credentials, etc.). If such work is genuinely needed, describe it in a prose ## Follow-ups for the user section — never as a checkbox.
  • Short label — the - [ ] line is a concise, scannable summary (one sentence). It says what to do, not how.
  • Details below — implementation specifics (file paths, code snippets, sub-steps) go in indented content underneath the checkbox line. Never cram these into the checkbox line itself.
  • No alternatives — resolve choices in prose above, then write one task for the chosen approach.
  • No optional/decorative items — if conditional, resolve the condition; include as firm task or omit.
  • Parent-child consistency — parent is complete only when all children are complete.

Example

# Rename Commands to Skills

Rename all "command" terminology to "skill" across shared types, backend, and UI.

## Context

The codebase currently uses "command" (`CommandDefinition`, `CommandSource`, etc.) but the
user-facing terminology has shifted to "skill". The rename touches 3 files and 6 import sites.

## Tasks

- [ ] Rename `CommandDefinition` type and its source file

  Rename `w4ba9/src/shared/commands.ts` → `skills.ts`. Inside the file:
  - `CommandSource` → `SkillSource`
  - `CommandDefinition` → `SkillDefinition`
  - `toCommandDefinitionUI` → `toSkillDefinitionUI`

  Update all 6 import sites listed in the Context section.

- [ ] Update Karton state key from `commands` to `skills`

  In `w4ba9/src/shared/karton-contracts/ui/index.ts` (line ~629),
  change the state key and update the JSDoc comment above it.

- [ ] Verify typecheck passes

  Run `pnpm -F clodex typecheck` for both `tsconfig.ui.json` and `tsconfig.backend.json`.

Version History

  • 0f01f5b Current 2026-07-19 09:03

Same Skill Collection

apps/browser/bundled/plugins/figma/SKILL.md
apps/browser/bundled/plugins/github/SKILL.md
apps/browser/bundled/plugins/javascript-sandbox/SKILL.md
apps/browser/bundled/plugins/mini-apps/SKILL.md
apps/browser/bundled/plugins/open-code-review/SKILL.md
apps/browser/bundled/plugins/openmanus/SKILL.md
apps/browser/bundled/plugins/posthog/SKILL.md
apps/browser/bundled/plugins/remotion/SKILL.md
apps/browser/bundled/plugins/supabase/SKILL.md
apps/browser/bundled/plugins/vercel/SKILL.md
apps/browser/bundled/skills/debug/SKILL.md
apps/browser/bundled/skills/learn-skill/SKILL.md
apps/browser/bundled/skills/preview/SKILL.md
apps/browser/bundled/skills/implement/SKILL.md

Metadata

Files
0
Version
af412cc
Hash
cd8a3f6f
Indexed
2026-07-19 09:03

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-03 17:12
浙ICP备14020137号-1 $방문자$