astral-planner

Sets up or adopts a multi-component project workspace, one outer folder holding a root AGENTS.md map, shared docs, design files, proof-of-concept experiments and shared agent skills around components that stay their own folders or Git repositories. Use when the user wants an astral planner, several related repos or services organized under one project root, context and skills that load from every component, an existing project folder adopted, or an extended-run Replan handoff prepared for the workspace. Not for monorepo build tooling or planning a feature inside one repo.

Was ist astral-planner?

astral-planner is a Claude Code agent skill that sets up or adopts a multi-component project workspace, one outer folder holding a root AGENTS.md map, shared docs, design files, proof-of-concept experiments and shared agent skills around components that stay their own folders or Git repositories. Use when the user wants an astral planner, several related repos or services organized under one project root, context and skills that load from every component, an existing project folder adopted, or an extended-run Replan handoff prepared for the workspace. Not for monorepo build tooling or planning a feature inside one repo.

Funktioniert mit✓Claude Code✓Codex CLI~Cursor✓Gemini CLI
npx skills add https://github.com/vanvanni/skill-astralplanner/tree/HEAD/skills/astral-planner

Installed? Explore more Produktivität & Zusammenarbeit skills: steipete/gemini, steipete/gh-issues, steipete/skill-creator · View all 6 →

In Ihrer bevorzugten KI fragen

Öffnet einen neuen Chat, in dem dieser Agent-Skill bereits geladen ist.

Dokumentation

Astral Planner

An Astral workspace is one outer folder that holds a project's shared context around its components. Explore what exists, present it, confirm the plan with the user, then write. Set it up so an agent started in any component finds the policy, scope, next work and skills without this conversation.

<project>/
  AGENTS.md                  canonical map and rules; CLAUDE.md and GEMINI.md point here
  docs/
    README.md                index, links only
    product.md               outcome, scope, decisions, next work
    workspace.md             repository boundaries, context loading
    skills.md                shared skill registry
    design/                  sources, exports, assets
      implementation.md      behavior that design tools cannot express
    proof-of-concept/        experiments, each answering one question
  .agents/skills/            canonical shared skills
  .replan/                   plan index, only when Replan is used
  <project>[-<component>]/   one folder per component, e.g. fernwood, fernwood-web

Create a file or folder only when it has content. Resolve one path for each role (product doc, design, plans, skills) during exploration: reuse what exists, and treat the tree above as defaults for missing roles. Use the resolved paths in every template, link and check.

1. Explore

Read the outer root before asking anything: AGENTS.md, CLAUDE.md, GEMINI.md, the docs, design, plan and skills folders, and the immediate entries of context folders. Inspect each named component at its actual path, including components inside a container folder. Record the Git top level and Git directory that Git reports for the root and each component; a .git file can mean a worktree or submodule. Treat filesystem links as boundaries until the user confirms their targets. Read any files and links the user supplied.

Done when every top-level folder is classified as component, docs, design, experiment, plan, skills or unknown, with its repository status.

2. Pick a branch

  • New: the root is empty or holds only components.
  • Adopt: the root has instructions, docs or plans, or the classification is uncertain. Draft the reconciliation map from adopt.md. When a replan/ or .replan/ folder exists, read replan.md to judge whether its pack is live.

Both branches continue with step 3. State the branch you chose and why.

Done when the branch is named, and the reconciliation map is drafted when adopting.

3. Present and ask

Present the inventory and the proposed layout. Ask what exploration left open, one decision at a time, each question leading with your recommendation so "yes" accepts it:

  1. Project name and root path.
  2. Components, which already exist, which are separate repositories, and each component's visibility (private, public or planned-public). Also ask whether the outer root is a plain folder or its own private Git repository (such as private GitHub or Gitea). When the outer root is a Git repository, recommend ignoring every independent component repo (/<component>/) in the outer .gitignore and listing clone instructions in docs/workspace.md instead of using Git submodules. Treat public and planned-public components as zero-trace from day one.
  3. Outcome and the first milestone someone can observe.
  4. Decisions already made versus still open.
  5. Agents and wrappers in use (Claude Code, Codex, Gemini CLI, or worktree-based wrappers such as T3 Code or Orca), and whether any component runs outside the outer root, such as an isolated clone in CI, a server checkout, or an external Git worktree.

While waiting, draft reversible parts in the conversation, mark each assumption proposed, and write nothing to disk before step 4 is approved.

Done when each answer is known or marked proposed in the draft.

4. Confirm

Show the proposed tree, the draft AGENTS.md and, when adopting, the reconciliation map. Apply the user's edits to the drafts. Ask for approval before writing any workspace file.

Done when the user approved the plan.

5. Write

Replace template tokens with observed or approved values, mark deliberate assumptions as proposed, and delete authoring comments and unused sections. Update an existing file in place.

  • Root policy from AGENTS.md. When the outer root is a Git repository, add each independent component repo folder (/<component>/) to the outer .gitignore unless the user explicitly asked for submodules.
  • Each private component's policy from component-AGENTS.md. For Claude Code, add <component>/CLAUDE.md from the harness pointer, because a CLAUDE.md in the folder or above stops Claude Code from reading AGENTS.md directly.
  • For public and planned-public components, keep zero trace of the outer workspace and Astral Planner in every tracked file (including AGENTS.md and .gitignore). Keep any committed AGENTS.md standalone and contributor-safe, and put any local workspace bridge, snapshot or skill adapter in untracked files excluded via <git-common-dir>/info/exclude (usually .git/info/exclude).
  • For each harness in use, an entry point from harness-pointer.md at the root and at each component launch root that needs one.
  • docs-index.md, product.md and workspace.md, each once it has content. Scope, decisions and work follow planning.md.
  • Shared skills follow skills.md, recorded from skills-registry.md.
  • Design follows design.md, seeded from design-implementation.md.
  • Experiments follow proof-of-concept.md. Create docs/proof-of-concept/README.md from poc-index.md when the user asks for the area or names an experiment. Write each brief from poc-brief.md.
  • Use .replan/ only when the user wants a Replan handoff. Then read replan.md and use replan-handoff.md.

For a filled example, see example.md.

Done when every file you wrote has real content, and only the approved paths changed.

6. Verify

Repeat until each item passes or is blocked on a named owner decision, and list blocked items in the report:

  • Search the files you wrote, not pre-existing ones, for <!-- Fill, example rows and unresolved {tokens} and find none. Literal braces in commands and examples stay.
  • Every generated link, anchor and backticked path resolves from the file that contains it. Paths are relative and correctly cased, with spaces encoded.
  • AGENTS.md lists every component with path, repository status, visibility (private, public or planned-public), entry point and check command or "unknown", matching the approved map.
  • docs/product.md states the outcome, the first milestone, and each decision as approved, proposed or open.
  • Each private component entry point names the workspace policy path and its fallback. Every public and planned-public component has zero trace of the outer workspace or Astral Planner in tracked files and .gitignore, with any local bridge files untracked and listed in <git-common-dir>/info/exclude.
  • When the outer root is a Git repository, its .gitignore ignores every independent component repository (no tracked component files or accidental 160000 gitlinks in outer git status).
  • For each harness in use, skill and policy loading from each component launch root is recorded as verified (with how), configured, unverified (with the remaining check), or not configured (with the owner decision it waits on).
  • The diff in each owning repository shows only approved paths, or a pre-write file list shows it for folders outside Git. Pre-existing content is unchanged except for listed merges.

Rules

  • One home per fact. Give each fact one owner and link to it from indexes.
  • Label status. Decisions are approved, proposed or open. Behavior is planned or verified.
  • Ask before irreversible steps. Create repositories, choose frameworks, initialize Replan and start runs only on the user's request.
  • Keep experiments apart. Keep experiment source and dependencies inside the experiment; components never import from docs/proof-of-concept/.
  • Keep public components zero-trace. Treat public and planned-public components as standalone repositories; never commit workspace paths, .astral/ snapshots, .replan/ references, private skills, private remotes or Astral Planner mentions into tracked files or .gitignore.
  • Share by relative path. Shared documents hold no credentials and no machine-specific paths.
  • Treat other projects as examples. Take the stack and deployment choices from this project's decisions.

Report

List changed paths grouped by repository and say they are uncommitted, then each check and its result, open owner decisions and the next action. Name the result: scaffold, populated plan, adopted workspace or prepared handoff.

Verwandte Skills