using-contract-engineering
БесплатноБез исполняемых скриптовНе проверенUse when typed records cross subsystem authority boundaries and absence, meaning changes, blinded views, or derived decisions must remain explicit and…
от tachyon-beep★ 16 звёзд на GitHubОб этом скилле
Cross-boundary contracts
Make the producer/consumer agreement testable: what a record means, who can see it, how it evolves, and what fails when the agreement is violated.
Work from the affected contract
- Trace producers, readers and authority boundaries in current source. Identify the concrete mismatch or requirement before changing shared types.
- Define fields, units, valid states and explicit absence. A measurement of zero is different from missing evidence; an intentional default needs declared semantics.
- Version meaning changes and define supported producer/consumer combinations, unknown-version behavior, rollout and retirement. Strict audit/authority readers fail closed; select compatibility rules explicitly for other APIs.
- Keep contract definitions independent of subsystem implementations. Derive records from recorded inputs; build blinded views by allowlist when information separation is required.
- Test independent wire fixtures, missing/invalid/version cases, policy binding, resolver replay and forbidden-field canaries as applicable. Trace both sides of a change.
Scope and completion
Deliver the changed contract, compatibility/authority decision, affected readers and verification evidence. A clean review is valid with inspected scope and explicit gaps. Do not invent a defect to satisfy a reviewer expectation.
Use the user’s existing intent and authorization. Ask only for missing information that materially changes the result; use additional reviewers when they address a concrete uncertainty. Treat unavailable checks as gaps rather than successful verification.
Focused references
Read only the relevant sections. These are optional technical references, not a required reading sequence or a checklist of artifacts to manufacture. Verify version-specific recipes against the installed toolchain.
| Concern | Reference |
|---|---|
| Blinding by Construction | blinding-by-construction.md |
| Canonical Identity | canonical-identity.md |
| Contract-First Boundaries | contract-first-boundaries.md |
| Contract Testing | contract-testing.md |
| Definition Lifecycle | definition-lifecycle.md |
| Dependency Direction | dependency-direction.md |
| Deterministic Resolution | deterministic-resolution.md |
| Schema Versioning and Evolution | schema-versioning-and-evolution.md |
| Silent-Default Elimination | silent-default-elimination.md |
| Versioned Policy Parameters | versioned-policy-parameters.md |
Optional task entry points
- audit-contract-drift: Audit contract drift for the affected contract engineering contract, with scoped source and verification evidence.
- design-contract-suite: Design contract suite for the affected contract engineering contract, with scoped source and verification evidence.
- review-contracts: Review contracts for the affected contract engineering contract, with scoped source and verification evidence.
Use a specialist agent for a bounded independent investigation or review when useful. Available roles: contract-reviewer, contract-suite-architect. No fixed reviewer count is required.
Установить using-contract-engineering в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл using-contract-engineering?
Use when typed records cross subsystem authority boundaries and absence, meaning changes, blinded views, or derived decisions must remain explicit and reproducible.
Как установить скилл using-contract-engineering?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл using-contract-engineering запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic