Cross-agent behavioral constraints. See AGENT-STRATEGY.md for ecosystem docs.
TypeScript + Next.js 14+ App Router codebase. Follow CLAUDE.md (architecture, quality gates) and copilot-instructions.md (always-on rules).
- Always use
/ultrathink. Think deeply and critically about every task before acting. - Read before writing — match existing patterns.
- Co-locate tests next to source.
- No
any,@ts-ignore,as unknown as— seetypescript.instructions.md. - Validate all external input at runtime.
- Server Components by default —
'use client'only when needed. @/imports, group order: external → internal → relative.- Never suppress linting. Fix root cause.
- Quality gate compliance — see
copilot-instructions.md§ Non-Negotiables. - Handoff, don't duplicate — if a task is outside your domain, hand off to the right specialist.
- Every agent has an escape route — when stuck, report findings and hand off with context.
Pages → Components → Hyperdex (src/lib/queries/) → Prisma → PostgreSQL
- Hyperdex is the only DB access path
- Three shapes per entity — see
prisma-queries.instructions.md - Cross-link everything — no dead ends
Every handoff must include:
- What was accomplished — summary of completed work
- What remains — with specific file paths
- Blockers — anything preventing progress
- Quality gate status — did the work pass lint/test/build?
All handoffs use send: false — user confirms before the next agent begins.
Orchestrator, Architect, Implement, Review, TDD, Debug, Document, Refactor, Research, Perf, Verifier, Security
Specialist-Backend, Specialist-Data, Specialist-Infra, Specialist-SEO, Specialist-UI
Copy-Editor — user-facing text quality, naming consistency, SEO copy. Data-Analyst — database coverage audits, gap analysis, integrity checks. Designer — Tier 0 design principles, visual hierarchy, UX flow critiques.
Operator — takes continuation prompts, reads branch context, routes to the correct specialist agent.
Chaos — surprise audit agent. Not part of standard workflows. Triggered manually or on timer. Inspects only in-flight files. Maximum 3 inspections per session. Reports findings but doesn't block unless critical.
Autoloop — fully autonomous work cycle: select task, implement, pipeline, PR, review, merge, loop. Operates independently of the standard agent roster.
See AGENT-STRATEGY.md for the full three-layer architecture, workflows, and agent selection guide.
Continue work: Say "Continue the work" → Orchestrator reads WORK-QUEUE.md → selects tasks → delegates → updates state.
Pipeline: /00-intake → /10-plan → /20-implement → /30-verify → /40-docs → /90-release-notes