contracts

Manage shared type contracts for multi-agent orchestration across a codebase.

1|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/Ankurjain1121/dev-workflow-skills --skill contracts-ankurjain1121
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: contracts
Source: https://github.com/Ankurjain1121/dev-workflow-skills/tree/main/plugins/orchestrate/skills/contracts
Command: npx skills add https://github.com/Ankurjain1121/dev-workflow-skills --skill contracts-ankurjain1121

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manage shared type contracts for multi-agent orchestration across a codebase.

Core Features & Use Cases

  • Contract discovery: automatically scan codebases for shared types and build a contracts registry.
  • Producer/consumer mapping: track which files produce or consume a contract to enable efficient agent assignments.
  • Sync & maintenance: re-scan imports and update the registry to minimize drift during refactors.

Quick Start

Run the /contracts init command to generate the registry, then use /contracts list to review and /contracts sync after changes to refresh mappings.

Frequently Asked Questions about contracts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage shared type contracts for multi-agent orchestration?

You can manage shared type contracts by using a centralized contracts registry that automatically scans your codebase, discovers shared types, and maps producers and consumers to keep agent assignments synchronized.

What is a contracts registry and how does it work for multi-agent projects?

A contracts registry is a centralized directory built by scanning a codebase for shared types, tracking which files produce or consume them, and mapping these dependencies to enable efficient multi-agent task assignments.

How do I track producer and consumer dependencies during multi-agent refactoring?

You track producer and consumer dependencies by running a sync command that re-scans imports and updates the registry, minimizing drift and keeping multi-agent mappings accurate during codebase refactors.

How do I automatically discover shared types across an orchestrated multi-agent codebase?

You discover shared types by running an initialization command that scans the codebase, identifies shared types, and automatically builds a contracts registry to synchronize producers and consumers.

Does this approach help minimize type drift when orchestrating multiple agents?

Yes, it minimizes type drift by re-scanning imports and updating the centralized contracts registry after changes, ensuring producers and consumers remain synchronized across the multi-agent codebase.

What is the best way to keep multi-agent contract mappings up to date?

The best way to keep contract mappings up to date is to run a sync command after making changes, which re-scans imports and refreshes the centralized registry to prevent producer and consumer drift.