Back to dashboardYour professional Claude automation template

Your professional Claude automation template

Handbook · Clone/export guide · All skills · Dashboard

Choose how to start

SituationFirst actionNext Claude prompt
New applicationGenerate a clean workspace with create_project.py/project-kickoff <product, users, constraints, first slice>
Existing applicationUse the reviewed local installer in that repository/codebase-onboarding <scope>
Framework maintenanceWork in this source clone and preserve root product seeds/framework-audit <area>
Resume existing workInspect STATE/ROADMAP and actual Git state/project-status

The boilerplate guide covers clean export and full-template clone. The installer guide covers adding native assets to existing code with preview, ownership, rollback and opt-in hooks. Do not copy application code into a populated directory without inspecting conflicts.

Prepare the workspace

sh
python3 .claude/framework/workspace.py configure --mode new --preset solo
python3 .claude/framework/workspace.py configure --mode new --preset solo --apply
python3 .claude/framework/workspace.py status

For an established repository, use --mode existing; for team collaboration, use --preset team. No command installs software, calls a model, creates a product, chooses an accepted architecture, changes hooks/permissions or runs application checks.

ArgumentRequirementMeaning
Global --root PATHOptional; current directoryExisting project directory; place before the subcommand
configure --mode new|existingRequiredSelect kickoff versus existing-code onboarding
--preset solo|teamOptional; soloAdvisory handoff/review workflow, not native permission policy
--profiles NAME ...Optional; noneSelect available guidance; package installation and product confirmation remain separate
--checks-file PATHOptionalReviewed project-relative JSON with actual gate commands
--applyOptional; offWrite the previewed setup or rollback
statusNo argumentsReport setup, native registrations, project records and check configuration separately
rollbackNo argumentsPreview removing only unchanged setup-owned configuration; add --apply to act

Setup owns .claude/framework/automation.json, .claude/framework/gates.json and their setup manifest. These are Foundry schemas, not native Claude settings. Repeating the same configuration is idempotent. Owned, unchanged configuration can be reconfigured; modified/unowned files are refused. Preserve manual/team changes with normal Git review; rollback refuses to remove changed files. Only these setup paths are removed, not application records or native assets. The existing per-file atomic/best-effort rollback engine assumes a trusted exclusive writer.

Solo: significant changes still receive bounded independent review; handoffs are used when useful. Team: use conflict planning before overlapping shared-file work, record a handoff, and review significant changes and merge requests. Presets do not enforce branch protections or spawn agents automatically. Instructions and readiness are not proof that a review occurred.

Define shared checks once

Write a reviewed JSON file using this shape, replacing the example with real commands for your repository:

json
{
  "gates": [
    {
      "name": "unit",
      "argv": ["python3", "-m", "unittest", "discover", "-s", "tests"],
      "timeout": 60,
      "blocking": true
    }
  ]
}

The example assumes a Python project and is not preconfigured for arbitrary stacks. You may pass it with --checks-file PATH during setup, or deliberately edit .claude/framework/gates.json through project review. Manual editing changes setup ownership hashes and prevents automatic setup overwrite/rollback until reconciled; it does not disable gate execution. Choose a deliberately maintained shared file rather than an ever-changing ignored personal configuration for team policy.

The runner combines shared .claude/framework/gates.json with additive ignored .claude/framework.local.json. Duplicate names across them are rejected, so a personal file cannot silently replace a team check. Commands use argv arrays without shell interpolation. Configure no credentials or secrets in either file. Timeout is 1..600 seconds; blocking defaults to true.

sh
python3 .claude/framework/framework.py gate
python3 .claude/framework/framework.py gate --execute

Preview never executes. --execute runs the already-reviewed commands from the project root and returns failure for failing blocking checks. No configured gates returns exit 2 / NOT_CONFIGURED. Advisory failures remain visible. Commands themselves can have side effects: review actual manifests/scripts and existing authorization before execution. Startup never runs the suite. review.py captures the same combined configuration in its source-bound review receipts; a receipt does not supply independent review.

Use the predefined roles and hooks

ComponentResponsibilityBoundary
Main sessionDiscovery, implementation and verificationOwn one scoped task; preserve unrelated changes
eng-plannerMaterial design trade-offs and migrationsRead/Grep/Glob, inherited model; no implementation or recursive delegation
eng-reviewerIndependent significant-change reviewRead/Grep/Glob; findings require concrete evidence
SessionStartRead-only setup/resume contextExisting mode points to onboarding; no installs, product writes or test execution
PreToolUseNarrow Read/Edit/Write path guardInspect actual code; not a full sandbox or secret scanner
Shared gatesExplicit project command executionNever triggered automatically by setup or startup

Native definitions live in .claude/skills/, .claude/agents/ and .claude/settings.json. Full clone/clean boilerplate defaults register two existing hooks; optional managed installs keep hooks opt-in. Workspace configuration never changes their registrations or grants permissions. Native mechanisms and examples explain scopes and known limits.

Work in verified slices

  1. Capture actual requirements, acceptance criteria and constraints with kickoff or onboarding.
  2. Ask missing design questions in small batches. Keep delivery shape, module architecture, domain model, CQRS/events/sagas, validation and entity/schema sources as separate decisions.
  3. Record only consequential ADRs, including actual idempotency, races, recovery and trust boundaries when relevant.
  4. Implement a small usable slice; select applicable unit/integration/load/performance checks.
  5. Run iteration-review for scoped security, claim-evidence, MR review and decision impact; stop or escalate after two rounds.
  6. Update real project state and hand off with evidence. Deployment and destructive/global actions remain explicit.

Workflow selection, skill arguments, design interview, ADRs, collaboration and testing provide the details. Skills do not guarantee model selection; invoke the named command if needed. No competing orchestrator, model swarm or paid evaluation service is enabled.

Measure the template itself

Use Skill Lab for structure, supplied observed behavior and bounded candidate comparisons. Use workspace status for configuration readiness, doctor for local structural diagnostics, and actual application checks for application behavior. These signals have distinct meanings; none implies production readiness. See current qualification.

License and lifecycle

The owner selected MIT for original Foundry code/docs. Clean export and managed payloads retain the notice as .claude/framework/LICENSE.md; application licensing is a separate decision. Third-party material retains its own terms. No remote repository setting, release, publication or account was changed. Review upstream changes and merge selected updates through your normal branch/review process.

Design rationale: ADR-0013. Local qualification: automation template report.