contract-check

Analyze contract diffs and report impacted tasks and code paths.

1|1|Updated Apr 20, 2026
One-click install
npx skills add https://github.com/ezagent42/prd2impl --skill contract-check
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: contract-check
Source: https://github.com/ezagent42/prd2impl/tree/main/skills/skill-12-contract-check
Command: npx skills add https://github.com/ezagent42/prd2impl --skill contract-check

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Contract changes can ripple through a project; this skill analyzes contract/interface changes and flags affected tasks and code.

Core Features & Use Cases

  • Detects changes in contract files and interface definitions
  • Maps changes to dependent tasks and code
  • Produces runnable reports and impact analysis for teams

Quick Start

Run the contract-check workflow to evaluate recent diffs and identify affected tasks.

Frequently Asked Questions about contract-check

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

FAQPage Schema
How do I detect contract drift from recent git diffs?

To detect contract drift, you analyze git diffs against contract definitions and interface schemas to identify breaking changes. This process cross-references modified API schemas or interface definitions with plan tasks to surface affected code paths.

What is contract drift and how does it impact dependent code?

Contract drift occurs when changes in interface definitions or API schemas diverge from expected dependencies, causing code impact. It ripples through projects by silently breaking dependent code paths and invalidating previously mapped plan tasks.

How do I assess the impact of API schema changes on existing tasks?

Assessing the impact of API schema changes requires cross-referencing the modified schema definitions with existing plan tasks. The analysis maps interface modifications to dependent code paths to generate a report detailing affected tasks.

Can I map changes in interface definitions to specific affected code paths?

Yes, you can map changes in interface definitions to specific code paths by parsing the contract files and reading the git diffs. This cross-referencing identifies exactly which dependent code paths and tasks the interface modifications affect.

What is the best way to analyze diffs in docs/contracts for breaking changes?

The best way to analyze diffs in docs/contracts is to parse the contract definitions and cross-reference them with project plan tasks. This approach evaluates recent diffs to surface affected code paths and produces a comprehensive impact report.

Do I need existing plan tasks to analyze contract changes?

Yes, existing plan tasks are required to cross-reference contract changes and output an accurate impact report. The analysis maps modifications from parsed contract files and git diffs directly against these predefined plan tasks to identify affected code.