Skip to content
/

curtis-arch/Droids

droids-curtis · curtis-arch/Droids · ★ 253 · last commit 2025-11-19

Primitive shape 29 total
Subagents 29
00

Summary

curtis-arch/Droids — Summary

A collection of 29 hyper-specific, production-oriented Claude Code sub-agents ("droids") organized into 9 functional categories for a specific SaaS project tech stack (Cloudflare Workers + Neon PostgreSQL + Drizzle ORM + tRPC + Hono + Turborepo + Biome). Each droid is a persona-md file with explicit tool allocations, model assignments (notably model: gpt-5 in some droids), project-specific context (tech stack, API endpoints, environment configs), and narrow domain expertise. The collection emerged from a real production session that generated 4-4.5M tokens, ~1.5 hours of autonomous coding, and deployed a production-ready Cloudflare Worker with all tests passing. Unlike generic sub-agent libraries, every droid has a {PROJECT_NAME} placeholder system requiring users to inject their project context before use.

differs_from_seeds: Closest to BMAD (Archetype 1: persona-md subagents) but far more specific than BMAD's general software roles. Where BMAD ships architect/developer/QA personas, Droids ships cloudflare-worker-deployment-specialist, neon-drizzle-cache-engineer, and turborepo-biome-qa-auditor — domain-specific enough to require project-context injection. Notably, several droids specify model: gpt-5, making this the only repo in the batch with explicit GPT-5 model routing for certain agent roles.

01

Overview

curtis-arch/Droids — Overview

Origin

Created by @Social_Quotient (curtis-arch) after deploying a Cloudflare Worker from scratch using Factory AI's Droid CLI. From the README:

"After a particularly productive coding session with Factory AI's Droid CLI, I tweeted about deploying a Cloudflare Worker from scratch using specialized sub-agents. The response was overwhelming—dozens of developers asked to see these 'droids.'"

"The results? 4-4.5M tokens, ~1.5 hours of autonomous coding, all tests passing, and a production-ready deployment. No manual intervention except providing API keys."

Philosophy

The README is direct about what makes these droids different:

"Most sub-agent prompts fall short: ❌ 'Think hard and code React well' ❌ 'Be a good linter' ❌ Generic, vague instructions

These droids are different: ✅ Forced context: Detailed project specs, exact algorithms, specific constraints ✅ Tool allocation: Precise tool permissions per agent ✅ Domain expertise: Each droid is a specialist, not a generalist ✅ Production-ready patterns: Real-world implementations, not tutorials"

Project Context Design

Every droid includes a ## Project Context section describing the specific SaaS project the droids were built for. Users must replace {PROJECT_NAME} and related placeholders with their own project details. This is a templatized persona-md pattern — the droids are templates, not drop-in tools.

Factory AI / Droid CLI

The droids were designed for Factory AI's Droid CLI (/droid droid-name), though they are also compatible with Claude Code's agent system. The collection predates Claude Code's native agent support becoming widespread.

02

Architecture

curtis-arch/Droids — Architecture

Distribution

  • GitHub: curtis-arch/Droids
  • Install for Droid CLI: Copy .md file to .factory/droids/ directory
  • Install for Claude Code: Copy .md file to .claude/agents/ directory
  • License: None specified
  • Primary language: Markdown

Directory Structure

Droids/
├── README.md
└── first-time-droids/
    └── droids/
        ├── access-identity-guard.md
        ├── cloudflare-worker-deployment-specialist.md
        ├── comment-canonicalizer.md
        ├── compliance-style-gate.md
        ├── content-parser-architect.md
        ├── cost-audit-accountant.md
        ├── data-model-steward.md
        ├── doc-intake-normalizer.md
        ├── embeddings-provider-strategist.md
        ├── image-feedback-interpreter.md
        ├── image-job-orchestrator.md
        ├── image-prompt-architect.md
        ├── live-collaboration-orchestrator.md
        ├── neon-drizzle-cache-engineer.md
        ├── nextjs-app-router-expert.md
        ├── openai-llm-strategist.md
        ├── research-orchestrator.md
        ├── research-summarizer.md
        ├── revision-planner.md
        ├── rewrite-executor.md
        ├── schema-fusion-engineer.md
        ├── similarity-math-tactician.md
        ├── style-dna-schema-guardian.md
        ├── trpc-hono-integrator.md
        ├── turborepo-biome-qa-auditor.md
        ├── versioning-snapshot-gatekeeper.md
        ├── worker-qa-observer.md
        ├── workflow-runner.md
        └── wrangler-scaffold-architect.md

Droid File Format

Each droid follows this YAML+Markdown structure:

---
name: <droid-name>
description: <activation context — use when...>
model: gpt-5 | claude-sonnet | (default)
tools:
  - Read
  - Write
  - Edit
  - Bash
  - Glob
  - Grep
  - mcp__context7    (optional)
  - WebFetch         (optional)
createdAt: "2025-10-10T21:13:57.338Z"
updatedAt: "2025-10-10T21:13:57.338Z"
---
## Project Context
## Tech Stack
## Core Responsibilities

Target AI Tools

  • Factory AI Droid CLI (primary original target)
  • Claude Code (via .claude/agents/)
  • Any agent platform supporting persona-md format
03

Components

curtis-arch/Droids — Components

All 29 Droids by Category

Authentication & Security (2)

Droid Specialty
access-identity-guard Clerk/Velt identity mapping, Neon RLS policies
compliance-style-gate Style guide enforcement and compliance validation

Infrastructure & Deployment (3)

Droid Specialty
cloudflare-worker-deployment-specialist Wrangler config, Workers deployment, edge optimization. model: gpt-5
wrangler-scaffold-architect Cloudflare Workers project scaffolding
neon-drizzle-cache-engineer Neon PostgreSQL caching with Drizzle ORM

API & Integration (3)

Droid Specialty
content-parser-architect Multi-provider content parsing (Exa, Firecrawl, Jina)
trpc-hono-integrator tRPC + Hono integration for type-safe APIs
openai-llm-strategist OpenAI API integration and prompt management

Content & Media (3)

Droid Specialty
image-job-orchestrator Long-running image generation with DALL-E/Imagen, R2 storage
image-prompt-architect Image prompt engineering and optimization
image-feedback-interpreter Image annotation and regeneration workflows

Data & Database (4)

Droid Specialty
data-model-steward Neon schema design and migration management
schema-fusion-engineer Multi-source data schema fusion
versioning-snapshot-gatekeeper Version control and snapshot management
similarity-math-tactician Vector mathematics for similarity scoring

Research & Analysis (4)

Droid Specialty
research-orchestrator Parallel.ai research task management
research-summarizer Research synthesis and summarization
embeddings-provider-strategist Vector embeddings (OpenAI, Voyage, Cohere)
style-dna-schema-guardian Schema validation and type safety

Writing & Editing (4)

Droid Specialty
revision-planner Content revision planning with Tiptap
rewrite-executor Automated content rewrites
comment-canonicalizer Comment standardization and cleanup
doc-intake-normalizer Document processing and normalization

Quality & Testing (3)

Droid Specialty
turborepo-biome-qa-auditor Monorepo quality checks with Biome
worker-qa-observer Cloudflare Worker testing and QA
cost-audit-accountant API cost tracking and optimization

Architecture & Workflow (4)

Droid Specialty
workflow-runner React Flow DAG execution engine
nextjs-app-router-expert Next.js App Router best practices
live-collaboration-orchestrator Real-time collaboration with Velt

Tool Patterns

Most droids include: Read, Write, Edit, Bash, Glob, Grep Some also include: mcp__context7, WebFetch Model assignments: gpt-5 (cloudflare-worker-deployment-specialist and likely others), default otherwise

05

Prompts

curtis-arch/Droids — Prompts

Prompt File 1: cloudflare-worker-deployment-specialist (verbatim excerpt)

Technique: Forced context injection — the droid's prompt includes the full project tech stack, API endpoints, and environment architecture rather than expecting the AI to infer from codebase.

---
name: cloudflare-worker-deployment-specialist
description: Invoked for Cloudflare Workers deployment, wrangler configuration, environment
  management, and production readiness tasks for the {PROJECT_NAME}.
model: gpt-5
tools:
  - Read
  - Write
  - Edit
  - Bash
  - Glob
  - Grep
  - mcp__context7
  - WebFetch
createdAt: "2025-10-10T21:13:57.338Z"
updatedAt: "2025-10-10T21:13:57.338Z"
---

You are the **Cloudflare Worker Deployment Specialist** for the {PROJECT_NAME}, an
expert in deploying, configuring, and optimizing Cloudflare Workers for production.

## Project Context

The **{PROJECT_NAME}** is a Cloudflare Worker API that extracts and generates "writing
style DNA" JSON profiles for authors by:
- Scraping content from URLs using modular parsers (Exa, Firecrawl, Jina)
- Analyzing content with OpenAI's Responses API
- Caching results in Neon PostgreSQL (serverless)
- Providing tRPC endpoints with end-to-end type safety

### Tech Stack
- **Runtime**: Cloudflare Workers (ESM modules)
- **Framework**: Hono (web framework)
- **API Layer**: tRPC (typesafe APIs)
- **Database**: Neon PostgreSQL (serverless)
- **ORM**: Drizzle ORM
- **Package Manager**: pnpm
- **Code Quality**: Biome
- **Monorepo**: Turborepo

### API Endpoints
- `POST /api/trpc/generateStyleDNA` — Main endpoint for style analysis
- `GET /` — Health check endpoint
- Supports optional `provider` parameter (exa, firecrawl, jina)

### Environment Architecture
- **Development**: Local testing with `wrangler dev`
- **Preview**: Branch deployments for testing
- **Staging**: Pre-production environment
- **Production**: Live deployment

## Core Responsibilities

### 1. Wrangler Configuration (wrangler.toml)

**Critical Requirements:**
- **Module format**: ESM only (`main = "src/index.ts"`)
- **Node.js compatibility**: Enable `nodejs_compat`
- **Compatibility date**: Current year
- **No bindings in v1.0**: No KV, D1, R2, or Durable Objects

Prompting technique: Forced context — the prompt pre-loads full stack knowledge so the AI doesn't need to explore the codebase before starting. The {PROJECT_NAME} placeholder system is a fill-in-the-blank template pattern.

Model Routing: model: gpt-5

The cloudflare-worker-deployment-specialist explicitly assigns model: gpt-5. This is notable because it routes a deployment-critical task to OpenAI's GPT-5 rather than Claude — suggesting the author found GPT-5 more capable for this specific Cloudflare Workers context or was testing cross-provider routing.

09

Uniqueness

curtis-arch/Droids — Uniqueness

differs_from_seeds

Closest to BMAD (Archetype 1: persona-md subagents) but far more specific. BMAD ships general software engineering roles (architect, developer, QA analyst); Droids ships domain specialists (cloudflare-worker-deployment-specialist, neon-drizzle-cache-engineer, turborepo-biome-qa-auditor). The forced-context philosophy (pre-loading project details rather than exploring the codebase) is the opposite of BMAD's "start fresh and explore" approach. The explicit model: gpt-5 routing for domain-specific droids is unique across all 11 seeds and all 10 batch items — no seed implements cross-provider model routing.

Most Distinctive Feature

Explicit GPT-5 model routing: The cloudflare-worker-deployment-specialist assigns model: gpt-5, routing deployment tasks to OpenAI rather than Anthropic. This is the only example of cross-provider model routing in the entire analyzed corpus. It reflects a pragmatic take: use the best model for each task, regardless of which AI company provides it.

Positioning

  • Template library for a specific production tech stack (Cloudflare Workers + Neon + tRPC + Turborepo)
  • Emergence story: viral tweet after 4.5M token autonomous deploy session
  • Production-validated: actual deploy, all tests passing
  • Factory AI Droid CLI as primary target (not Claude Code-first)

Observable Failure Modes

  1. Template staleness: The {PROJECT_NAME} context includes hardcoded tech stack details. If the project evolves (e.g., switches from Neon to PlanetScale), every affected droid must be manually updated.
  2. GPT-5 model availability: The model: gpt-5 assignment requires access to GPT-5, which may not be available to all users or may change pricing.
  3. Factory AI dependency: Primary CLI target (Factory AI Droid) is a commercial product. Users without Factory AI access must adapt the droids for Claude Code.
  4. No session continuity: 4.5M token sessions risk context degradation without explicit handoff mechanisms between droids.
  5. Specificity vs reusability: Droids are so project-specific that they require substantial customization before being useful in a different project.
04

Workflow

curtis-arch/Droids — Workflow

Usage Pattern

Each droid is invoked independently for its domain:

# For Droid CLI:
/droid cloudflare-worker-deployment-specialist

# For Claude Code (after copying to .claude/agents/):
# Droid activates based on description match or explicit invocation

Coordination Pattern

The droids were used in sequence during the original 4.5M token session:

  1. Architecture droids design the system
  2. Infrastructure droids set up the environment
  3. Implementation droids build the features
  4. QA droids validate and test
  5. Deployment droids push to production

But there is no formal orchestrator — the user sequences the droids manually based on need.

Template Customization

Before use, droids require:

1. Replace {PROJECT_NAME} with actual project name
2. Replace tech stack references with your stack
3. Update API endpoints section
4. Adjust environment architecture section

Phase-to-Artifact Map

Droid Category Artifact
Infrastructure/Deployment wrangler.toml, deployment configs
Data/Database Schema migrations, Drizzle ORM models
API/Integration tRPC routers, Hono endpoints
Quality/Testing Test files, CI configs
Architecture Architecture decisions, tech stack config

Approval Gates

None formal. Each droid completes its task and returns. The human decides when to invoke the next droid.

06

Memory Context

curtis-arch/Droids — Memory & Context

State Storage

None — each droid is stateless. Work products are written to the filesystem by droid tool calls (wrangler.toml, schema files, test files, etc.).

Context Strategy

The droids compensate for lack of runtime memory with forced context injection in the prompt itself:

  • Full tech stack description
  • API endpoint list
  • Environment architecture
  • Critical configuration requirements

This eliminates the need for the droid to explore the codebase before starting work, reducing the "pre-work" that typically consumes many tool calls.

Template Holes

The {PROJECT_NAME} and related template holes are the primary context mechanism — users inject their project-specific details at install time rather than at runtime.

Cross-Session Handoff

None. Each droid is a one-shot specialist. Cross-session continuity relies on the filesystem artifacts each droid produces.

Context Efficiency Analysis

The forced-context approach trades off:

  • Pro: Droids start immediately without needing to explore the codebase
  • Con: Users must manually update the context when the tech stack changes
  • Net: Appropriate for a stable, production project where the stack doesn't change frequently
07

Orchestration

curtis-arch/Droids — Orchestration

Multi-Agent

Yes — 29 named droids. No runtime orchestrator; the human sequences them.

Orchestration Pattern

Sequential (manual). The user decides which droid to invoke and in what order. No coordinator droid.

Subagent Definition Format

persona-md — each droid is an .md file with YAML frontmatter (name, description, model, tools, timestamps) and project-context markdown body.

Spawn Mechanism

  • Factory AI Droid CLI: /droid <name>
  • Claude Code: agent invocation system (copy to .claude/agents/)

Multi-Model Routing

Yes — explicit. The cloudflare-worker-deployment-specialist assigns model: gpt-5. Other droids may also specify models. This is the only collection in the batch that explicitly routes specific domain tasks to GPT-5 (OpenAI) rather than defaulting to Claude.

This is noteworthy: the author is using Claude Code/Factory AI for orchestration but routing individual agent tasks to GPT-5 based on domain capability assessment.

Isolation Mechanism

None — in-place editing.

Execution Mode

One-shot per droid. Each droid completes its task and terminates.

Prompt Chaining

Implicit — the output of one droid (e.g., a schema migration) becomes the input context for the next (e.g., the cache engineer). But no automated chaining.

Consensus

None.

08

Ui Cli Surface

curtis-arch/Droids — UI & CLI Surface

CLI Binary

None for this repo. Droids are invoked via:

  • Factory AI Droid CLI: /droid <droid-name>
  • Claude Code native agent system

Local UI

None.

Factory AI Integration

The droids were built specifically for Factory AI's Droid CLI environment. This CLI has its own invocation convention (/droid <name>) and reads from .factory/droids/ directory.

MCP Tools

Some droids include mcp__context7 in their tools list — this integrates with the Context7 MCP server for library/framework documentation retrieval. Notable: the cloudflare-worker-deployment-specialist includes both mcp__context7 and WebFetch.

Observability

None built-in. The 4.5M token session mentioned in the README was monitored via the Factory AI dashboard (external tool, not this repo).

Template Management

The {PROJECT_NAME} placeholder system is the only "UI" — a manual find-and-replace before deploying droids to a project.

Related frameworks

same archetype · same primary tool · same memory type

CodeMachine CLI ★ 2.5k

JavaScript-DSL workflow orchestration engine that captures repeatable AI coding agent workflows with tracks, condition groups,…

Codexia ★ 690

Tauri desktop app providing visual control plane, task scheduler, git worktree manager, and headless REST API for Codex CLI +…

Kagan ★ 88

Kanban TUI for AI coding agents with a structurally enforced human review gate (REVIEW → DONE cannot be automated) — one git…

oh-my-claudecode (Yeachan-Heo) ★ 35k

Zero-learning-curve teams-first multi-agent orchestration for Claude Code with autopilot (6-phase lifecycle), ralph (PRD-driven…

Paseo ★ 6.8k

Multi-provider AI coding agent orchestration daemon with cross-device access (phone/desktop/CLI) and git worktree isolation.

CCG Workflow ★ 5.4k

Routes Claude + Codex + Gemini to task-appropriate collaboration strategies (direct-fix through full-collaborate) with hook-based…