Interface Contract Authoring
Independent PiSkill directory guide. The original prompt remains hosted by Microsoft PromptKit.
What does this prompt do?
Defines an interface's operations, inputs, outputs, errors, invariants, versioning, security assumptions, and compatibility expectations before implementation.
Primary use case
Write an explicit API or component interface contract.
Expected output
A precise and testable interface contract.
Inputs or variables
- requirements
- consumer needs
- system constraints
Related prompts
Prompt Decomposition
Breaks a complex coding request into explicit objectives, inputs, constraints, dependencies, verification stages, and output contracts suitable for controlled implementation.
Agent Instructions Authoring
Creates repository-specific agent instructions from verified conventions, commands, architecture, safety boundaries, and workflow expectations without embedding transient task context.
Infrastructure Review
Reviews infrastructure definitions and deployment topology for correctness, security, resilience, maintainability, cost risks, and consistency with operational requirements.
Integration Compliance Audit
Reviews an integration against interface, configuration, security, lifecycle, error, and operational requirements, separating proven compliance from missing evidence.
Interface Contract Audit
Checks APIs or component boundaries against a declared interface contract, including inputs, outputs, errors, compatibility, and behavioral invariants.
Library Consistency Audit
Checks a reusable library for inconsistent APIs, naming, errors, configuration, documentation, tests, and behavioral patterns that make adoption harder.