Skip to content
Development
Command

/outline

Iterative planning with human checkpoints at every phase

From plugin
1264 skills8 agents4 commands8 hooks
shell
$ npx -y skills add elb-pr/claudikins-kernel --agent claude-code

Ships with claudikins-kernel. Installing the plugin gets this command.

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/outline

Context preview

What this command does when you run it.

Iterative planning with human checkpoints at every phase

Command definition

outline.md
name: claudikins-kernel:outline
description: Iterative planning with human checkpoints at every phase
argument-hint: <task-description> [--session-id ID] [--skip-research] [--skip-review] [--fast-mode]
agent_outputs:
  - agent: taxonomy-extremist
    capture_to: .claude/agent-outputs/research/
    merge_strategy: jq -s 'add'
allowed-tools:
  - Read
  - Grep
  - Glob
  - Bash
  - Task
  - AskUserQuestion
  - TodoWrite
  - Skill
skills:
  - brain-jam-plan
output-schema:
  type: object
  properties:
    session_id:
      type: string
    status:
      type: string
      enum: [completed, paused, aborted]
    plan_path:
      type: string
    phases_completed:
      type: array
      items:
        type: string
    tasks_count:
      type: integer
    batches_count:
      type: integer
  required: [session_id, status, plan_path]

claudikins-kernel:outline Command

You are orchestrating an iterative planning workflow with human checkpoints at every phase.

Flags

| Flag | Effect | | ----------------- | ------------------------------------------ | | `--session-id ID` | Resume previous session by ID | | `--skip-research` | Skip Phase 2 research | | `--skip-review` | Skip Phase 5 review | | `--fast-mode` | 60-second iteration cycles | | `--timing` | Show phase durations for velocity tracking | | `--list-sessions` | Show available sessions for resume | | `--output PATH` | Plan destination path | | `--run-verify` | Run verification anytime |

Merge Strategy

None - outputs are not merged.

Philosophy

> "Planning is a conversation, not a production line." - Guru Panel consensus

  • Human in the loop at every phase
  • Verification available anytime (--run-verify flag)
  • Pool of tools (unrestricted, not gatekept by phase)
  • Defaults ON, skip flags for less
  • Non-linear phase access (can jump back/forward)
  • 5-7 agents per SESSION, not 30 per batch

State Management

State file: `.claude/plan-state.json`

{
  "session_id": "plan-YYYY-MM-DD-HHMM",
  "started_at": "ISO timestamp",
  "project_hash": "sha256 of project dir",
  "phase": "brain-jam|research|approaches|draft|review",
  "research_complete": false,
  "human_decisions": [],
  "abandoned": false
}

Phase 0: Session Initialisation

1. Read `$task` from user input 2. Check for existing sessions via `--list-sessions` or `--session-id` 3. If previous session found:

  • If 4+ hours old: WARN "Session is stale. Old research may be outdated."
  • Offer: [Resume] [New Plan] [Review Last]

4. Create new session ID if starting fresh 5. Initialise state file via session-init.sh hook

Phase 1: Brain-Jam

Load the `brain-jam-plan` skill for methodology.

**Requirements gathering:**

1. Ask ONE question at a time 2. Wait for answer before next question 3. Use AskUserQuestion with specific options 4. Never assume - always clarify

**Key questions to answer:**

  • What problem are we solving?
  • What constraints apply?
  • What's the success criteria?
  • What's explicitly OUT of scope?

**Checkpoint:**

[Continue to Research] [Revise Requirements] [Abandon Plan]

Phase 2: Research (default ON, skip with --skip-research)

If `--skip-research` flag set:

WARNING: Skipping research reduces planning confidence to ~60%
Proceed without research context? [Yes] [No, run research]

Otherwise, spawn 2-3 taxonomy-extremist agents in parallel:

taxonomy-extremist modes:
- codebase: Use Serena, Glob, Grep for code exploration
- docs: Use Context7, WebFetch for documentation
- external: Use Gemini, WebSearch for external knowledge

**Mode selection via AskUserQuestion:**

Which research modes should we use?
[Codebase] [Docs] [External] [All three]

**Agent spawning:**

Task(taxonomy - extremist, {
  prompt: "Research ${topic} for planning ${task}",
  context: "fork", // Isolated context
  mode: "codebase|docs|external",
});

**Results collection:**

  • SubagentStop hook captures output to `.claude/agent-outputs/research/`
  • Merge findings: `jq -s 'add' .claude/agent-outputs/research/*.json`
  • Present summarised findings to user

**Empty findings handling:** If `search_exhausted: true` with no findings:

Research found no relevant results.
[Rerun with different query] [Skip research] [Manual input]

**Checkpoint:**

[Continue to Approaches] [Back to Brain-jam] [Skip] [Abandon]

Phase 3: Approaches

Using research findings and requirements, generate 2-3 distinct approaches.

**Each approach must include:**

  • Summary (1-2 sentences)
  • Pros (bullet list)
  • Cons (bullet list)
  • Estimated effort (relative: low/medium/high)
  • Risk level (low/medium/high)

**Format (from approach-template.md):**

### Approach A: [Name]

**Summary:** ...
**Pros:** ...
**Cons:** ...
**Effort:** Medium | **Risk:** Low

[Recommended] Reason for recommendation

**Present recommendation with reasoning.**

**Checkpoint:**

[Approach A] [Approach B] [Approach C] [Revise Approaches] [Back to Research] [Abandon]

Phase 4: Draft

Section-by-section drafting with approval after each section.

**Plan structure (from plan-format.md):**

1. Problem Statement 2. Scope & Boundaries 3. Success Criteria 4. Tasks (with EXECUTION_TASKS markers) 5. Dependencies 6. Risks & Mitigations 7. Verification Checklist

**For each section:**

1. Draft the section 2. Present to user 3. Get approval via AskUserQuestion 4. If revisions needed, iterate 5. Move to next section only after approval

**Task format for claudikins-kernel:execute compatibility:**

<!-- EXECUTION_TASKS_START -->

| #   | Task               | Files                | Deps | Batch |
| --- | ------------------ | -------------------- | ---- | ----- |
| 1   | Create user schema | prisma/schema.prisma | -    | 1     |
| 2   | Add user servi
Read more
Read it on GitHub โ†—

Showing the first part of this file.

Ships withclaudikins-kernel

SRE thinking applied to Claude Code, based on Boris Cherny's Q&A. It enforces a strict 4-stage pipeline with gates between each step. You literally cannot skip verification. You cannot ship without approval.

Get the whole plugin, auto-invoked
Stats
126
Stars
0
Views
7
Forks
Maintained
Maintenance
Shell
Language
MIT
License
3mo ago
Last commit
6mo ago
Created

Repo: elb-pr/claudikins-kernel