From Atlas
Bootstraps and maintains Atlas in a repository: runs doctor, init, fix; scans repo context to seed agent memory and vocabulary.
How this skill is triggered — by the user, by Claude, or both
Slash command
/atlas:atlas-setupThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill for first setup and later refreshes. The published CLI owns deterministic structure; this skill owns semantic repository understanding.
Use this skill for first setup and later refreshes. The published CLI owns deterministic structure; this skill owns semantic repository understanding.
Humans and agents use the same deterministic entrypoint. Do not reimplement init, doctor, path repair, symlink repair, or managed file repair inside this skill. Call the CLI through npx.
Run the phases below in order.
Before inspecting repository meaning, announce the deterministic setup steps you are about to run.
From the repository root, run:
npx --yes @blazity-atlas/core@latest doctor
Then follow the CLI result:
npx --yes @blazity-atlas/core@latest init.doctor reports only fixable drift, run npx --yes @blazity-atlas/core@latest doctor --fix.doctor --fix refuses because of a dirty worktree, stop and ask the user whether to commit, stash, or explicitly rerun with --force. Do not use --force automatically.doctor reports manual conflicts, summarize those conflicts and stop before semantic setup.npx --yes @blazity-atlas/core@latest doctor after any init or fix command.doctor exits clean. Advisory findings (doctor exits 0) do not count as unclean — they are signals this skill resolves in later phases. Only fixable or manual findings block this phase.If the current directory is not a git repository, stop and ask the user to run the skill from the repository root or initialize git first.
Locate the workspace config: read .ai/config.json, or when absent, follow the .atlas repo-root pointer to <root>/config.json. Resolve every artifact location through that config — the workspace root may not be .ai.
Inspect the repository before asking questions: README, package metadata, lockfiles, framework configs, existing docs, tests, and agent instructions.
Brownfield backfill — mine recent history for candidate decisions, pitfalls, and vocabulary to seed memory and lessons:
git log --oneline -50gh is availableKeep the backfill bounded: do not read the whole history or every document, and note explicitly what was skipped. Treat mined facts as candidates to confirm, not established truths.
Infer only obvious facts from code. Ask about product, domain, ownership, and workflow details that code cannot answer.
Mark unknowns explicitly instead of inventing facts.
Do not ask the user to pick a template name from a list. Detect the fit, show the moves, and confirm:
docs/* folders actually exist in the repository.pathAliases. The templates are standard, app, library, monorepo, agency (the CLI's getTemplateNames()); they differ only in which conventional docs/* folders map into the workspace tree, so the labels stay but the moves are the interface.docs/adrs/* → <root>/decisions/adrs/ — and name the template label those moves correspond to.template field and merging that template's pathAliases. Do not invent new artifact roots.npx --yes @blazity-atlas/core@latest doctor afterward and continue only when no fixable or manual findings remain.Open with the fast path: ask whether the user wants to accept all recommended defaults. If yes, skip the interview and proceed with the recommendations from grounding.
Otherwise:
Good questions cover: product purpose, target users, current direction, deploy/runtime expectations, architectural invariants, common pitfalls, safe commands, branch/release workflow, domain vocabulary, and external systems.
Resolve every path through the config from Phase 2 — never hardcode .ai/.
AGENTS.md concise and high-signal. Preserve human content and the Atlas managed block.LANGUAGE.md (the configured language path) with canonical terms and avoided synonyms.memory/product.md, memory/architecture.md, and memory/stack.md with stable facts only.memory/lessons.md only for proven non-obvious pitfalls.paths.npx --yes @blazity-atlas/core@latest doctor again — actually run it, never assume the result.setupState in <root>/config.json from "scaffolded" to "configured". No other write may follow this flip.After setup completes, reviews of AI tools and AI-assisted changes run through the sibling atlas-review skill.
At the end of the flow, offer: want to tune layout, agent surfaces, or local skills?
customization.md from this skill's directory and follow that workflow.customization.md.Use when the harness is new or mostly empty. Build the first useful AI context for the repository.
Use after major codebase, architecture, dependency, command, or product changes. Compare existing AI context with the current repository and update only stale or missing facts.
AGENTS.md should help an agent work safely within the first minute: what this repo is, how it is structured, what commands are safe, what rules matter, and what not to touch. Prefer short factual sections over long prose.
npx claudepluginhub blazity/atlas --plugin atlasInteractive wizard configures repositories for Claude Code best practices by creating CLAUDE.md, slash commands, agents, hooks, and permissions. Activates on 'setup claude', 'init claude', or repo setup requests.
Scaffolds a long-running agent harness with context docs, AGENTS.md, style guides, session hooks, drift detection, and setup reports. Use when a project needs Maestro-owned project setup.
Scaffolds AGENTS.md, ARCHITECTURE.md, and docs/ structure to make codebases legible to AI agents. Analyzes structure with bash recon, generates progressive disclosure docs, audits existing artifacts for coherence.