·design-by-contract
>_

design-by-contract

microck/ordinary-claude-skills

Automated contract verification, detection, and remediation across multiple languages using formal preconditions, postconditions, and invariants. This skill provides both reference documentation AND execution capabilities for the full PLAN -> CREATE -> VERIFY -> REMEDIATE workflow.

0Installs·0Trend·@microck

Installation

$npx skills add https://github.com/microck/ordinary-claude-skills --skill design-by-contract

SKILL.md

Design-by-Contract (DbC) is a programming methodology that uses formal specifications (contracts) to define component behavior. This skill enables:

Principle: Use compile-time verification before runtime contracts. If a property can be verified statically, do NOT add a runtime contract for it.

| Property | Static | Test Contract | Debug Contract | Runtime Contract |

Automated contract verification, detection, and remediation across multiple languages using formal preconditions, postconditions, and invariants. This skill provides both reference documentation AND execution capabilities for the full PLAN -> CREATE -> VERIFY -> REMEDIATE workflow. Source: microck/ordinary-claude-skills.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/microck/ordinary-claude-skills --skill design-by-contract
Category
>_Productivity
Verified
First Seen
2026-02-01
Updated
2026-02-18

Quick answers

What is design-by-contract?

Automated contract verification, detection, and remediation across multiple languages using formal preconditions, postconditions, and invariants. This skill provides both reference documentation AND execution capabilities for the full PLAN -> CREATE -> VERIFY -> REMEDIATE workflow. Source: microck/ordinary-claude-skills.

How do I install design-by-contract?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/microck/ordinary-claude-skills --skill design-by-contract Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/microck/ordinary-claude-skills