Workspace Agents
This workspace defines Cursor agents (custom subagents) organised by tool or theme. Agents complement Project Rules in .cursor/rules/ and provide repeatable workflows for specific tasks.
Sync: Every agent in .cursor/agents/ must have a doc page here. Run npm run verify-agents-sync (in docusaurus/) to check. See .cursor/plans/README.md → "When you create a new agent".
Agent Types
| Type | Workspace | Context source | MCP required |
|---|---|---|---|
| Full-workspace | TechStackMain (this repo) | Local files, rules, docs | Varies by agent |
| MCP only | Minimal (client projects) | pacing-docs search | pacing-docs; Webflow for Webflow agents |
MCP-only agents run in workspaces with only pacing-docs MCP (and Webflow MCP for Webflow agents). They search for context instead of reading local files. Copy .cursor/agents/mcp-*.md into the client workspace.
Adapting agents for clients
Agents are designed to work across client projects. Do not hardcode Pacing-specific IDs (site IDs, collection IDs, GTM container IDs, n8n host URLs) in agent definitions or documentation. Instead:
- Obtain from user: Ask for site ID, collection IDs, container IDs, or n8n host at runtime. Agents should prompt for these when missing.
- Use MCP tools: Webflow
sites_list,collections_list; GTM exports; n8n API — to discover client-specific values. - Search hints only: In MCP agents, use search hints (e.g. "Webflow CMS collections structure") to find documentation patterns, not client IDs.
- Client-specific docs: When working in a client workspace, the client may have their own
architecture.md,tools/*.md, or CMS documentation with their IDs. Prefer those over Pacing defaults.
Pacing's own IDs (e.g. pacing.agency Webflow site, GTM containers, n8n.pacing.agency) appear only in internal docs (architecture, tools, guides) as examples. Agent prompts and agent documentation should remain client-agnostic.
Categories
Agents are organised by the tool they use or their main theme:
| Category | Overview | Agents |
|---|---|---|
| Documentation | Auditing and fixing markdown docs | Docs Page Auditor, Docs Page Fixer |
| Webflow | Content, keywords, SEO metadata | Keyword Content Page, SEO Metadata Auditor (+ MCP versions) |
| n8n | Workflow design and review | n8n Workflow Designer (+ MCP version) |
| GTM | Tracking implementation audits | GTM Tracking Auditor (+ MCP version) |
| Strategy | Tech stack proposals | Client Tech Stack Proposal (+ MCP version) |
Each category has an overview page listing all agents with Workspace (Full vs MCP only) and MCP required.
MCP Requirements Summary
| MCP | Used by |
|---|---|
| pacing-docs | All MCP-only agents (search for context) |
| Webflow | Webflow Keyword Content Page, Webflow SEO Metadata Auditor (full and MCP) |
Search hints (for MCP agents)
MCP agents use pacing-docs search to find context. Use these search hints (not client IDs) in agent definitions:
| Area | Search hint |
|---|---|
| Webflow | "Webflow CMS collections structure", "Webflow content guidelines", "Webflow MCP keyword optimizer" |
| GTM | "GTM event specification lead_form_submit", "GTM _c_pca identity", "Pacing GTM template" |
| GA4 | "GA4 measurement ID sGTM" |
| n8n | "n8n new workflow prompt", "n8n webhook URL", "n8n workflow documentation" |
| Identity | "GTM _c_pca client ID" |
| Consent | "Termly consent GTM userPrefUpdate" |
Client-specific values (site ID, collection IDs, container IDs, n8n host) must be obtained from the user or discovered via MCP tools at runtime. Do not hardcode them in agents.
Core Design Pattern (Audit → Approve → Apply)
For docs automation that could change source files:
- Audit agent reads the target, loads context, checks against standards, and writes an audit + proposed draft.
- Human review happens in the queue folder.
- Fixer agent applies only approved drafts, creates backups, and verifies parity.
Setup Patterns (How to Create New Agents)
- Agent files live in
.cursor/agents/(lowercase, hyphenated names). - Make outputs explicit (e.g. queue under
.cursor/plans/). - For MCP agents: include core references and a mandatory search step.
- Enforce source-of-truth mapping for any agent that touches docs.
Related Documentation
- Project Rules (see Project Rules and Workspace Agents sections)
- Repository Structure
- Content Editing Prompt
- Cursor Workspace Setup (MCP configuration)