Inside the Dev Kit

What's included in the kit.

Contract Graph Dev Kit is an agentic development framework centered around contracts as a graph. It is open source, Apache-2.0, release 0.7.0. The package is contract-graph. The command is cg. Skills are /cg-*. It runs inside the coding agent you already use: Antigravity, Claude Code, Codex, Cursor, or GitHub Copilot in VS Code. Support varies by host.

What you install

Two commands, then warmup.

npm install -g contract-graph installs cg. cg init, run inside the repository, adds the contract graph, the skills, and editor support. It does not become part of your application. Later, cg init refreshes the kit and keeps the repository’s own contracts and decisions. Installation does not confirm project intent. Run /cg-warmup and confirm .agents/cg/project-context.md, which sits beside the root contract.yaml, before delivery.

In a terminal

npm install -g contract-graph
cg init

Then, in your coding agent

/cg-warmup

Skills

What each skill is for.

You describe the work. These skills are part of the kit. They carry the work, and they run the cg tools that keep the graph correct. You do not need those tools yourself.

  • WarmupConfirm project intent and establish or refresh the contract graph. Run this yourself after init, before delivery, on a new or existing repository.
  • PlanAgree a sprint or an epic: the outcome, the scope, and what you will accept. Agreeing the plan does not start the build.
  • ProduceImplement the agreed scope. Ask whether to review the selected work together or each item, then continue independent work while an open decision waits.
  • PrototypeExplore a working experience through feedback when the result still needs to be seen.
  • Sign-offComplete outstanding implementation, required tests, documentation, verification, and decision consolidation inside the authorized scope.
  • UnblockRecord a consequential decision the work is waiting on, then resume eligible work.

In chat they appear as /cg-plan, /cg-produce, /cg-prototype, /cg-sign-off, /cg-warmup, and /cg-unblock.

Go further

The written guides.

The docs explain the map, the two styles, and how an existing install moves to 0.7.0. Public schema files are at Schemas. Source is on GitHub (opens in a new tab).

The skills are bundled with the framework. They keep the contract graph correct while they plan, build, review, and finish, using the kit’s tools as they go. The guides explain what those checks cover.