# Claude Code Agency Kit

> Subagents, slash commands, hooks and guard rails for client web projects.

A complete Claude Code setup for agencies and freelancers: 10 subagents, 8 slash commands, 3 skills, 6 hooks and CLAUDE.md templates for Next.js, WordPress, Shopify and landing pages.

- Type: Agent Kit
- Price: €99, one-time purchase, 12 months of updates, downloads forever
- URL: https://provencart.com/products/claude-code-agency-kit

## Your agency's standards, built into Claude Code

Most teams use Claude Code the same way on every client project: an empty `.claude/` folder, a `CLAUDE.md` someone wrote in a hurry, and a lot of retyped instructions. The agent doesn't know your QA process or your client's form of address, and it doesn't know that `wp search-replace` against production is a bad idea. Then every developer ends up working a little differently.

The Claude Code Agency Kit gives every client repository the same setup in one command. That covers specialist subagents, the slash commands for recurring agency work, guard rails in hooks and permissions, and `CLAUDE.md` templates for the four project types agencies ship most.

## What you get

- **10 subagents** with proper frontmatter (`name`, `description`, `tools`, `model`): code-reviewer, security-reviewer, test-writer, seo-auditor, accessibility-auditor (WCAG 2.2 AA, relevant for the European Accessibility Act), performance-auditor (Core Web Vitals), bilingual DE/EN copy-editor, migration-planner, client-report-writer and dependency-updater. Auditors are read-only by design.
- **8 slash commands**: `/kickoff`, `/audit`, `/qa-pass`, `/changelog`, `/client-update`, `/estimate`, `/handover`, `/maintenance`. Each one takes `$ARGUMENTS` and delegates to the right subagents.
- **3 skills**: client-handover (with a complete handover template), release-notes (with a commit-grouping script) and site-launch (a five-phase go-live checklist including legal pages, consent and redirects).
- **6 hooks**: block edits to `.env`, keys, lockfiles and `wp-config.php`. Block destructive shell commands and ask before anything that touches production. Format with the project's own Prettier, Biome or phpcbf. Run `tsc --noEmit` and `php -l` before Claude stops. Add a project snapshot at session start, and send a desktop notification when Claude waits for you.
- **settings.json** with considered allow, ask and deny lists. Your agents can run tests without asking. They can't read secrets, force-push or run a deploy script without confirmation.
- **5 CLAUDE.md templates**: agency-wide rules plus Next.js, WordPress/WooCommerce, Shopify theme and landing page. `/kickoff` fills them from the codebase and your answers.
- **4 MCP configurations** (Playwright, Chrome DevTools, Context7, GitHub, Vercel, Sentry, Shopify Dev, staging-only WordPress). Tokens come from environment variables.
- **3 playbooks**: onboarding a client project, QA before launch, monthly maintenance.

## Installs without breaking anything

`install.sh` (macOS, Linux, WSL) and `install.ps1` (Windows) install into a project or into `~/.claude`. They detect the stack and back up every file before overwriting it. Your existing `settings.json` and `.mcp.json` get merged, not replaced, and `--dry-run` shows every action first. Run it again later and it reports what changed. An existing `CLAUDE.md` is never overwritten.

## How it changes the week

A new client repo gets `/kickoff`. An inherited one also gets `/audit all` against staging, so you can document the state at takeover before anyone blames you for it. Change requests go through `/estimate`, which reads the code before it quotes hours. On Friday, `/client-update 7d de` drafts the status mail from real commits. Once a month, `/maintenance` runs updates in small verified batches and writes the client report.

## Honest limits

Hooks and permissions are guard rails, not a sandbox. Audits don't replace a screen reader test, a penetration test or real-user performance data. The agents say what they could and couldn't check. All files are plain Markdown, JSON, bash and Node.js, so you can read and change every line.

## Outcomes

- Every client repo gets the same agents, commands and guard rails in one command
- Audits for SEO, accessibility, performance and security before every launch
- Client status mails, handovers and maintenance reports drafted from real git history
- Secrets, lockfiles and production systems protected by hooks, not by hope
- Estimates based on the actual code instead of gut feeling

## Features

- **10 specialist subagents**: Reviewer, security, tests, SEO, accessibility, performance, DE/EN copy, migrations, client reports and dependency updates, each with a clear checklist and output format.
- **8 agency slash commands**: /kickoff, /audit, /qa-pass, /changelog, /client-update, /estimate, /handover and /maintenance cover the recurring work of a client project.
- **Guard-rail hooks**: Protected files, a bash guard that blocks or asks before risky commands, format on edit and a typecheck before Claude stops.
- **Templates per project type**: CLAUDE.md templates for Next.js, WordPress/WooCommerce, Shopify themes and landing pages, plus agency-wide rules for every project.
- **Launch, handover and release skills**: A five-phase go-live checklist, a complete handover template and a script that groups commits into release notes.
- **Safe installer**: Project or user scope, stack detection, backups of every overwritten file, merged settings and --dry-run. Bash and PowerShell.

## Who it is for

- Web agencies running several client projects with Claude Code
- Freelance developers who want agency-grade QA and reporting
- Tech leads who need one shared Claude Code setup for the whole team
- Teams maintaining WordPress, WooCommerce or Shopify sites on retainer

## What's inside

- `kit/.claude/agents/`: 10 subagents (Markdown with name, description, tools, model)
- `kit/.claude/commands/`: 8 slash commands using $ARGUMENTS
- `kit/.claude/skills/`: 3 skills: client-handover, release-notes, site-launch
- `kit/.claude/hooks/`: 6 hook scripts (bash and Node.js) plus a shared helper
- `kit/.claude/settings.json`: Permissions (allow, ask, deny) and hook wiring
- `kit/templates/`: 5 CLAUDE.md templates: agency, Next.js, WordPress, Shopify, landing page
- `kit/mcp/`: 4 .mcp.json examples per stack with a README
- `docs/`: 3 playbooks: onboarding, QA before launch, monthly maintenance
- `install.sh, install.ps1`: Installers with stack detection, backups, merge and --dry-run
- `README.md, README.de.md, LICENSE.md`: Setup, customisation and licence (EN and DE)

## Example: Preview the install

```bash
./install.sh --project ~/clients/acme-shop --client "Acme GmbH" --dry-run
```

```text
Claude Code Agency Kit 1.0.0
Mode:    project
Target:  /Users/you/clients/acme-shop
Stack:   nextjs (auto-detected; override with --stack)
Client:  Acme GmbH
Dry run: nothing will be changed.

==> Subagents
  create     .claude/agents/accessibility-auditor.md
  create     .claude/agents/client-report-writer.md
  ...
==> Settings (permissions + hooks)
  merge      .claude/settings.json (existing entries kept, backup saved)
==> CLAUDE.md
  keep       CLAUDE.md (exists; template written to CLAUDE.kit.md, /kickoff merges it)
  create     CLAUDE.kit.md
==> MCP servers (.mcp.json)
  create     .mcp.json

Dry run complete. Would create 37, update 1 (with backup), leave 0 unchanged.
```

## Installation

1. Unzip the kit, for example to `~/tools/claude-code-agency-kit`.
2. Install once for all your projects (agents, commands, skills, hooks, agency rules):

   ```bash
   cd ~/tools/claude-code-agency-kit
   ./install.sh --user --dry-run   # preview
   ./install.sh --user
   ```

3. Install into each client repository so the whole team shares the setup:

   ```bash
   ./install.sh --project ~/clients/acme-shop --client "Acme GmbH"
   ```

   The stack is detected automatically; override with `--stack nextjs|wordpress|shopify|landing`.

4. Open Claude Code in the project and run `/kickoff`.

Windows: `.\install.ps1 -User` and `.\install.ps1 -Project C:\clients\acme-shop -Client "Acme GmbH"` (needs Git for Windows and Node.js).

## Requirements

- Claude Code (current version)
- Node.js 18 or newer
- macOS, Linux or WSL with bash; on Windows Git for Windows and PowerShell 5.1+
- Optional: jq, git and your project's own tools (Prettier, Biome, TypeScript, PHP, WP-CLI, Shopify CLI)

## FAQ

**Which tools and versions does it work with?**

It's built for Claude Code and uses its standard formats: subagents in `.claude/agents/`, slash commands in `.claude/commands/`, skills in `.claude/skills/`, and hooks and permissions in `settings.json`. The installer runs on macOS, Linux and WSL with bash, and on Windows with PowerShell. Claude Code runs the hooks there through Git Bash. The stack templates cover Next.js, WordPress/WooCommerce, Shopify themes and static or Astro landing pages.

**Will it overwrite my existing Claude Code setup?**

No. Every file the installer would change is backed up first. Your `settings.json` and `.mcp.json` are merged, so your rules and servers stay. An existing project `CLAUDE.md` is never overwritten; the template goes to `CLAUDE.kit.md`. Run `--dry-run` to see every action before anything happens.

**Can I change the agents, commands and hooks?**

Yes, everything is plain Markdown, JSON, bash and Node.js. Edit checklists, output formats or models, add your own protected paths in `.claude/protected-paths`, and set a custom stop check with `AGENCY_KIT_STOP_CMD`. Each hook can also be switched off per session with an environment variable.

**Are the hooks a security guarantee?**

No. They're guard rails that catch the common mistakes: editing secrets, force pushes, production commands, printing `.env` files. A determined command can get around pattern matching. Keep production credentials off developer machines, and use Claude Code's sandbox where you need hard isolation.

**May I use it in client projects?**

Yes. The licence covers unlimited projects of your own and for your clients, including your employees and contractors. Clients can keep using the kit in the delivered project. What you can't do is resell, sublicense or publish the kit files themselves.

**How do updates work?**

The one-time purchase includes 12 months of updates, and your downloads stay available forever. To update, unzip the new version and run the installer again. Unchanged files are skipped, changed ones are backed up, and merged settings keep your additions.

**Can I get a refund?**

It's digital content that you can download straight away. At checkout you agree that delivery starts immediately and that your right of withdrawal expires (§ 356 (5) BGB). If something doesn't work in your setup, write to us and we'll help you get it running.

Keywords: Claude Code, Claude Code subagents, Claude Code hooks, slash commands, CLAUDE.md template, agency workflow, web agency AI, WordPress, Shopify theme, Next.js, accessibility audit, client handover, website maintenance, MCP
