一键导入
write-quality-contract
Define the non-negotiable rule, verification checks, anti-patterns, banned vocabulary, and tone for the target OS.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Define the non-negotiable rule, verification checks, anti-patterns, banned vocabulary, and tone for the target OS.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Audit a generated OS repository for completeness, consistency, and architectural integrity against the 15 design principles and 23-item checklist.
Transplant a skill, command, or capability from one agentic-system repo into another via a 5-phase gated protocol (inventory → import → localize → wire → verify). Use when grafting a feature from an upstream repo that has its own dependencies, platform assumptions, or upstream-specific file references that need adapting before the feature will work in the destination repo. Not for copying a self-contained file — use only when the feature has a dependency footprint and the destination repo has its own conventions the import must respect.
Design multi-dimensional evaluation rubrics with calibrated scales, thresholds, and function-adaptive weights.
Identify who evaluates the user's output, what each audience prioritizes, and where their priorities conflict.
Define the user context model — identity axes, context files, persona variants, and privacy rules for the target OS.
Design compounding feedback loops — what data accumulates, what reads it, and how the system gets smarter with use.
| name | write-quality-contract |
| description | Define the non-negotiable rule, verification checks, anti-patterns, banned vocabulary, and tone for the target OS. |
domain-input/quality-contract.md needs to be filleddomain-input/domain-workflow.md (what gets produced)domain-input/audiences.md (who evaluates it)domain-input/identity-model.md (what data is available to verify against)domain-input/scoring-rubrics.md (what "good" looks like quantitatively)Every OS has one rule above all others. In a production reference OS, it's "never fabricate experience." This rule shapes every skill.
Ask the designer: "What is the ONE thing the system must NEVER do? The thing that, if it happened once, would destroy trust or cause real harm?"
Probe until you get something specific and testable:
Structure:
## The Non-Negotiable Rule
**Rule:** [one sentence, specific and testable]
**Why this matters:** [what happens if violated — concrete consequence]
**How to verify:** [the test every skill runs before presenting output]
**What to do when uncertain:** [flag with [UNVERIFIED], ask user, or STOP]
For each type of output the OS produces, design a verification step:
For each check:
### Verification Check: [Name]
**Applies to:** [which skill outputs]
**Test:** [specific question to ask]
**Pass:** [what passing looks like]
**Fail action:** [what to do when it fails — flag, stop, or rewrite]
Ask the designer: "What does lazy AI output look like in this domain? What's the thing that technically answers the question but is actually useless?"
Get 5-7 specific anti-patterns. For each:
Structure:
## Anti-Patterns
### 1. [Name]
**Looks like:** "[example of bad output]"
**Why it's bad:** [what the audience thinks]
**Fix:** [what good output looks like instead]
Ask the designer:
Structure:
## Tone
**Voice:** [one sentence]
**Formality:** [level]
**Banned words:** [list]
**Length standards:**
- [Output type 1]: [target / max]
- [Output type 2]: [target / max]
Design the system's behavior when context files are missing or empty:
Structure:
## Empty Context Behavior
### Zero-Setup Entry Point
**Skill:** /[X]
**Works without:** any context files
**Purpose:** [immediate value that earns trust for setup investment]
### Dependency Map
| Skill | Requires | If Missing |
|-------|----------|-----------|
| /[X] | [files] | HARD STOP: "[message]" |
| /[Y] | [files] | WARN: "[message]" |
| /[Z] | none | Proceed (zero-setup entry point) |
If the OS ingests external data, define trust levels:
Structure into:
## Data Trust Rules
### External Data Sources
| Source | Trust Level | Verification Rule | Staleness Threshold |
|---|---|---|---|
| [source] | Level [1/2/3] | [how to verify] | [when it's stale] |
### Verification Labels
- **[VERIFIED]:** Confirmed via Level 1/2 source
- **[UNVERIFIED]:** Not yet verified (e.g., batch mode, Level 3 only)
- **[STALE: date]:** Data older than staleness threshold
Write the complete quality contract to domain-input/quality-contract.md.
Tell the designer:
Quality contract defined:
- Non-negotiable rule: [the rule]
- [N] verification checks
- [N] anti-patterns named
- Voice: [one sentence]
- Banned words: [list]
- Zero-setup entry point: /[X]
Most important guardrail: [the verification check that catches the most common failure mode]
Next: Run /design-skills to design the full skill set.
Good quality contract:
Bad quality contract: