contract-validation
Use when defining, changing, reviewing, or debugging runtime-validated contracts across application boundaries, including schemas, request and response…
Skill by gowebknot
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/gowebknot-contract-validation
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, data
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-validation
What's inside
- Skill name
contract-validation- Description
- Use when defining, changing, reviewing, or debugging runtime-validated contracts across application boundaries, including schemas, request and response payloads, route parameters, query parameters, form data, API-client parsing, serialized errors, and inferred types. Keep one authoritative contract source, preserve consumer compatibility, and verify accepted, rejected, malformed, and boundary shapes before implementation is considered complete.
- License
- MIT
- Instructions
- 42 lines in SKILL.md · view on GitHub
Files (6)
- SKILL.md
- .gitkeep · assets/
- .gitkeep · examples/
- .gitkeep · references/
- .gitkeep · scripts/
- .gitkeep · templates/
SKILL.md (first lines)
# Contract Validation Keep data crossing a process, package, transport, persistence, or UI boundary explicit and validated. ## Ownership - Locate the existing authoritative schema or contract before creating a new one. - Define runtime validation and inferred static types together when the repository's schema library supports both. - Keep shared request, response, error, enum, identifier, and parameter contracts in their owning shared package rather than duplicating them in consumers. - Reuse primitive schemas and compose larger contracts instead of repeating validation rules. - Keep transport adapters, UI forms, persistence models, and domain models distinct when their shapes have different responsibilities. ## Changes 1. Identify every producer and consumer of the contract. 2. Record compatibility impact for added, removed, renamed, optional, and narrowed fields. 3. Update the authoritative schema and its public exports. 4. Update adapters and consumers without recreating the contract locally. 5. Validate both successful and rejected inputs at the boundary. 6. Check malformed responses, unknown keys, nullability, defaults, enum values, and boundary lengths when they are relevant to the contract. ## API Boundaries - Parse untrusted input at the boundary before business logic runs. - Validate outbound payloads when communicating with an external or independently deployed service. - Parse inbound responses before exposing them to callers. - Preserve structured error information without leaking secrets or internal implementation details. - Keep route, query, form, and response parsing behavior aligned with the shared contract. ## Verification - When an OpenAPI implementation needs a Nest DTO, make it a thin transport adapter over the authoritative shared schema and inferred type. Put examples and descriptions on the DTO/OpenAPI decorators without recreating validation rules or a second domain contract. - Search for duplicate handwritten types or schemas after the change. - Confirm public barrels and package exports expose the intended contract. - Run focused schema tests, affected package checks, and the repository's required validation. - Use `test-first-workflow` to define accepted and rejected cases before editing.
From gowebknot/monorepo-template, MIT.
More from gowebknot/monorepo-template
- 0.529score
authentication-rbac
gowebknot
Use when designing, implementing, reviewing, or testing authentication, protected routes, sessions, roles, permissions, ownership rules, or authorization…
SkillBFreshness: BClaude Code +9 - 0.529score
backend-standards
gowebknot
Use when implementing, reviewing, refactoring, or debugging backend services, modules, controllers, persistence, request validation, response serialization…
SkillBFreshness: BClaude Code +9 - 0.529score
checklist-tracking
gowebknot
Use when a task creates, edits, reviews, or completes Markdown checklists, implementation plans, task lists, status tables, or tracked test cases.
SkillBFreshness: BClaude Code +9 - 0.529score
react-19
gowebknot
Required when writing or reviewing React 19 components, hooks, forms, actions, transitions, optimistic updates, refs, or server-state UI in any application or…
SkillBFreshness: BClaude Code +9 - 0.529score
release-flow
gowebknot
Use only in this template repository when preparing a release, version change, changelog, release notes, migration, deprecation, package publication, or…
SkillBFreshness: BClaude Code +9 - 0.529score
e2e-regression-test-writer
gowebknot
Plan and write Playwright end-to-end coverage for user-facing generated application features, flows, and failure states.
SkillBFreshness: BClaude Code +9 - 0.529score
maestro-mobile-e2e-test-writer
gowebknot
Plan and write Maestro mobile end-to-end coverage for user-facing generated Expo or React Native flows, including applicable failure paths and dedicated…
SkillBFreshness: BClaude Code +9 - 0.529score
security-testing-policy
gowebknot
Use when designing, implementing, reviewing, or troubleshooting security tests, authorization checks, input validation, secret handling, dependency…
SkillBFreshness: BClaude Code +9 - 0.529score
code-review
gowebknot
Use when reviewing a change, pull request, patch, refactor, migration, configuration update, dependency change, or release preparation.
SkillBFreshness: BClaude Code +9 - 0.529score
end-to-end-api-flow
gowebknot
Use when implementing, reviewing, debugging, or tracing API-backed behavior across shared contracts, backend endpoints, typed API clients, query hooks, and…
SkillBFreshness: BClaude Code +9 - 0.529score
frontend-standards
gowebknot
Use when implementing, reviewing, refactoring, or debugging frontend routes, components, Atomic Design composition, forms, tables, loading and error states…
SkillBFreshness: BClaude Code +9 - 0.529score
jsx-component-extraction
gowebknot
Use when writing, reviewing, or refactoring React JSX or TSX with deeply nested markup, repeated UI blocks, complex conditional branches, mapped content…
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 3, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/gowebknot/monorepo-template
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from gowebknot
- 0.529score
authentication-rbac
gowebknot
Use when designing, implementing, reviewing, or testing authentication, protected routes, sessions, roles, permissions, ownership rules, or authorization…
SkillBFreshness: BClaude Code +9 - 0.529score
end-to-end-api-flow
gowebknot
Use when implementing, reviewing, debugging, or tracing API-backed behavior across shared contracts, backend endpoints, typed API clients, query hooks, and…
SkillBFreshness: BClaude Code +9 - 0.529score
backend-standards
gowebknot
Use when implementing, reviewing, refactoring, or debugging backend services, modules, controllers, persistence, request validation, response serialization…
SkillBFreshness: BClaude Code +9 - 0.529score
code-review
gowebknot
Use when reviewing a change, pull request, patch, refactor, migration, configuration update, dependency change, or release preparation.
SkillBFreshness: BClaude Code +9 - 0.529score
checklist-tracking
gowebknot
Use when a task creates, edits, reviews, or completes Markdown checklists, implementation plans, task lists, status tables, or tracked test cases.
SkillBFreshness: BClaude Code +9 - 0.529score
frontend-standards
gowebknot
Use when implementing, reviewing, refactoring, or debugging frontend routes, components, Atomic Design composition, forms, tables, loading and error states…
SkillBFreshness: BClaude Code +9
Cite this page
contract-validation skill. Agent Mart. https://agentmart.dev/skills/gowebknot-contract-validation (last updated 2026-10-24)