legacy-step-contract

Enforce standardized step contracts in the Legacy Spec Factory reverse chain.

Updated May 12, 2026
One-click install
npx skills add https://github.com/wwa-lab/legacy-spec-factory --skill legacy-step-contract
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: legacy-step-contract
Source: https://github.com/wwa-lab/legacy-spec-factory/tree/main/.opencode/skills/legacy-step-contract
Command: npx skills add https://github.com/wwa-lab/legacy-spec-factory --skill legacy-step-contract

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill ensures that every step in the Legacy Spec Factory reverse chain adheres to a standardized quality contract, promoting consistency and reliability in the modernization process.

Core Features & Use Cases

  • Step Contract Definition: Formally defines the input, execution, output, and validation requirements for each step.
  • Validation: Performs mechanical, AI semantic, and SME approval validation on step outputs.
  • Use Case: When authoring a new pipeline step, use this Skill to establish a clear contract that defines the inputs, execution rules, outputs, and validation expectations.

Quick Start

Use the legacy-step-contract skill to define the contract for a new data-model analysis step.

Frequently Asked Questions about legacy-step-contract

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

FAQPage Schema
How do I enforce a quality contract for software modernization pipeline steps?

You can enforce a quality contract for modernization pipeline steps by defining standardized input, execution, output, and validation schemas. This ensures each step in the reverse chain adheres to strict requirements for consistency and reliability.

What validation checks are required for a pipeline step contract?

Pipeline step contract validation requires input readiness checks, mechanical validation, AI semantic review, and SME approval. These combined checks ensure the step output meets the defined quality contract before proceeding.

How do I define input and output schemas for a new data-model analysis step?

To define input and output schemas for a new data-model analysis step, use Python scripts and YAML configuration to formally establish execution rules and validation expectations that enforce step consistency.

Can I use YAML configuration to manage step contracts in the Legacy Spec Factory?

Yes, you can use YAML configuration to manage step contracts in the Legacy Spec Factory. The enforcement mechanism pairs YAML configuration with Python scripts to define and validate step requirements.

Why does my pipeline step fail validation during the modernization process?

A pipeline step fails validation during the modernization process when it does not adhere to the defined quality contract, missing required input readiness checks, mechanical validation, AI semantic review, or SME approval.

What is the best way to standardize execution rules across multiple modernization steps?

The best way to standardize execution rules across multiple modernization steps is to apply a formal step contract definition that specifies inputs, execution rules, outputs, and validation expectations for each stage of the reverse chain.