component-contract-mapping

Installation
SKILL.md

Component Contract Mapping

Overview

Turn the design conversation into a machine-parseable, frozen contract map that bob can execute against. Every component the design introduces gets an explicit entry declaring its inputs, outputs, call graph position, integration points, success criteria, and test scenarios. The map is signed by forge with an HMAC payload (map_hash, map_revision, forge_session_id, signed_at) and verified mechanically by gates.py G1 before any implementation begins.

This skill is the single writer of progress/contract-map.yaml. It runs during forge design phase 8a, after the design doc exists and before spec review.

When Forge Invokes This Skill

Forge Step 8a invokes this skill when the approved design introduces new components (services, modules, APIs, integration points). Pure refactors and single-file bugfixes are exempt.

Inputs passed by forge:

  • design_doc_path — path to the draft design document
  • project_root — project root path (where progress/ lives)
  • project_md_path — path to PROJECT.md (optional)
  • component_md_paths — list of relevant COMPONENT.md files (optional)

Inputs Expected

Installs
2
GitHub Stars
6
First Seen
Sep 28, 2026