Skip to content

feat: add 156 specialist agent catalog with setup integration and /design skill enhancement#34

Open
jakub-kaspar-git wants to merge 4 commits intostranma:masterfrom
jakub-kaspar-git:feature/agent-catalog-full
Open

feat: add 156 specialist agent catalog with setup integration and /design skill enhancement#34
jakub-kaspar-git wants to merge 4 commits intostranma:masterfrom
jakub-kaspar-git:feature/agent-catalog-full

Conversation

@jakub-kaspar-git
Copy link
Copy Markdown

@jakub-kaspar-git jakub-kaspar-git commented Mar 24, 2026

Summary

  • Add a catalog of 156 specialist AI agents (converted from The Agency) that users can selectively install during project setup
  • Extend setup_project.py with --agents flag for category-based agent selection (interactive + CLI)
  • Enhance /design skill to optionally load specialist agents for domain-specific planning

Motivation

The template ships with 6 built-in workflow agents (code-quality, test-coverage, pr-writer, etc.) that handle the development process. However, users working in specific domains (frontend, DevOps, security, game dev, marketing, etc.) lack access to domain-specific expertise during planning and implementation.

The agency-agents repository provides 152+ production-ready AI agent personalities covering 14 professional domains. This PR integrates them into the template as an optional, selectable catalog -- users pick what they need during setup_project.py, keeping the default template lean.

Architecture

.claude/
  agents/               # Active agents (6 built-in + user-selected from catalog)
  agent-catalog/        # 156 converted agents organized by category (removed after setup)
    manifest.json       # Category index for programmatic access
    engineering/        # 23 agents
    marketing/          # 27 agents
    ...                 # 12 more categories

Key design decisions:

  • Catalog lives in .claude/agent-catalog/ which is NOT scanned by Claude Code (only .claude/agents/ is)
  • Selected agents are copied into .claude/agents/ during setup, then the catalog is deleted
  • All agents are converted to the template's format (YAML frontmatter with model, tools, permissionMode) -- not used as-is from source
  • Conversion is reproducible via scripts/convert_agents.py against the source repo

Changes

Features

Commit 1 -- Conversion tooling (scripts/convert_agents.py, scripts/validate_agents.py)

  • convert_agents.py: Bulk-converts agency-agents Markdown to template format
    • Maps frontmatter fields (name -> kebab-case slug, adds model/tools/permissionMode)
    • Strips emoji from headers, drops personality sections (Identity & Memory, Communication Style)
    • Keeps actionable sections (Core Mission, Critical Rules, Workflow Process)
    • Assigns model/permission heuristics by category (engineering -> acceptEdits, testing -> dontAsk)
    • Generates manifest.json catalog index
  • validate_agents.py: Validates all converted agents have correct frontmatter and structure

Commit 2 -- Agent catalog (.claude/agent-catalog/)

  • 156 converted agents across 14 categories:

    Category Count Focus
    engineering 23 Frontend, backend, DevOps, security, AI/ML, databases
    marketing 27 Growth, content, social media, SEO
    specialized 27 Orchestration, governance, blockchain, compliance
    game-development 20 Godot, Unity, Unreal, Roblox, Blender
    design 8 UI/UX, brand, visual storytelling
    testing 8 QA, performance, accessibility
    sales 8 Outbound, discovery, pipeline
    paid-media 7 PPC, tracking, programmatic
    spatial-computing 6 AR/VR/XR, visionOS
    project-management 6 Studio production, experiment tracking
    support 6 Customer success, analytics
    academic 5 History, anthropology, psychology
    product 5 Sprint planning, feedback synthesis
  • All auto-generated by scripts/convert_agents.py -- reviewer should spot-check 2-3 agents per category rather than reviewing all 156

Commit 3 -- Setup integration (setup_project.py, README.md)

  • New --agents CLI flag: all, none, or comma-separated categories
  • New --keep-catalog flag to preserve catalog after setup
  • Interactive mode: numbered category selector when running without args
  • Functions: install_agent_catalog(), cleanup_agent_catalog(), list_agent_categories()

Commit 4 -- /design skill enhancement (.claude/skills/design/SKILL.md)

  • New Step 0: "Load Specialist Agent" parses using <agent-name> from input
  • Searches .claude/agents/ then .claude/agent-catalog/**/ for the agent file
  • Extracts Core Mission, Critical Rules, Workflow Process as domain context
  • When no agent specified, suggests relevant specialists from manifest
  • Example: /design build responsive dashboard using engineering-frontend-developer

Tests

  • 43 unit tests covering: frontmatter parsing, slugification, emoji stripping, model/permission heuristics, body transformation, full agent conversion, validation
  • 4 integration tests verifying all 156 catalog agents pass validation and match manifest counts
  • 8 setup integration tests for install, cleanup, category listing, edge cases (missing catalog, unknown category)
  • Total: 51 tests, all passing

Documentation

  • README.md: New "Agent Catalog" section with usage examples, category table, and --agents/--keep-catalog flags

Test Plan

  • All existing tests pass (uv run pytest)
  • All 51 new tests pass (python -m pytest tests/test_agent_catalog.py -v)
  • All 156 agents pass validation (python scripts/validate_agents.py .claude/agent-catalog/)
  • Manual: run setup_project.py --name test --agents engineering,testing --keep-setup --keep-catalog in temp dir, verify agents land in .claude/agents/
  • Manual: verify /design build API using engineering-backend-architect loads agent context

Acceptance Criteria

  • All 156 agents converted to template format with valid frontmatter
  • setup_project.py --agents all installs all agents to .claude/agents/
  • setup_project.py --agents none (default) changes nothing -- template stays lean
  • Catalog directory is removed after setup (unless --keep-catalog)
  • Interactive mode presents category selection when no --agents flag
  • /design skill loads specialist agent when using <name> is provided
  • /design suggests relevant agents when no specialist specified
  • Conversion is reproducible: scripts/convert_agents.py can regenerate the catalog

Reviewer Guide

This PR adds 163 files / ~35K lines, but most of it is auto-generated agent content. Here's how to review efficiently:

  1. Review carefully (human-written code, ~1500 lines):

    • scripts/convert_agents.py -- conversion logic and heuristics
    • scripts/validate_agents.py -- validation rules
    • setup_project.py diff -- new functions and CLI integration
    • tests/test_agent_catalog.py -- test coverage
    • .claude/skills/design/SKILL.md diff -- skill enhancement
    • README.md diff -- documentation
  2. Spot-check (auto-generated, ~34K lines):

    • Pick 2-3 agents from different categories in .claude/agent-catalog/
    • Verify frontmatter has name, model, tools, permissionMode, color
    • Verify body is actionable (no emoji in headers, no personality fluff)
    • manifest.json -- verify category counts match directory contents
  3. Skip (verified by automated tests):

    • Individual content of all 156 agent files -- validated by test_all_agents_valid

Generated with Claude Code

jakub-kaspar-git and others added 4 commits March 24, 2026 23:33
Add scripts to convert agency-agents Markdown files to the template's
structured agent format and validate the output.

- scripts/convert_agents.py: Bulk-converts agents with frontmatter
  mapping, emoji stripping, section filtering, model/tools/permission
  heuristics
- scripts/validate_agents.py: Validates converted agents have correct
  YAML frontmatter with required fields and valid values
- tests/test_agent_catalog.py: 43 tests covering parsing, slugification,
  body transformation, conversion, and validation

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Auto-generated via `scripts/convert_agents.py` from the agency-agents
repository (https://github.com/webdevtodayjason/agency-agents).

156 agents across 14 categories:
- academic (5), design (8), engineering (23), game-development (20)
- marketing (27), paid-media (7), product (5), project-management (6)
- sales (8), spatial-computing (6), specialized (27)
- support (6), testing (8)

Each agent is converted to the template format with:
- Structured YAML frontmatter (model, tools, permissionMode, color)
- Action-oriented body (personality sections stripped/condensed)
- Category-prefixed kebab-case naming

Includes manifest.json for programmatic catalog access.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Extend the setup script so users can select which agent categories to
install during project initialization.

Changes:
- setup_project.py: Add --agents flag (all/none/comma-separated),
  --keep-catalog flag, interactive category selector, install and
  cleanup functions
- README.md: Document Agent Catalog feature with usage examples and
  category table
- tests/test_agent_catalog.py: Add setup integration tests (install,
  cleanup, list categories)

Usage:
  python setup_project.py --name my-project --agents all
  python setup_project.py --name my-project --agents "engineering,testing"

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Add Step 0 to /design that optionally loads a specialist agent from the
agent catalog for domain-specific planning expertise.

Usage:
  /design build login page using engineering-frontend-developer
  /design optimize queries using engineering-database-optimizer

When an agent is loaded, its Core Mission, Critical Rules, and Workflow
Process are incorporated into the plan's approach, risks, and priorities.
When no agent is specified, suggests relevant specialists from the catalog.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 24, 2026

Important

Review skipped

Too many files!

This PR contains 163 files, which is 13 over the limit of 150.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 649a0355-a5ea-4d10-9868-fce56f51b220

📥 Commits

Reviewing files that changed from the base of the PR and between 8ddfb21 and 810ad4d.

📒 Files selected for processing (163)
  • .claude/agent-catalog/academic/academic-anthropologist.md
  • .claude/agent-catalog/academic/academic-geographer.md
  • .claude/agent-catalog/academic/academic-historian.md
  • .claude/agent-catalog/academic/academic-narratologist.md
  • .claude/agent-catalog/academic/academic-psychologist.md
  • .claude/agent-catalog/design/design-brand-guardian.md
  • .claude/agent-catalog/design/design-image-prompt-engineer.md
  • .claude/agent-catalog/design/design-inclusive-visuals-specialist.md
  • .claude/agent-catalog/design/design-ui-designer.md
  • .claude/agent-catalog/design/design-ux-architect.md
  • .claude/agent-catalog/design/design-ux-researcher.md
  • .claude/agent-catalog/design/design-visual-storyteller.md
  • .claude/agent-catalog/design/design-whimsy-injector.md
  • .claude/agent-catalog/engineering/engineering-ai-data-remediation-engineer.md
  • .claude/agent-catalog/engineering/engineering-ai-engineer.md
  • .claude/agent-catalog/engineering/engineering-autonomous-optimization-architect.md
  • .claude/agent-catalog/engineering/engineering-backend-architect.md
  • .claude/agent-catalog/engineering/engineering-code-reviewer.md
  • .claude/agent-catalog/engineering/engineering-data-engineer.md
  • .claude/agent-catalog/engineering/engineering-database-optimizer.md
  • .claude/agent-catalog/engineering/engineering-devops-automator.md
  • .claude/agent-catalog/engineering/engineering-embedded-firmware-engineer.md
  • .claude/agent-catalog/engineering/engineering-feishu-integration-developer.md
  • .claude/agent-catalog/engineering/engineering-frontend-developer.md
  • .claude/agent-catalog/engineering/engineering-git-workflow-master.md
  • .claude/agent-catalog/engineering/engineering-incident-response-commander.md
  • .claude/agent-catalog/engineering/engineering-mobile-app-builder.md
  • .claude/agent-catalog/engineering/engineering-rapid-prototyper.md
  • .claude/agent-catalog/engineering/engineering-security-engineer.md
  • .claude/agent-catalog/engineering/engineering-senior-developer.md
  • .claude/agent-catalog/engineering/engineering-software-architect.md
  • .claude/agent-catalog/engineering/engineering-solidity-smart-contract-engineer.md
  • .claude/agent-catalog/engineering/engineering-sre.md
  • .claude/agent-catalog/engineering/engineering-technical-writer.md
  • .claude/agent-catalog/engineering/engineering-threat-detection-engineer.md
  • .claude/agent-catalog/engineering/engineering-wechat-mini-program-developer.md
  • .claude/agent-catalog/game-development/game-development-blender-add-on-engineer.md
  • .claude/agent-catalog/game-development/game-development-game-audio-engineer.md
  • .claude/agent-catalog/game-development/game-development-game-designer.md
  • .claude/agent-catalog/game-development/game-development-godot-gameplay-scripter.md
  • .claude/agent-catalog/game-development/game-development-godot-multiplayer-engineer.md
  • .claude/agent-catalog/game-development/game-development-godot-shader-developer.md
  • .claude/agent-catalog/game-development/game-development-level-designer.md
  • .claude/agent-catalog/game-development/game-development-narrative-designer.md
  • .claude/agent-catalog/game-development/game-development-roblox-avatar-creator.md
  • .claude/agent-catalog/game-development/game-development-roblox-experience-designer.md
  • .claude/agent-catalog/game-development/game-development-roblox-systems-scripter.md
  • .claude/agent-catalog/game-development/game-development-technical-artist.md
  • .claude/agent-catalog/game-development/game-development-unity-architect.md
  • .claude/agent-catalog/game-development/game-development-unity-editor-tool-developer.md
  • .claude/agent-catalog/game-development/game-development-unity-multiplayer-engineer.md
  • .claude/agent-catalog/game-development/game-development-unity-shader-graph-artist.md
  • .claude/agent-catalog/game-development/game-development-unreal-multiplayer-architect.md
  • .claude/agent-catalog/game-development/game-development-unreal-systems-engineer.md
  • .claude/agent-catalog/game-development/game-development-unreal-technical-artist.md
  • .claude/agent-catalog/game-development/game-development-unreal-world-builder.md
  • .claude/agent-catalog/manifest.json
  • .claude/agent-catalog/marketing/marketing-ai-citation-strategist.md
  • .claude/agent-catalog/marketing/marketing-app-store-optimizer.md
  • .claude/agent-catalog/marketing/marketing-baidu-seo-specialist.md
  • .claude/agent-catalog/marketing/marketing-bilibili-content-strategist.md
  • .claude/agent-catalog/marketing/marketing-book-co-author.md
  • .claude/agent-catalog/marketing/marketing-carousel-growth-engine.md
  • .claude/agent-catalog/marketing/marketing-china-ecommerce-operator.md
  • .claude/agent-catalog/marketing/marketing-content-creator.md
  • .claude/agent-catalog/marketing/marketing-cross-border-ecommerce.md
  • .claude/agent-catalog/marketing/marketing-douyin-strategist.md
  • .claude/agent-catalog/marketing/marketing-growth-hacker.md
  • .claude/agent-catalog/marketing/marketing-instagram-curator.md
  • .claude/agent-catalog/marketing/marketing-kuaishou-strategist.md
  • .claude/agent-catalog/marketing/marketing-linkedin-content-creator.md
  • .claude/agent-catalog/marketing/marketing-livestream-commerce-coach.md
  • .claude/agent-catalog/marketing/marketing-podcast-strategist.md
  • .claude/agent-catalog/marketing/marketing-private-domain-operator.md
  • .claude/agent-catalog/marketing/marketing-reddit-community-builder.md
  • .claude/agent-catalog/marketing/marketing-seo-specialist.md
  • .claude/agent-catalog/marketing/marketing-short-video-editing-coach.md
  • .claude/agent-catalog/marketing/marketing-social-media-strategist.md
  • .claude/agent-catalog/marketing/marketing-tiktok-strategist.md
  • .claude/agent-catalog/marketing/marketing-twitter-engager.md
  • .claude/agent-catalog/marketing/marketing-wechat-official-account.md
  • .claude/agent-catalog/marketing/marketing-weibo-strategist.md
  • .claude/agent-catalog/marketing/marketing-xiaohongshu-specialist.md
  • .claude/agent-catalog/marketing/marketing-zhihu-strategist.md
  • .claude/agent-catalog/paid-media/paid-media-auditor.md
  • .claude/agent-catalog/paid-media/paid-media-creative-strategist.md
  • .claude/agent-catalog/paid-media/paid-media-paid-social-strategist.md
  • .claude/agent-catalog/paid-media/paid-media-ppc-strategist.md
  • .claude/agent-catalog/paid-media/paid-media-programmatic-buyer.md
  • .claude/agent-catalog/paid-media/paid-media-search-query-analyst.md
  • .claude/agent-catalog/paid-media/paid-media-tracking-specialist.md
  • .claude/agent-catalog/product/product-behavioral-nudge-engine.md
  • .claude/agent-catalog/product/product-feedback-synthesizer.md
  • .claude/agent-catalog/product/product-manager.md
  • .claude/agent-catalog/product/product-sprint-prioritizer.md
  • .claude/agent-catalog/product/product-trend-researcher.md
  • .claude/agent-catalog/project-management/project-management-experiment-tracker.md
  • .claude/agent-catalog/project-management/project-management-jira-workflow-steward.md
  • .claude/agent-catalog/project-management/project-management-project-shepherd.md
  • .claude/agent-catalog/project-management/project-management-senior-project-manager.md
  • .claude/agent-catalog/project-management/project-management-studio-operations.md
  • .claude/agent-catalog/project-management/project-management-studio-producer.md
  • .claude/agent-catalog/sales/sales-account-strategist.md
  • .claude/agent-catalog/sales/sales-coach.md
  • .claude/agent-catalog/sales/sales-deal-strategist.md
  • .claude/agent-catalog/sales/sales-discovery-coach.md
  • .claude/agent-catalog/sales/sales-engineer.md
  • .claude/agent-catalog/sales/sales-outbound-strategist.md
  • .claude/agent-catalog/sales/sales-pipeline-analyst.md
  • .claude/agent-catalog/sales/sales-proposal-strategist.md
  • .claude/agent-catalog/spatial-computing/spatial-computing-macos-spatialmetal-engineer.md
  • .claude/agent-catalog/spatial-computing/spatial-computing-terminal-integration-specialist.md
  • .claude/agent-catalog/spatial-computing/spatial-computing-visionos-spatial-engineer.md
  • .claude/agent-catalog/spatial-computing/spatial-computing-xr-cockpit-interaction-specialist.md
  • .claude/agent-catalog/spatial-computing/spatial-computing-xr-immersive-developer.md
  • .claude/agent-catalog/spatial-computing/spatial-computing-xr-interface-architect.md
  • .claude/agent-catalog/specialized/specialized-accounts-payable-agent.md
  • .claude/agent-catalog/specialized/specialized-agentic-identity-trust-architect.md
  • .claude/agent-catalog/specialized/specialized-agents-orchestrator.md
  • .claude/agent-catalog/specialized/specialized-automation-governance-architect.md
  • .claude/agent-catalog/specialized/specialized-blockchain-security-auditor.md
  • .claude/agent-catalog/specialized/specialized-compliance-auditor.md
  • .claude/agent-catalog/specialized/specialized-corporate-training-designer.md
  • .claude/agent-catalog/specialized/specialized-cultural-intelligence-strategist.md
  • .claude/agent-catalog/specialized/specialized-data-consolidation-agent.md
  • .claude/agent-catalog/specialized/specialized-developer-advocate.md
  • .claude/agent-catalog/specialized/specialized-document-generator.md
  • .claude/agent-catalog/specialized/specialized-french-consulting-market.md
  • .claude/agent-catalog/specialized/specialized-government-digital-presales-consultant.md
  • .claude/agent-catalog/specialized/specialized-healthcare-marketing-compliance-specialist.md
  • .claude/agent-catalog/specialized/specialized-identity-graph-operator.md
  • .claude/agent-catalog/specialized/specialized-korean-business-navigator.md
  • .claude/agent-catalog/specialized/specialized-lspindex-engineer.md
  • .claude/agent-catalog/specialized/specialized-mcp-builder.md
  • .claude/agent-catalog/specialized/specialized-model-qa.md
  • .claude/agent-catalog/specialized/specialized-recruitment-specialist.md
  • .claude/agent-catalog/specialized/specialized-report-distribution-agent.md
  • .claude/agent-catalog/specialized/specialized-sales-data-extraction-agent.md
  • .claude/agent-catalog/specialized/specialized-salesforce-architect.md
  • .claude/agent-catalog/specialized/specialized-study-abroad-advisor.md
  • .claude/agent-catalog/specialized/specialized-supply-chain-strategist.md
  • .claude/agent-catalog/specialized/specialized-workflow-architect.md
  • .claude/agent-catalog/specialized/specialized-zk-steward.md
  • .claude/agent-catalog/support/support-analytics-reporter.md
  • .claude/agent-catalog/support/support-executive-summary-generator.md
  • .claude/agent-catalog/support/support-finance-tracker.md
  • .claude/agent-catalog/support/support-infrastructure-maintainer.md
  • .claude/agent-catalog/support/support-legal-compliance-checker.md
  • .claude/agent-catalog/support/support-support-responder.md
  • .claude/agent-catalog/testing/testing-accessibility-auditor.md
  • .claude/agent-catalog/testing/testing-api-tester.md
  • .claude/agent-catalog/testing/testing-evidence-collector.md
  • .claude/agent-catalog/testing/testing-performance-benchmarker.md
  • .claude/agent-catalog/testing/testing-reality-checker.md
  • .claude/agent-catalog/testing/testing-test-results-analyzer.md
  • .claude/agent-catalog/testing/testing-tool-evaluator.md
  • .claude/agent-catalog/testing/testing-workflow-optimizer.md
  • .claude/skills/design/SKILL.md
  • README.md
  • scripts/convert_agents.py
  • scripts/validate_agents.py
  • setup_project.py
  • tests/test_agent_catalog.py

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant