本文へ移動
cccskills
無料GitHub で公開

parallel-agent-contracts

Parallel Agent Type Contracts

インストール方法を見る

含まれるファイル(1)

  • SKILL.md2.0 KB

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:

TypeOwner FileImport From
NormalizedToolsrc/sdk/agent.ts'./agent'
ToolCallsrc/sdk/agent.ts'./agent'
ToolResultsrc/sdk/agent.ts'./agent'
ToolDefinitionsrc/sdk/agent.ts'./agent'
Messagesrc/sdk/types.ts'./types'
ContentBlocksrc/sdk/types.ts'./types'
TokenUsagesrc/sdk/types.ts'./types'
ProviderAdaptersrc/sdk/providers/index.ts'./providers'
RiggClientsrc/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

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Agent Context Isolation

日本語の概要は準備中です。原文の説明を表示しています。

parcadei/Continuous-Claude-v33,9422026年1月27日 更新

Agent Orchestration Rules

日本語の概要は準備中です。原文の説明を表示しています。

parcadei/Continuous-Claude-v33,9422026年1月27日 更新

Agentic Workflow Pattern

日本語の概要は準備中です。原文の説明を表示しています。

parcadei/Continuous-Claude-v33,9422026年1月27日 更新

Guide for integrating Agentica SDK with Claude Code CLI proxy

日本語の概要は準備中です。原文の説明を表示しています。

parcadei/Continuous-Claude-v33,9422026年1月27日 更新

Reference guide for Agentica multi-agent infrastructure APIs

日本語の概要は準備中です。原文の説明を表示しています。

parcadei/Continuous-Claude-v33,9422026年1月27日 更新

Write reliable prompts for Agentica/REPL agents that avoid LLM instruction ambiguity

日本語の概要は準備中です。原文の説明を表示しています。

parcadei/Continuous-Claude-v33,9422026年1月27日 更新

parcadei のスキルをすべて見る

このスキルの問題を報告する