contract-checklist
Pre-implementation checklist for API and database contracts.
Skill by diego81b
Chalk Labs
Need help deploying contract-checklist?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/diego81b-contract-checklist
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, backend
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/contract-checklist
What's inside
- Skill name
contract-checklist- Description
- Pre-implementation checklist for API and database contracts. Resolves entity lifecycle, payload shape, ownership/IDOR risk, idempotency, delete behavior, aggregate update semantics, pagination, versioning, and error shape before any contract is finalized.
- License
- AGPL-3.0
- Instructions
- 75 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- name: missing
Files (1)
- SKILL.md
SKILL.md (first lines)
# Contract Checklist
Shared reference for `architect-agent` and `implementer-lead-agent`.
Resolve all applicable questions **before finalizing any API or database contract**. Unanswered questions are silent drift points between phases — document your resolution even when the answer is "not applicable," so downstream agents can verify rather than guess.
---
## 1. Entity Lifecycle
- Does this entity exist independently, or only as a child of a parent?
- Can it be created without a parent reference?
- What happens on parent deletion: cascade delete, orphan (set null), or block?
- Who creates the entity — only through a parent endpoint, or via a dedicated child endpoint?
## 2. Payload Shape for Master-Detail
- Does the UI edit the parent and its children in one form submission, or independently?
- One form → nested payload (children array inside the parent body) is natural.
- Independent management → separate child endpoints are correct.
- If a parent update endpoint accepts child mutations in the same payload, what are the semantics: replace-all, or explicit add/update/delete per child?
- Decision depends on the interaction model — resolve before defining the endpoint.
## 3. Ownership and IDOR Risk
- Which field establishes ownership (e.g. `user_id`, `org_id`, `tenant_id`)?
- On write operations: is ownership enforced server-side from the authenticated identity, or trusted from the payload?
- On nested updates: can the payload change a child's owning parent?
- A PUT on parent A containing a child currently owned by parent B is an IDOR vector — explicit defense required.
- On bulk or indirect updates: are all child records re-verified to belong to the same owner as the parent before mutation?
## 4. Idempotency and Retry Behavior
- Is this endpoint safe to retry (idempotent)?
- If yes, how is idempotency enforced: idempotency-key header, dedup by business key, or upsert semantics?
- What is the response on a duplicate submission: 200 with the original result, 409 Conflict, or 204 No Content?
## 5. Delete Behavior
- Soft delete (flag + timestamp) or hard delete?
- On soft delete: are soft-deleted records excluded from list and get queries by default?
- On hard delete: which FK constraints cascade? Which block deletion?
- Are cascades explicit in migrations, or enforced in application code?
## 6. Aggregate Update Diff
When a payload updates a collection (e.g. children array inside a parent PUT):
- **Existing children**: carry their `id` field.
- **New children**: no `id` (server assigns on creation).
- **Deleted children**: omitted from the array (replace-all semantics) OR included with `_destroy: true` (explicit delete semantics).
Which semantics does this contract use? **Document it explicitly.** If IDs are absent on existing children, the server cannot distinguish an update from a delete + recreate — this must be resolved before implementation begins.
## 7. Pagination, Filter, and Sort
- Maximum page size? Default page size?
- Which fields are filterable? Any requiring a database index to be viable?
- Which fields are sortable? Default sort order and direction?
- Cursor-based or offset-based pagination?
## 8. Versioning
- Is this endpoint versioned (e.g. `/v1/`, `/v2/`)?
- If extending an existing versioned API: does the addition belong to the current version or require a new version?
- What is the deprecation policy for the version being extended?
## 9. Error Response Shape
- What is the exact JSON shape for all error responses?
- Are validation errors per-field (`[{ field, message }]`) or a single aggregate message?
- What is the error-code vocabulary: string codes (e.g. `validation_error`) or numeric?
- Does the response body structure differ between 4xx client errors and 5xx server errors?From diego81b/kairos-agents-framework, AGPL-3.0.
More from diego81b/kairos-agents-framework
- 0.591score
artifact-bookkeeping
diego81b
Deterministic bookkeeping rules for phase artifacts — tallying Risk/Issue/Finding tables by Impact and deriving each phase's pass/fail status from those counts.
SkillAFreshness: A★ 2Claude Code +9 - 0.591score
code-simplification
diego81b
Refactoring checklist for simplifying code without changing behavior.
SkillAFreshness: A★ 2Claude Code +9 - 0.591score
coding-discipline
diego81b
Engineering-discipline checklist for writing new code — scope control, anti-overengineering, assumption surfacing, and verifiable success criteria.
SkillAFreshness: A★ 2Claude Code +9 - 0.591score
issue-tracker-comment
diego81b
Shared jira/glab/bitbucket comment-posting commands for the optional "post this phase's output to the issue tracker" step every phase agent offers…
SkillAFreshness: A★ 2Claude Code +9 - 0.587score
artifact-template
diego81b
Shared body skeleton for every KAIROS phase artifact — the mandatory Summary head block that makes a gate readable in seconds, and the fixed column sets for…
SkillAFreshness: A★ 2Claude Code +9 - 0.553score
analysis-discipline
diego81b
Engineering-discipline checklist for analysis and review work — evidence-backed findings, restraint on low-value nitpicks, scope-bounded investigation, and…
SkillBFreshness: B★ 2Claude Code +9 - 0.553score
constraint-taxonomy
diego81b
Closed vocabulary for the ledger's constraint Category column, plus the reader, writer, and gating rules that let a review section run only when its…
SkillBFreshness: B★ 2Claude Code +9 - 0.550score
threat-model
diego81b
Design-time threat modelling checklist.
SkillBFreshness: B★ 2Claude Code +9 - 0.550score
migration-safety
diego81b
Safety checklist for schema and data migrations.
SkillBFreshness: B★ 2Claude Code +9 - 0.545score
agent-contract
diego81b
Shared missing-input error format used by every phase agent's own Input Validation section, parameterized by the agent's own name.
SkillBFreshness: B★ 2Claude Code +9
Signals
- Stars
- 2
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jun 1, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- AGPL-3.0
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from diego81b
- 0.591score
artifact-bookkeeping
diego81b
Deterministic bookkeeping rules for phase artifacts — tallying Risk/Issue/Finding tables by Impact and deriving each phase's pass/fail status from those counts.
SkillAFreshness: A★ 2Claude Code +9 - 0.591score
code-simplification
diego81b
Refactoring checklist for simplifying code without changing behavior.
SkillAFreshness: A★ 2Claude Code +9 - 0.591score
coding-discipline
diego81b
Engineering-discipline checklist for writing new code — scope control, anti-overengineering, assumption surfacing, and verifiable success criteria.
SkillAFreshness: A★ 2Claude Code +9 - 0.591score
issue-tracker-comment
diego81b
Shared jira/glab/bitbucket comment-posting commands for the optional "post this phase's output to the issue tracker" step every phase agent offers…
SkillAFreshness: A★ 2Claude Code +9 - 0.587score
artifact-template
diego81b
Shared body skeleton for every KAIROS phase artifact — the mandatory Summary head block that makes a gate readable in seconds, and the fixed column sets for…
SkillAFreshness: A★ 2Claude Code +9 - 0.553score
analysis-discipline
diego81b
Engineering-discipline checklist for analysis and review work — evidence-backed findings, restraint on low-value nitpicks, scope-bounded investigation, and…
SkillBFreshness: B★ 2Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get contract-checklist running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
contract-checklist skill. Agent Mart. https://agentmart.dev/skills/diego81b-contract-checklist (last updated 2026-10-24)