write-quality-contract

Draft a quality-contract specification codifying rules, checks, anti-patterns, and tone for an agent OS.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/SujinHwang27/agent-os-lab --skill write-quality-contract
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: write-quality-contract
Source: https://github.com/SujinHwang27/agent-os-lab/tree/main/agent-os-factory-v2.0/.claude/skills/write-quality-contract
Command: npx skills add https://github.com/SujinHwang27/agent-os-lab --skill write-quality-contract

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Defines a non-negotiable rule, verification checks, anti-patterns, banned vocabulary, and tone to govern an agent OS, ensuring consistent behavior, safer outputs, and auditable governance across all skills.

Core Features & Use Cases

  • Non-negotiable Rule: A single, testable rule that the system must never violate, with a clear verification path.
  • Verification & Guardrails: A structured set of checks (source verification, freshness, specificity, audience alignment) to ensure outputs meet the defined quality standards.
  • Anti-Patterns & Tone: A catalog of common failure patterns with concrete fixes and a defined voice to enforce consistent style and safety.
  • Empty Context & Data Trust: Guidelines for handling missing context and external data sources with explicit trust and verification rules.

Quick Start

Define the domain-input/quality-contract.md with the full quality contract to bootstrap OS governance.

Frequently Asked Questions about write-quality-contract

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

FAQPage Schema
How do I define guardrails for an agent OS to ensure consistent behavior?

Guardrails for an agent OS are defined by drafting a quality contract that codifies a non-negotiable rule, verification checks, anti-patterns, banned vocabulary, and tone to ensure consistent behavior and safer outputs.

What is a quality contract for agent governance and when do I need one?

A quality contract for agent governance is a specification that defines verification checks, anti-patterns, and tone to enforce consistent style and safety. You need one after domain discovery and identity model setup to ensure auditable governance across all skills.

How to set up verification checks and banned vocabulary for AI outputs?

Verification checks and banned vocabulary are set up by creating a domain-input/quality-contract.md file. This specification structures source verification, freshness checks, and audience alignment alongside a catalog of common failure patterns with concrete fixes.

Can I use a quality contract to handle empty context and external data sources?

Yes, a quality contract explicitly handles empty context and external data sources by defining guidelines with explicit trust and verification rules, ensuring the agent OS safely processes missing context and validates external data.

What are the limitations of using a quality contract for agent OS governance?

A limitation of this quality contract approach is that it requires explicit mappings to domain-input artifacts and a clearly defined zero-setup entry point, meaning it cannot function effectively without prior domain discovery and identity model setup.

Does the agent OS quality contract require any specific dependencies or components?

No, the agent OS quality contract requires no specific dependencies or components to function. It operates as a standalone specification that bootstraps OS governance through the domain-input/quality-contract.md file.