Prepare Claude Code
- Open the repository in Claude Code and create (or verify)
.claude/agents,.claude/prompts,.claude/commands, and.claude/sessions. - Copy everything from
AI-toolkit/agents/,AI-toolkit/prompts/, andAI-toolkit/session-commands/into the matching.claude/folders. Keep the originals version-controlled so you can pull updates. - Drop the Claude briefing template next to your codebase root and run
/initso Claude boots with project context. - Create an empty
.claude/sessions/.current-sessionfile and add.claude/sessionsto.gitignoreto protect local notes. - Reload Claude Code, check the sidebar, and ensure agents + prompts show in the file browser for quick @ referencing.
Keep the toolkit on a shared drive or as a Git submodule so every teammate pulls identical agent instructions.
File placement & sync strategy
- Agents: Store only the personas your team actually uses inside
.claude/agents/. Leave the master catalog inAI-toolkit/agents/and reference extras with paths such as@../AI-toolkit/agents/orchestration/tech-lead-orchestrator.md. - Prompts: Mirror the core set (
@create_brief,@plan_feature,@code_review,@write_docs) into.claude/prompts/. Keep custom prompts alongside the project so they travel with the repo. - Session commands: Copy the markdown files from
AI-toolkit/session-commands/into.claude/commands/. Claude reads them verbatim when you run the accompanying slash command. - Backups: Automate a daily zip of
.claude/except.claude/sessions/so you can restore agents if someone edits them accidentally.
Kick off a new project in Claude
- Run
/project:session-start project-nameand paste the request, stakeholders, and deadlines. - Trigger
@create_brief.mdto capture north-star context, then archive the output in the session log. - Use
@plan_feature.mdwith the first epic and follow the embedded TODOs it creates. - Delegate specialist work: run
/tool run agents/orchestration/tech-lead-orchestrator.mdto assemble the execution graph, then loop in framework agents. - Establish a cadence—after each coding burst paste git status into
/project:session-update, then request@code_review.mdbefore merging.
Continue a legacy or inherited project
- Import or recreate the latest session log (ask the prior owner for
.claude/sessions/<date>.md). Usesession-restorer.mdto rebuild context. - Scan the repo with
project-analyst.mdandcode-archaeologist.mdto surface unknown dependencies and risk areas. - Run
@plan_feature.mdin “maintenance mode” (follow the bug/refactor instructions inside the prompt) to map the next safest changes. - Document assumptions inside
/project:session-updateand keep a punch list of unanswered questions for the original team. - Before your first deploy, run
reliability-commander.mdandtesting-expert.mdso you understand coverage gaps and rollback steps.
Recommended Claude agents by scenario
| Discipline | Primary agents | What they deliver |
|---|---|---|
| Backend & APIs | tech-lead-orchestrator.md, django-api-developer.md, fastapi-expert.md, rails-api-developer.md | Execution graphs, ORM modelling help, API contracts, async patterns. |
| Frontend & UX | react-component-architect.md, frontend-designer.md, tailwind-css-expert.md, vue-component-architect.md | Component trees, styling strategies, accessibility checks, design-to-code guidance. |
| Ops & Quality | devops-cicd-expert.md, reliability-commander.md, testing-expert.md, performance-optimizer.md | Pipeline improvements, readiness checklists, test matrices, performance remediation plans. |
| Documentation & Product | content-writer.md, documentation-specialist.md, prd-writer.md, session-closer.md | Stakeholder updates, architecture notes, product requirement drafts, end-of-day summaries. |
Pin your top five agents in the Claude sidebar and use /tool run ... --force when you want deterministic output without conversational drift.
Co-ordinate multi-agent runs
- Author the playbook: Start with
tech-lead-orchestrator.mdto generate the execution graph. Ask for explicit agent-to-agent handoffs (e.g., “frontend-designer passes mock notes to react-component-architect”). - Assemble the crew: Use
team-configurator.mdto confirm who leads each phase, escalation paths, and communication cadence. - Chain specialists: Paste the orchestrator output back into Claude and call each specialist in order. Include the previous agent’s summary so context compounds.
- Agent-controlled agents: If an agent must brief another (e.g.
project-analyst.md→django-api-developer.md), ask it to runsession-closer.md(or a custom “handoff” template) so the next agent receives a clear brief. - Quality guardrails: After the specialist loop, trigger
reliability-commander.md,testing-expert.md, andbrutal-critic.mdto enforce process discipline before shipping.
Keep a running “agent stack” inside the session log—note which agent ran, what it produced, and who must act next. This makes restarting the chain trivial.
Sample scenario: shipping a payments webhook
- Kickoff & planning: Run
/project:session-start payments-webhook, paste the ticket, then trigger@create_brief.mdfollowed by@plan_feature.md. Paste both outputs into the session log. - Multi-agent orchestration: Invoke
tech-lead-orchestrator.mdto map the chain (backend specialist → reviewer → QA). Let the orchestrator calldjagno-api-developer.mdautomatically by including the plan in the chat. - Implementation: Execute the guided steps, running
django-api-developer.mdfor serializers/views andtesting-expert.mdfor pytest coverage. Paste command output from your terminal into/project:session-update. - Review & docs: Use
@code_review.mdwithgit diff, then letbrutal-critic.mdcritique the patch. Finish with@write_docs.mdto generate release notes and update your session summary log. - Close session: Run
/project:session-endand attach the final agent outputs so other tools (Gemini, Codex, Cursor) are ready for the next iteration.
Each time an agent finishes, append a short “Result” block to the session log so you can replay the scenario or hand it off mid-stream.
Advanced creation & research catalogue
Foundational level
- Architecture briefs: Run
@create_brief.mdandapi-architect.mdtogether to transform a user story into stakeholder-ready documentation. - Knowledge synthesis: Pair
general-research-agent.mdwithsession-closer.mdto gather links, annotate findings, and store them as searchable Markdown. - Test blueprints: Use
@plan_feature.mdfollowed bytesting-expert.mdto produce end-to-end test checklists for QA teams.
Intermediate level
- Content production: Feed meeting transcripts into
content-writer.mdto generate customer emails, tutorials, or release notes. Refine tone withvibe-coding-coach.md. - Process automation: Ask
reliability-commander.mdto generate tailored readiness checklists, then embed the checklist in your workflow playbook via Claude’s file editor. - Research digests: Use
general-research-agent.md→session-closer.md→@write_docs.mdto move from raw links to a polished market or technical report.
Advanced level
- Large-scale refactors: Combine
project-analyst.md,code-archaeologist.md, andcode-refactorer.mdwith orchestrated handoffs to plan multi-sprint migrations. - Compliance & audit packs: Run
reliability-commander.md,security-auditor.md, andsession-closer.mdin sequence, then have@write_docs.mdproduce audit-ready PDFs. - Cross-tool controller: Use Claude to command Gemini or Codex runs—paste Claude-generated scripts into those CLIs, pull their outputs back, and let Claude consolidate them into strategy documents.
Claude does not generate images or video directly; when visual assets are needed, have Claude draft structured prompts for Gemini (image) or external tooling, then weave the returned assets into your docs.
Prompt patterns that stick
| Prompt | When to run it | Claude-specific guidance |
|---|---|---|
@plan_feature.md | Before touching code | Paste user story, acceptance criteria, stack constraints, and annotate files you expect to edit. |
@code_review.md | After implementing | Attach git diff, mention manual tests, and ask Claude to tag risk levels. |
@write_docs.md | Release preparation | Feed plan + review outputs and specify audience (README, changelog, on-call handoff). |
@create_brief.md | Initial alignment | Reuse the output as the opening section of session-summary.md. |
Terminal power moves inside Claude
- Command history: Claude remembers recent slash commands—type
/and arrow up to reuse/project:session-updatetemplates. - Snippet insertion: Save frequently used shell commands (lint/test scripts) as prompt snippets and drag them into the chat when you want Claude to execute them.
- Side-by-side diffs: After Claude suggests code, ask it to produce a
git apply-ready patch so you can paste straight into your terminal. - Automate guardrails: Pair Claude with local tooling like
pre-commit,ruff,eslint,pytest, andnpm test. Have Claude draft the commands; you run them and paste the logs back for analysis.
Design, documentation, and collaboration best practices
- Design handoff: Use
frontend-designer.mdto convert Figma specs into component architecture. Follow up withvibe-coding-coach.mdfor tone/branding notes. - Docs first: Start README amendments inside Claude with
documentation-specialist.md, then share the draft via@write_docs.mdfor consistent formatting. - Cross-tool sync: After each major Claude action, mirror the state into Gemini, Codex, OpenCode, or Cursor by copying the latest session update. Consistency across tools prevents context drift.
- Security hygiene: Run
security-auditor.mdbefore promoting to staging and paste the output into your ticket for audit trails.
Integrations & supporting toolchain
- Version control:
git,gh, orlazygitfor staging patches that Claude recommends. - Package managers:
npm/pnpm,pip,poetry,bundler,composer—Claude can draft upgrade plans, you execute the command, and it validates logs. - Testing frameworks:
pytest,jest,vitest,rspec. Ask Claude to suggest focused test commands and summarise failures. - Observability: For backend or ops work, feed logs from Grafana, Datadog, or CloudWatch directly into Claude for root-cause brainstorming.
- Knowledge bases: Link outputs back to Notion/Confluence by using
session-closer.mdto produce tidy status summaries.
Golden rules for Claude
- Never run
/project:session-updatewithout pasting tangible evidence (diff, command output, decision summary). - Pin guardrail agents (
reliability-commander,testing-expert,session-closer) so you close every loop with a checklist. - Use
/tool runfor deterministic outputs when you need reproducibility for audits. - Archive every session log before rotating to a new initiative—file the markdown inside your long-term session history for easy searchability.