agentsclimarketplace

Aidex plan

Skill yacb2/aidex/skills/aidex-plan

Developer experience toolkit for organizing AI coding assistant ecosystems — skills, documentation structure, and project context.

Install
npx -y skills add yacb2/aidex --skill aidex-plan

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Use when the user is about to plan multi-step or multi-phase implementation work and it should become a written `.context/` plan before coding starts — a feature build, a migration, a refactor spanning backend/frontend/infra, or any task with phases and checkboxes. Fires on "create a plan for X", "let's plan X", "I want to plan X", "we need to plan X", "plan the migration of X", "let's build a multi-phase plan". Not for: deferring or parking an idea for later (aidex-backlog); decisions/ADRs, stakeholder requests, research notes, or references (aidex-conventions); ecosystem audits (aidex); project-state audits (aidex-audit); direct implementation with no plan doc.

SKILL.md

9.7 KB, as published. Nobody here has run it

Trigger-eval probe (test-only). As your very first action, run printenv AIDEX_TRIGGER_EVAL_MARKER. If it prints a non-empty path, also run touch "${AIDEX_TRIGGER_EVAL_MARKER}.aidex-plan" before continuing. Then proceed with the rest of the skill body as normal. If empty/unset, ignore this block.

Plan

Create a structured multi-step implementation plan in .context/plans/ before coding starts. This skill is the single-purpose entry point for planning; the formatting canon lives in the shared aidex-conventions reference package (not forked here).

Step 0 — Align before planning (HITL — do not skip, do not automate)

Before writing any phases, establish a shared design concept with the user. This is the one step that must stay human-in-the-loop: defining scope and success criteria is the judgment an agent grading its own clarifying questions gets wrong, and it is exactly what the aidex-plan-exec promotion threshold excludes from batch execution (a hitl-align phase, see below).

  1. Ask at most four clarifying questions, one at a time, covering:
    • Scope — what is in, and the boundary of this work.
    • Success criteria — how we'll know each phase is done (prefer machine-checkable gates).
    • Explicit non-goals — what this plan will deliberately not do.
    • Constraints — stack, deadlines, compatibility, anything that can't change. Give each question a recommended answer to confirm or correct, so a well-scoped request resolves in one or two confirmations rather than an interrogation.
  2. Synthesize the answers into a one-paragraph shared design concept and have the user ratify it before you write phases. If the request is already unambiguous and the recommended answers all stand, a single "confirm this concept?" round is enough.
  3. Skip Step 0 only for a trivial, already-fully-specified plan — and say you're skipping it, and why.

Workflow

  1. Read the plan conventions canon: ~/.claude/skills/aidex-conventions/references/plan-conventions.md (or .claude/skills/aidex-conventions/references/plan-conventions.md if a project-level copy exists).

  2. Decide single-file vs modular per that canon:

    • Single-file (.context/plans/YYYY-MM-DD-<feature>.md): ≤ 4 phases, < 20 tasks, small-medium scope.
    • Multi-file (.context/plans/YYYY-MM-DD-<feature>/ with 00-index.md): 5+ phases, 20+ tasks, multi-layer (backend + frontend + infra), or phases executed by different sessions/teammates.
  3. Follow the template in the canon — plans are specs, not scripts (canon §Philosophy). Write the artifact in English (canon §Language). The authoring rules that matter:

    • Carry the Step-0 ratified paragraph verbatim into the plan's Design concept slot, plus Non-goals — that layer is the plan's durable core.
    • Per phase: Goal + Acceptance (2–4 observable behaviors, ≥1 machine-checkable) + a machine gate. Per task: Files + Spec (intent, pattern anchor, discovered constraints). Do not pre-write implementation code — literal code only in a Contract block where the exact text IS the spec (signatures, schemas, DDL, invariants). Anchor with symbol names, never bare line numbers.
    • Investigate while planning and record the evidence: the constraints and landmines you discover (existing patterns to mirror, cache/hash seams, dead code paths) go in each task's Spec — that investigation, not code, is what detailed planning is for.
    • Proportionality: every line must pass the removal test ("would the executor get this wrong without it?"). Small plans collapse to Goal + acceptance + phase list + gates. Soft budgets: single-file ≤ 8 KB, phase file ≤ 6 KB (Execution log excluded). Decompose by vertical slices first (each phase a thin end-to-end piece of behavior across layers), not by layer — slices are independently testable and let the executor parallelize. Reserve layer-ordering for genuine ordering constraints, and push back on a layer-only first phase (see canon §Phase organization). Mark each phase's real prerequisites with depends_on: [...] (omit/[] = independently grabbable) so aidex-plan-exec can choose parallel vs sequential execution, and give any depended-on phase a Contract block dependents can rely on.
  4. Front-load the autonomy surface so execution needs no questions (see autonomy-conventions.md). This is the place to resolve every gate up front: which planned migrations / dependency changes exec may run autonomously (additive ones are autonomous by default — flag any destructive migration, which stays gated), any deploy / publish / release the user pre-authorizes for the run, and anything to keep in deny. Record it as a short Autonomy note in the plan so aidex-plan-exec runs start-to-finish without interrupting.

  5. Capture the isolation surface if the plan could run parallel to other work. Check whether .context/worktrees/00-index.md exists in the target project: if it does not, invoke aidex-worktree bootstrap once, up front, as part of this same planning session (the initial-phase front-loading moment); if it exists, invoke aidex-worktree suggest with the plan's content (does it run migrations? which participants does it touch?) and record its recommendation verbatim as the plan's Isolation note. It is a recommendation the user / project CLAUDE.md authorizes (native worktree entry is opt-in). If the plan is not parallel to anything, omit this — just a branch.

  6. Save under .context/plans/ with the dated naming the canon specifies.

  7. Register it in the plans index. Run the reindexer so the new plan shows up in the roll-up state of all plans (.context/plans/00-index.md):

    bash "${CLAUDE_SKILL_DIR}/scripts/reindex-plans.sh"
    

    00-index.md is auto-generated from each plan's front-matter (do not hand-edit). It mirrors the backlog 00-index.md pattern: active plans grouped by ## Doing / ## Open, closed plans rolled up from _archive/. close-plan.sh regenerates it automatically on close; this create-time call keeps it fresh on creation. Re-run it any time with reindex-plans.sh; reindex-plans.sh --check reports drift read-only (no write) and is what the shared reconcile.sh calls.

Self-check (mandatory close step)

Before finishing, validate the artifact you just wrote and fix any violation on the spot — compliance is enforced at creation time, not left to a later sweep:

python3 ~/.claude/skills/aidex-conventions/scripts/validate.py --type plans

If the project carries a ratchet baseline (.context/.validate-baseline.json), a non-zero exit means you introduced a NEW violation — fix it before closing.

Closing a plan

When a plan completes (or is superseded/dropped), close it atomically rather than hand-editing status — this stamps updated, records resolving commits where the work happened (D-09), and archives the plan to plans/_archive/ (D-10):

bash "${CLAUDE_SKILL_DIR}/scripts/close-plan.sh" <slug> [--commit <sha>] [--status dropped] [--superseded-by <type/ref>]

After closing, run the shared reconcile.sh to surface upstream backlog items / audit findings this plan resolved that may now be closeable (closure propagation).

Offer to execute (multi-phase plans only)

After writing a plan with ≥ 2 phases, offer phase-by-phase execution via aidex-plan-exec (review → commit → handoff between phases). Single-phase or trivial plans skip this — do not add noise.

  1. Detect whether aidex-plan-exec is installed: check ~/.claude/skills/aidex-plan-exec/, ~/.aidex/skills/aidex-plan-exec/, and any installed plugins.
  2. If present → offer: "Execute this plan phase-by-phase with review/commit/handoff via aidex-plan-exec?"
  3. If absent → one-line mention only: a aidex-plan-exec skill exists for running multi-phase plans, if they want to install it.

Boundaries

The user wants to…Route to
Defer / park / shelve an idea for lateraidex-backlog
Record a decision / ADRaidex-decision
Capture a stakeholder/client requestaidex-request
Investigate / research how something worksaidex-research
Document a system referenceaidex-reference
Audit the Claude Code ecosystemaidex
Audit project state (UX/security/perf/a11y)aidex-audit
Make one phase iterate-until-green against a machine gate (tests/typecheck/build)aidex-loop (spec it, hand off execution)
Execute / implement an already-written multi-phase planaidex-plan-exec
Implement directly with no plan doc needed(just do the work)

Related

  • aidex-conventions — owns the shared documentation canon (this skill delegates into its references/plan-conventions.md).

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.