Use cases
Concrete workflows showing which configs fire together. On GitHub the diagram below renders as a mermaid flowchart; on this site it’s shown as plain text for reference.
Build a new feature
flowchart LR
FI["@feature-investigator\nspec / PRD-lite"]
LA["@saas-legal-advisor *(if data/payments/integrations)*\nlegal impact → doc updates"]
UX["@ux-designer\nflows · wireframes · IA"]
FG["@figma-designer *(optional)*\nFigma frames + tokens"]
FA["@frontend-architect\ncomponent architecture"]
SP["/save-plan → docs/plans/\nTaskCreate tracked steps"]
BD["@backend-developer"]
FE["@frontend-developer"]
CR["@code-reviewer\nconventions + security"]
FI --> LA
FI --> UX
LA --> SP
UX --> FG
UX --> FA
FG --> FA
FA --> SP
SP --> BD & FE
BD --> CR
FE --> CR
@feature-investigator→ requirements/scope (spec/PRD-lite) before any code.@saas-legal-advisor(if the feature touches user data, payments, third-party integrations, or account types) → runs in parallel with UX design; produces an impact table (Critical/Important/Advisory) and drafts updated legal clauses. Saves the assessment todocs/legal/. Legal doc updates ship before or with the feature — not after.@ux-designer→ user flows, journey map, IA, wireframes, state matrix, and interaction specs. Reads.claude/design-conventions.md; flags design-system gaps for@frontend-architect. Saves the spec todocs/solutions/.@figma-designer(optional) → materializes the UX spec into Figma frames, components, auto-layout, and tokens via the official Figma MCP.@frontend-architect→ component/rendering/state architecture informed by the UX spec; resolves any design-system gaps flagged upstream.- Plan it — a diagram-rich plan (mermaid), then
/save-plan→docs/plans/. TaskCreate a tracked task list from the plan’s phased steps so status is visible; TaskUpdate each task as it completes. - Implement —
@backend-developerand/or@frontend-developerwrite + verify the code; Tier-1rules/<lang>.mdauto-load per file type. @code-reviewer→ checks correctness, security, and adherence to the vendored conventions (file:line violations).
Review or debug existing code
@code-revieweron a diff — flags convention violations with file:line.@debuggerfor a failing test or stack trace — isolates root cause.
Design or implement infrastructure
@cloud-architectfor up-front design (new environment, migration, multi-cloud strategy) → design doc saved todocs/solutions/.@cloud-architectto audit existing infrastructure (cost, security, reliability, IaC drift) → review report saved todocs/architecture-reports/with Critical/Important/Advisory findings.@devops-engineerimplements the design or acts on the review’s findings — Terraform/Kubernetes manifests, Dockerfiles, CI config, edge security (Cloudflare WAF/DDoS/Zero Trust or the hyperscaler-native equivalent), and vulnerability/IaC/secrets scanning per the design.- Both prefer the AWS/Azure/DigitalOcean/Terraform/Kubernetes/Docker/
Cloudflare MCP servers when connected (see Enabling MCP),
falling back to the provider CLI otherwise. Google Cloud has no unified
official MCP server yet, so GCP work falls back to
gclouddirectly.
Make an architecture decision
@backend-architect(API/service) or@frontend-architect(component/rendering/state) produce a design doc → saved todocs/solutions/<date>-<slug>.md.@architect-reviewerevaluates an existing design → saved todocs/architecture-reports/<date>-<slug>.md.- Record the decision with
/adr(MADR) underdocs/adr/.
Assess legal impact before shipping a feature
Before a feature that touches user data, payments, or third-party services
ships, invoke @saas-legal-advisor with the feature description or PR diff.
It produces an impact table (Critical / Important / Advisory) mapping each
change to the specific legal document and clause affected, then drafts the
updated clause(s). Output saves to docs/legal/<date>-<slug>.md — update the
live documents before or alongside the feature, never after.
@saas-legal-advisor "We're adding Stripe Connect, storing payment method
tokens, and sending transactional emails via Resend — what needs to change
in our legal docs?"
Review or draft legal documents
- Audit:
@saas-legal-advisor "Audit our Privacy Policy against current GDPR requirements" - Draft:
@saas-legal-advisor "Write a Data Processing Agreement for enterprise customers" - The agent reads the project’s
CLAUDE.mdfor the declared primary jurisdiction and applies that framework first. Add secondary jurisdictions (e.g. GDPR for EU users) in your request or inCLAUDE.md.
New third-party integration
Any new SDK, API, or analytics tool is a legal event — it introduces a new
data processor and may require cookie consent, privacy policy updates, or
DPA amendments. Ask @saas-legal-advisor with the integration name before
the code ships.
Day-to-day coding in Go / Java / TS
Just open the file — language conventions auto-apply (Tier 1) and the
reviewer enforces them; no command needed. Claude pulls deeper references/
only for substantial work.
Keep costs down
Default opusplan (Opus plans, Sonnet executes); /model to switch,
/effort low for simple tasks, and delegate noisy work to subagents. See
Model & cost.
Review pull requests on GitHub (subscription-only, no API key)
Two paths — both work on Pro/Max, no ANTHROPIC_API_KEY needed:
| Path | Setup | When to use |
|---|---|---|
| Local on-demand | None — just be logged in | Quick reviews before a push, or when CI isn’t set up |
| Automated CI | claude setup-token → add secret → copy workflow |
Every PR auto-reviewed on open/push |
Local (works right now):
/code-review #<pr-number> --comment
Uses your /login subscription credentials. Posts inline comments on the PR
diff via the GitHub MCP server. No secret or token needed.
Automated CI: see
addit-digital/addit-actions
— a reusable workflow_call workflow. Copy the caller into any app repo’s
.github/workflows/, add CLAUDE_CODE_OAUTH_TOKEN as a repo secret
(claude setup-token → gh secret set), and Claude reviews every PR
automatically.
Caveats: CI runs consume your Pro/Max quota. The OAuth token (
setup-token) lasts ~1 year.
Connect Jira / a database
Enable the relevant server from mcp.example.json. See
Enabling MCP.
Set up a specific repo
Copy templates/CLAUDE.project.md → the repo’s ./CLAUDE.md for
codebase-specific facts (keep them out of global memory).