Create Plan

Create a detailed Plan.md for a task, then execute each step in a reasoning loop until done.

Hammad-Noman updated 2mo ago
Claude CodeGeneric
View source ↗
Create a detailed Plan.md for a task, then execute each step in a reasoning loop until done.

Usage: /create-plan <task description or Needs_Action filename>

## Instructions

The argument `$ARGUMENTS` is either a task description or an existing Needs_Action filename.

### Step 1 — Read context
1. Read `AI_Employee_Vault/Company_Handbook.md`.
2. If `$ARGUMENTS` matches a file in `AI_Employee_Vault/Needs_Action/`, read it fully.
3. Identify the goal, constraints, and whether approval is needed.

### Step 2 — Write the Plan file

Create `AI_Employee_Vault/Plans/PLAN_<slug>_<YYYY-MM-DD>.md` with this structure:

```markdown
---
created: <ISO timestamp>
status: in_progress
task: <one-line description>
requires_approval: <true|false>
---

## Objective
<Clear one-sentence goal>

## Steps
- [ ] Step 1: <action>
- [ ] Step 2: <action>
- [ ] Step 3: <action>
...

## Approval Required
<Describe what needs approval, or "None — all steps are auto-approved">

## Definition of Done
<How Claude will know this task is complete>

Step 3 — Execute the plan (reasoning loop)

Work through each checkbox step one at a time:

  1. Read the current step.
  2. Determine if it is auto-approved (per Company_Handbook.md Section 2).
  3. If YES → execute it and mark [x].
  4. If NO → create AI_Employee_Vault/Pending_Approval/APPROVAL_<description>.md and STOP. Do not proceed past approval gates.
  5. After each step, re-read the Plan file and move to the next unchecked step.
  6. Continue until all auto-approved steps are done or an approval gate is reached.

Step 4 — Wrap up

  • Update Plan frontmatter: set status: completed or status: awaiting_approval.
  • Log to AI_Employee_Vault/Logs/<YYYY-MM-DD>.md.
  • Update AI_Employee_Vault/Dashboard.md Active Plans section.
  • Print a summary of what was completed and what (if anything) is waiting for approval.

Maintain Create Plan?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

[Create Plan on getagentictools](https://getagentictools.com/loops/hammad-noman-create-plan?ref=badge)