Nov 29, 2026

Give Claude Code a Senior Engineer's Memory and Judgment

SWE-ATLAS scaffolds skills, subagents, and a per-project memory so Claude Code explores before it builds, tests what can fail, and ships through your existing pipeline.

#tutorial#claude-code#workflow#ai-agents

Claude Code already has the engine — plan mode, /goal, subagent orchestration. What it lacks is the senior engineer around the engine: deciding what is worth building, remembering ten projects across sessions, keeping API keys out of the transcript, and carrying a project to production. SWE-ATLAS, an npm-distributed Claude Code template, fills exactly that gap with skills, subagents, slash commands, hooks, and engineering conventions.

Why This Skill Matters

The scaffold works in seven roles — Software Engineer, Solution Architect, Software Architect, Tech Lead, Business Analyst, Product Owner, and UI/UX Designer — and ships 14 skills installed à la carte plus 4 agents: manual-qa-haiku and manual-qa-sonnet for test execution, commit for git conventions, and knowledge-dream for consolidating knowledge notes. Its bet against spec-first frameworks: do the minimum upfront thinking that de-risks the build, make it visual so you and the model agree before code exists, then hand a clean artifact to Claude Code's native loop.

Installation

One command, and the CLI asks for everything else interactively — the CLAUDE.md flavor, your name, the workspace mode (plus project name and stage), browser automation choice, which skills to install, when to auto-compact, and an optional advisor model:

# Inside an existing repo: repo mode is detected
cd your-project
npx swe-atlas@latest new-project

# A new workspace for many projects: multi mode is the default
npx swe-atlas@latest new-project my-workspace

You choose one of three CLAUDE.md flavors: Vanilla (minimal footprint, no ATLAS identity), Collaborative (default — the full senior-engineer identity with a review-and-commit loop), or Autonomous (approval loop removed, the free-will skill wired in for unattended runs). Workspace modes match the shape of your work: repo for one app in one repo, project for one product with several repos, and multi for many projects under one workspace with an always-loaded index.md registry.

Real Workflow: A project's first loop

The README's typical first loop for a new project:

/atlas:project add shop             # multi mode: register a project (repo/project mode: /atlas:get-to-know)
/brainstorm:prototype               # validate the idea as a clickable prototype
/design:create-design-md            # lock the visual identity for this project
/plan:create-phase "checkout"       # interview → brief → phase.html with acceptance checks
# → switch to plan mode and let Claude Code build from it
/qa:manual-test-run shop checkout   # run the checks in a real browser
/deploy:plan shop                   # write the runbook, then /deploy:check and /deploy:run

The memory model makes the next session cheap. Each project keeps a map (CLAUDE.md in multi mode or PROJECT.md, 60–100 lines: what it is, its stage — toy/mvp/production — its kind, stack, how to run, test, and verify it) and a state file (STATUS.md, under 30 lines: now, next, blocked, last session). A fresh session reads that in a few thousand tokens instead of scanning the repo. Hard-won facts land in docs/knowledge/, one fact per file with a "read when" line — the list is computed from the notes every time, so it cannot go stale — and /atlas:dream hands cleanup to a Sonnet subagent that merges duplicates and re-checks each note against the code.

Testing follows one rule: a test counts when it fails when the behaviour it guards breaks. Test cases come from the phase doc's acceptance checks (/qa:create-test-cases), not from the code; for anything that matters, ATLAS breaks it on purpose and confirms the test goes red — a test that cannot fail is deleted. The manual-qa-haiku agent then executes the written cases against the running app and reports PASS, FAIL, or UNSURE with evidence per step.

Deployments run through the same runbook discipline: /deploy:plan writes DEPLOY.md, /deploy:check gates the release on tests, missing secrets, migration safety, and build, and /deploy:run ships through your existing CI/CD pipeline, the provider's CLI, or exact steps — with health checks and smoke tests after. Provider notes ship for Coolify, Vercel, Netlify, Fly.io, Railway, and Docker Compose over SSH, and production always asks first.

Tips

  • Secrets live in one gitignored store at the workspace root (.atlas/secrets/); set them with a hidden prompt via node .claude/scripts/secrets.cjs set OPENAI_API_KEY so a value never goes on a command line or into the chat. The README describes the guardrails as layered rather than a promise — they stop accidental leaks, but are not a sandbox.
  • Databases go through the psql CLI with a per-connection registry (node .claude/scripts/db.cjs ...) instead of an MCP server, so every Postgres feature works and prod connections start read-only.
  • Updating between template versions: npx swe-atlas@latest update compares your workspace with the latest release and recommends changes file by file, changing nothing on its own; inside Claude Code, /atlas:update applies only what you approve — run it in a fresh session.
  • Going unattended: /atlas:oneshotapp "idea" takes an idea to a working app with free-will firing at every fork, adversarial review subagents, and the full decision trail in docs/decision_logs/.
  • Browser automation is a scaffold-time choice between Playwright MCP and the token-efficient Playwright CLI.

When Not to Use This

SWE-ATLAS is built for Claude Code — it hands execution to plan mode, /goal, and workflows, so its value assumes that host. The scaffold also deliberately excludes the heavy document skills (docx, pptx, xlsx, pdf) from its package; scaffolded workspaces get canonical versions through an anthropics/skills submodule instead. And if your project is a weekend toy, the stage line in the project map is the design intent: a toy does not get production ceremony.


See the leaderboard for more skills.