Skip to content

LeoYeAI/agent-master-skills / skills/agent-collaboration-protocol

agent-collaboration-protocol

Verified

Structured multi-agent collaboration for backend + frontend builds. Use when an orchestrator needs to coordinate a backend engineer and frontend engineer on the same feature. Triggered by multi-role build requests like "build a dashboard with an API and UI" or "create a full-stack feature" or any task requiring both backend (API, data, infra) and frontend (UI, templates, design) work.

FileKindSize
.clawhub/origin.jsonconfig160 B
SKILL.mdskill md4.2 KB
_meta.jsonconfig147 B
clawhub.jsonconfig875 B
references/handoff-format.mdmarkdown688 B
references/integration-log.mdmarkdown858 B
references/spec-template.mdmarkdown1.9 KB
scripts/init_collab.shscript1.5 KB

scripts/init_collab.sh

View on GitHub
#!/usr/bin/env bash
# init_collab.sh — Initialize collaboration workspace structure
# Usage: ./init_collab.sh /path/to/project

set -euo pipefail

PROJECT_DIR="${1:-}"
if [ -z "$PROJECT_DIR" ]; then
  echo "Usage: $0 /path/to/project"
  exit 1
fi

SHARED_DIR="$PROJECT_DIR/shared"

mkdir -p "$SHARED_DIR"

# Create .gitignore to keep build artifacts out
if [ ! -f "$PROJECT_DIR/.gitignore" ]; then
  cat > "$PROJECT_DIR/.gitignore" << 'GITIGNORE'
# Agent Collaboration Protocol
shared/build-*/
GITIGNORE
  echo "[OK] Created .gitignore with build directory exclusion"
fi

# Create template SPEC.md
if [ ! -f "$SHARED_DIR/SPEC.md" ]; then
  cat > "$SHARED_DIR/SPEC.md" << 'SPEC'
# SPEC: {Feature Name}

> Generated by Agent Collaboration Protocol

## Overview

One sentence. What this feature does and why it matters.

## Contract

| Field | Value |
|-------|-------|
| API Base Path | `http://localhost:8000/api/v1` |
| Auth Scheme | Bearer JWT |
| Content Type | `application/json` |
| Error Format | `{ "error": "...", "detail": { ... } }` |

## Endpoints

### `GET /api/v1/{resource}`
**Response:** `200 OK` with data array

### `POST /api/v1/{resource}`
**Response:** `201 Created`

## Success Criteria

- [ ] Observable behavior that proves it works
SPEC
  echo "[OK] Created shared/SPEC.md template"
fi

echo ""
echo "=== Collaboration workspace initialized ==="
echo "  Project: $PROJECT_DIR"
echo "  Shared:  $SHARED_DIR"
echo ""
echo "Next: Edit shared/SPEC.md with your feature contract,"
echo "then spawn backend and frontend agents."
brainstormingobra/superpowersYou MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).Stars: 322kUpdated Claude CodeCodexVerifiedInstall
brand-guidelinesanthropics/skillsApplies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
frontend-designanthropics/skillsGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
mcp-builderanthropics/skillsGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).Stars: 198kUpdated Claude CodeCodexVerifiedInstall