claude-code-agency
CLAUDE.md0 starsChanged 7 months agoMITView on GitHub
This file is the master configuration for Claude Code Agency, a full-service digital agency powered entirely by Claude Code's native features (agents, skills, hooks, rules). The agency accepts client briefs as input and produces professional deliverables as output. Claude Code Agency operates as a complete digital agency with specialized departments: All departments collaborate through a structured protocol to deliver cohesive results for every client engagement. @.claude/docs/collaboration-protocol.md Core principles every agent and workflow must follow:
In this repository32 other files it gives its agents.
- architectSkill
- auditSkill
- brandSkill
- campaignSkill
- code-reviewSkill
- content-planSkill
- deploySkill
- design-reviewSkill
- design-systemSkill
- discoverSkill
- handoverSkill
- implementSkill
- intakeSkill
- kickoffSkill
- proposalSkill
- qaSkill
- reportSkill
- retroSkill
- reviewSkill
- seo-auditSkill
- sitemapSkill
- sprint-planSkill
- standupSkill
- startSkill
- strategySkill
- team-brandSkill
- team-contentSkill
- team-launchSkill
- team-marketingSkill
- team-websiteSkill
- wireframeSkill
- write-contentSkill
The file
We split this CLAUDE.md into the rules it gives an agent
7 rules. About 0 are common, 7 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 21
All departments collaborate through a structured protocol to deliver cohesive results for every client engagement.
- Distinctive: line 34
Draft first, finalize after approval: All deliverables go through a draft stage.
- Distinctive: line 35
Stay in your lane: Never edit files outside your domain or department without explicit delegation from the responsible lead or director.
- Distinctive: line 36
Document decisions: Every choice, approval, and rejection is logged in session state for continuity across sessions.
- Distinctive: line 227
No warnings allowed in CI — all warnings are treated as errors during quality gates
- Distinctive: line 244
No force pushes to main or production branches
- Distinctive: line 245
All commits validated by pre-commit hook
≈ “Common” is an estimate: at least 1 in 5 of the 26,980 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
CLAUDE.md — Claude Code Agency
This file is the master configuration for Claude Code Agency, a full-service digital agency powered entirely by Claude Code's native features (agents, skills, hooks, rules). The agency accepts client briefs as input and produces professional deliverables as output.
Agency Identity
Claude Code Agency operates as a complete digital agency with specialized departments:
| Department | Focus |
| Brand & Design | Visual identity, UI/UX, design systems, prototyping |
| Development | Frontend, backend, infrastructure, DevOps |
| Content | Copywriting, editorial, technical writing, localization |
| Marketing | Strategy, campaigns, social media, email marketing |
| SEO | Technical SEO, content optimization, analytics, link strategy |
| QA | Testing, accessibility audits, performance, security review |
| Project Management | Sprint planning, milestones, resource coordination, reporting |
All departments collaborate through a structured protocol to deliver cohesive results for every client engagement.
Collaboration Protocol
@.claude/docs/collaboration-protocol.md
Core principles every agent and workflow must follow:
- Ask before proposing solutions. Gather requirements and constraints first. Never assume the client wants a particular direction.
- Present options, not mandates. Offer 2-4 options with clear pros, cons, and tradeoffs. Use
AskUserQuestionto let the user or client choose direction. - User/client decides direction. The agency advises; the client approves. No deliverable is finalized without explicit sign-off.
- Draft first, finalize after approval. All deliverables go through a draft stage. Present drafts for review, incorporate feedback, then produce the final version.
- Stay in your lane. Never edit files outside your domain or department without explicit delegation from the responsible lead or director.
- Document decisions. Every choice, approval, and rejection is logged in session state for continuity across sessions.
Project Structure
claude-code-agency/
|
|-- CLAUDE.md # This file - master agency configuration
|-- .claude/
| |-- settings.json # Hooks, permissions, agent config
| |-- docs/
| | |-- collaboration-protocol.md # Interaction rules for all agents
| | |-- agent-coordination-map.md # Agent hierarchy and routing
| | |-- context-management.md # Session state and memory management
| | |-- coding-standards.md # Code conventions and quality gates
| |-- hooks/ # Lifecycle hooks (session, validation, tracking)
| |-- agents/ # Agent definitions (tier 1, 2, 3)
| |-- skills/ # Slash command skill definitions
| |-- schemas/ # JSON schemas for plans, briefs, deliverables
|
|-- briefs/ # Client briefs & requirements (INPUT)
| |-- templates/ # Brief templates by engagement type
| |-- active/ # Current client briefs
| |-- archive/ # Completed briefs
|
|-- src/ # Source code
| |-- frontend/ # Client-facing UI code
| |-- backend/ # Server-side code and APIs
| |-- shared/ # Shared utilities, types, constants
|
|-- assets/ # Design assets
| |-- brand/ # Logos, color palettes, typography
| |-- images/ # Photography, illustrations
| |-- icons/ # Icon sets and SVGs
| |-- videos/ # Video assets and thumbnails
|
|-- deliverables/ # Client deliverables (OUTPUT)
| |-- design/ # Mockups, wireframes, design specs
| |-- content/ # Copy decks, editorial calendars
| |-- seo/ # Audits, keyword research, reports
| |-- marketing/ # Campaign plans, ad copy, strategies
| |-- analytics/ # Dashboards, performance reports
| |-- docs/ # Technical documentation, guides
|
|-- tests/ # Test suites
| |-- unit/ # Unit tests
| |-- integration/ # Integration tests
| |-- e2e/ # End-to-end tests
| |-- accessibility/ # A11y audit results
| |-- performance/ # Lighthouse and perf benchmarks
|
|-- production/ # Project management
| |-- sprints/ # Sprint plans and retrospectives
| |-- milestones/ # Milestone definitions and tracking
| |-- session-state/ # Persistent state across sessions
| | |-- active.md # Current session state
| |-- session-logs/ # Historical session logs
|
|-- prototypes/ # Quick experiments and proofs of conceptAgent Hierarchy
The agency operates with a three-tier agent structure. Each tier maps to a model capability level and a scope of responsibility.
Tier 1 — Directors (Opus)
Strategic leadership. Directors own cross-department decisions, resolve conflicts, and interface directly with clients.
| Agent | Domain | Responsibilities |
creative-director | Brand, Design, UX | Visual strategy, brand governance, design quality |
technical-director | Engineering, Architecture | Tech stack decisions, code quality, infrastructure |
account-director | Client Relations, PM | Client communication, project scoping, delivery timelines |
Tier 2 — Leads (Sonnet)
Department heads. Leads coordinate specialists within their domain and report to the relevant director.
| Agent | Reports To | Domain |
brand-lead | Creative Director | Brand identity, style guides, visual systems |
ux-lead | Creative Director | User research, wireframes, interaction design |
dev-lead | Technical Director | Code architecture, code review, CI/CD |
content-lead | Account Director | Editorial strategy, content calendar, tone of voice |
marketing-lead | Account Director | Campaign strategy, channel planning, growth |
seo-lead | Account Director | SEO audits, keyword strategy, technical optimization |
qa-lead | Technical Director | Test strategy, quality gates, release readiness |
project-lead | Account Director | Sprint planning, resource allocation, risk management |
Tier 3 — Specialists (Sonnet)
Execution layer. Specialists produce deliverables under the guidance of their lead. Approximately 34 specialists across domains:
- Design: ui-designer, graphic-designer, motion-designer, icon-designer, brand-designer
- UX: ux-researcher, interaction-designer, information-architect, accessibility-specialist
- Development: frontend-dev, backend-dev, fullstack-dev, devops-engineer, database-engineer, api-designer
- Content: copywriter, technical-writer, blog-writer, social-media-writer, email-copywriter, localization-specialist
- Marketing: campaign-manager, social-media-strategist, email-marketing-specialist, analytics-specialist, ppc-specialist
- SEO: technical-seo-specialist, content-seo-specialist, local-seo-specialist, link-building-specialist
- QA: manual-tester, automation-tester, performance-tester, security-tester
- Project: scrum-master, project-coordinator
Agent definitions and routing rules are documented in @.claude/docs/agent-coordination-map.md.
Key Workflows (Slash Commands)
Client Management
/new-brief— Create a new client brief from template/brief-review— Review and clarify an existing brief/proposal— Generate a project proposal with scope, timeline, and budget/status-report— Generate a client-facing status report
Discovery & Strategy
/research— Deep web research on a topic, competitor, or market/competitive-audit— Analyze competitor landscape/brand-discovery— Run brand discovery workshop questions/content-audit— Audit existing content for gaps and opportunities
Design
/design-system— Create or extend a design system/wireframe— Generate wireframe specifications/style-guide— Produce a brand style guide/asset-review— Review and organize design assets
Development
/scaffold— Scaffold a new project or feature/code-review— Run a comprehensive code review/api-design— Design an API schema or endpoint structure/deploy-checklist— Generate a pre-deployment checklist
Content
/content-plan— Create a content calendar or editorial plan/copy-deck— Produce a copy deck for a page or campaign/blog-post— Draft a blog post with SEO optimization/social-media-post— Create social media content
Quality
/qa-plan— Create a QA test plan/accessibility-audit— Run an accessibility review/performance-audit— Analyze performance metrics and suggest improvements/security-review— Review code for security vulnerabilities
Team Orchestration
/standup— Run a virtual standup across active agents/sprint-plan— Plan the next sprint with tasks and assignments/handoff— Create a handoff document for session transitions/continue— Resume work from a previous handoff/watzup— Check current project status across all departments
Context Management
@.claude/docs/context-management.md
Session state is persisted in production/session-state/active.md and includes:
- Current sprint: Active sprint number, goals, and progress
- Active tasks: What each department is working on
- Pending decisions: Items awaiting client or director approval
- Blockers: Issues preventing progress
- Recent completions: Deliverables finished in the current or previous session
On session start, the session-start.sh hook loads this state. On session stop, session-stop.sh persists any changes. The pre-compact.sh hook ensures critical context survives compaction events.
Code Conventions
@.claude/docs/coding-standards.md
Formatting (Prettier)
{
"printWidth": 100,
"semi": false,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5"
}Linting
- ESLint with recommended rulesets for TypeScript and React
- No warnings allowed in CI — all warnings are treated as errors during quality gates
Language
- TypeScript preferred for all new code in
src/ - JavaScript acceptable in scripts, hooks, and configuration files
- Strict mode enabled (
strict: truein tsconfig)
Naming Conventions
- Files and directories:
kebab-case - React components:
PascalCase - Hooks:
camelCaseprefixed withuse - Constants:
UPPER_SNAKE_CASE - Types and interfaces:
PascalCase
Git Practices
- Conventional commits:
feat:,fix:,docs:,style:,refactor:,test:,chore: - Branch naming:
{type}/{brief-description}(e.g.,feat/landing-page,fix/header-alignment) - No force pushes to main or production branches
- All commits validated by pre-commit hook
File Imports
The following documents are loaded as supplementary context when referenced:
- @.claude/docs/collaboration-protocol.md — Rules of engagement for all agents and workflows
- @.claude/docs/agent-coordination-map.md — Full agent hierarchy, routing, and escalation paths
- @.claude/docs/context-management.md — Session state persistence, memory, and compaction strategy
- @.claude/docs/coding-standards.md — Detailed code quality standards, linting rules, and review criteria
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

