一键导入
artifact-contract
Use when an output artifact, template, schema, example, or handoff field must stay aligned across commands, skills, docs, and validators.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when an output artifact, template, schema, example, or handoff field must stay aligned across commands, skills, docs, and validators.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Agent Brain /brain-brief: after intake, research, and grill have enough signal.
Agent Brain /brain-build: an implementation plan has a selected task and validation method.
Agent Brain /brain-design: a product brief needs ux or interaction design before planning.
Agent Brain /brain-eval: changing Agent Brain behavior or checking quality.
Agent Brain /brain-grill: the idea, brief, design, or plan has unresolved assumptions.
Agent Brain /brain-learn: after repeated success/failure, a tricky fix, or a shipped workflow.
| name | artifact-contract |
| description | Use when an output artifact, template, schema, example, or handoff field must stay aligned across commands, skills, docs, and validators. |
| version | 0.1.0 |
Lifecycle stage: VERIFY
Use when a command, skill, adapter, template, schema, eval case, or handoff depends on a structured artifact contract that another runtime or maintainer must be able to produce and validate.
This skill keeps artifact boundaries explicit so agents do not invent fields, skip schemas, or hand off prose that cannot be resumed.
Do not use when the work only changes free-form explanatory copy and no output artifact, schema, template, example, command output, or handoff field changes.
additionalProperties strict unless the artifact is intentionally extensible.| Shortcut | Rebuttal |
|---|---|
| "The template is only documentation." | Templates are runtime contracts; adapters and future agents use them to resume work. |
| "The schema is enough." | Humans need the template and examples to match the schema, not just parse it. |
| "One missing field is harmless." | Missing decision, evidence, blockers, artifact path, or next action breaks handoff reliability. |
| "The command says what to output." | Commands, skills, templates, schemas, examples, and validators must agree. |
Produce an artifact contract review with status, artifact name, producer, consumers, template path, schema path, example path, field changes, compatibility risks, evidence, blockers, artifact path, and next action.
Trigger: a verification command adds a new required evidence field to a handoff artifact. Action: compare command output, skill output artifact, template field list, schema required fields, example JSON, and validator coverage before accepting the change. Output artifact: artifact contract review with blockers and next action. Verification: cite templates/handoff-report.md, schemas/handoff-report.schema.json, the example artifact path, the validator command, the artifact path, and fresh validation proof.