parallel-agent-contracts

parcadei/continuous-claude-v3 · updated Apr 8, 2026

$npx skills add https://github.com/parcadei/continuous-claude-v3 --skill parallel-agent-contracts
0 commentsdiscussion
summary

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

skill.md

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:

Type Owner File Import From
NormalizedTool src/sdk/agent.ts './agent'
ToolCall src/sdk/agent.ts './agent'
ToolResult src/sdk/agent.ts './agent'
ToolDefinition src/sdk/agent.ts './agent'
Message src/sdk/types.ts './types'
ContentBlock src/sdk/types.ts './types'
TokenUsage src/sdk/types.ts './types'
ProviderAdapter src/sdk/providers/index.ts './providers'
RiggClient src/sdk/client.ts './client'

Prompt Template

When spawning implementation agents:

# Task: [Description]

## Type Ownership (DO NOT recreate)
- [List relevant types from canonical map]

## Before Creating New Types
Run: `grep -r "interface TypeName" src/` - if exists, import it.

## Before Marking Complete
Run: `npx tsc --noEmit 2>&1 | head -20`
Fix all type errors before completing.

## Your Implementation
[Actual task description]

Why This Works

  1. Type checker is the contract - tsc catches conflicts automatically
  2. Grep is fast - 1 second to check if type exists
  3. Explicit ownership - No ambiguity about where types live
  4. Fail fast - Agent can't claim "done" with broken types

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
general reviews

Ratings

4.629 reviews
  • Mia Bansal· Dec 16, 2024

    I recommend parallel-agent-contracts for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Dhruvi Jain· Dec 4, 2024

    parallel-agent-contracts fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • Oshnikdeep· Nov 23, 2024

    Registry listing for parallel-agent-contracts matched our evaluation — installs cleanly and behaves as described in the markdown.

  • Isabella Mensah· Nov 7, 2024

    Keeps context tight: parallel-agent-contracts is the kind of skill you can hand to a new teammate without a long onboarding doc.

  • Isabella Garcia· Oct 26, 2024

    parallel-agent-contracts is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.

  • Ganesh Mohane· Oct 14, 2024

    parallel-agent-contracts reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • Isabella Johnson· Sep 17, 2024

    Solid pick for teams standardizing on skills: parallel-agent-contracts is focused, and the summary matches what you get after install.

  • Olivia Jain· Sep 17, 2024

    We added parallel-agent-contracts from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • Sakshi Patil· Sep 5, 2024

    I recommend parallel-agent-contracts for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • Nikhil Smith· Sep 5, 2024

    parallel-agent-contracts fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

showing 1-10 of 29

1 / 3