Skip to content
parcadei avatar

Parallel Agent Contracts

Checklist of prompt rules that stop parallel implementation agents from duplicating TypeScript types.

CCM score
44 of 100
skills.sh installs
483
GitHub stars
4K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Requires every agent prompt to run npx tsc --noEmit and fix all type errors before marking work complete
  • Includes a grep-before-create step (grep -r "interface TypeName\|type TypeName" src/) so agents import existing types instead
  • Provides a canonical type map listing nine shared types (e.g. NormalizedTool, Message, RiggClient) with owner files and import paths
  • Designed for multi-agent TypeScript projects where parallel agents risk recreating the same interfaces

Install

$ npx -y skills add parcadei/continuous-claude-v3 --skill parallel-agent-contracts -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Parallel Agent Type Contracts

When launching parallel agents for code implementation, prevent type duplication.

Required in Every Agent Prompt

1. Verification Command (MANDATORY)

## Before Marking Complete
Run verification:
\`\`\`bash
npx tsc --noEmit 2>&1 | head -20
\`\`\`
If ANY type errors exist, fix them before completing.

2. Grep-Before-Create

## Before Creating Any Type/Interface
First check if it exists:
\`\`\`bash
grep -r "interface YourTypeName\|type YourTypeName" src/
\`\`\`
If found, import it. NEVER duplicate existing types.

3. Canonical Type Map

Include relevant entries from this map in agent prompts:

Details

Repository
github.com/parcadei/continuous-claude-v3
Category
Agent Workflow & Planning
First seen
Jun 3, 2026

More from parcadei/continuous-claude-v3

All 108

Similar to Parallel Agent Contracts

More Agent Workflow & Planning