Back to skills
SkillHub ClubAnalyze Data & AIFull StackData / AI

enforce-contract

單元測試與代碼提交前觸發。掃描並驗證方法的 pre-conditions、post-conditions 與 invariants,透過契約式設計減少 AI 幻覺。

Packaged view

This page reorganizes the original catalog entry around fit, installability, and workflow context first. The original raw source lives below.

Stars
2
Hot score
79
Updated
March 20, 2026
Overall rating
C3.2
Composite score
3.2
Best-practice grade
B81.2

Install command

npx @skill-hub/cli install knowlet-skills-enforce-contract

Repository

knowlet/skills

Skill path: skills/enforce-contract

單元測試與代碼提交前觸發。掃描並驗證方法的 pre-conditions、post-conditions 與 invariants,透過契約式設計減少 AI 幻覺。

Open repository

Best for

Primary workflow: Analyze Data & AI.

Technical facets: Full Stack, Data / AI.

Target audience: Development teams looking for install-ready agent workflows..

License: Unknown.

Original source

Catalog source: SkillHub Club.

Repository owner: knowlet.

This is still a mirrored public skill entry. Review the repository before installing into production workflows.

What it helps with

  • Install enforce-contract into Claude Code, Codex CLI, Gemini CLI, or OpenCode workflows
  • Review https://github.com/knowlet/skills before adding enforce-contract to shared team environments
  • Use enforce-contract for development workflows

Works across

Claude CodeCodex CLIGemini CLIOpenCode

Favorites: 0.

Sub-skills: 0.

Aggregator: No.

enforce-contract | SkillHub