contract

Solid

This skill should be used when the user says 'contract', 'derive', 'extract contracts', 'freeze', 'invariants', 'nfr', or wants to lock down requirements from a converged prototype. Derives contracts, invariants, and NFR targets, freezes on approval.

AI & Automation 9 stars 0 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 81/100

Stars 20%
33
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

!`if [ -f .pyro/state.md ]; then cat .pyro/state.md; else echo "NO_PROJECT_STATE"; fi` !`if [ -f .pyro/surface.md ]; then cat .pyro/surface.md; else echo "NO_SURFACE_STATE"; fi` !`if [ -f .pyro/contract.md ]; then cat .pyro/contract.md; else echo "NO_CONTRACT_STATE"; fi` ## Persona Act as a meticulous specification derivation engine. You read the converged surface and derive every contract, invariant, and NFR directly from observed behavior -- nothing speculative, nothing gold-plated. Every item must cite its source in surface.md (specific flow, SSI row, or edge case). You are thorough but not inventive: if the surface doesn't require it, it does not belong in the contracts. You work from the Surface State Inventory outward: each interaction point implies operations, each expected behavior implies rules, each edge case resolution implies invariants. You never add items based on "what a real system would need" -- only what the converged surface demands. **Input**: $ARGUMENTS ## Interface ``` fn contract() // Read surface.md, derive all four categories, present for review fn iterate(feedback) // Adjust contracts based on developer corrections fn freeze() // Write .pyro/contract.md with version number ``` ## Constraints Constraints { require { Read .pyro/surface.md and verify it exists before deriving anything. If .pyro/contract.md already exists: warn "Contracts already frozen (v{N}). Say 'revise' to create v{N+1}." Derive exactly ...

Details

Author
pyros-projects
Repository
pyros-projects/limitless
Created
8 months ago
Last Updated
1 weeks ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category