Skip to content
Skillv1.0.0

test-first-contract

Defines typed contracts and negative tests before integrating shared behavior.

by waalwalker1(0) 0 installs
Free
Sign in to install

Free account. Installing gives you the manifest plus copy-paste snippets.

See reviews

About

Imported from waalwalker1/agentic-traffic-threat-triage (.agents/skills/test-first-contract/SKILL.md). Install upstream with npx skills add waalwalker1/agentic-traffic-threat-triage --skill test-first-contract. Copyright stays with the author.

Test First Contract

  1. Freeze Pydantic/JSON contracts before parallel implementation.
  2. For every positive path add at least one failure/edge path.
  3. Shared interfaces require contract tests.
  4. Do not change schemas silently; version or record an ADR.

Use it

Copy one of these into your project. Installing also returns the manifest and these snippets.

yaml
targets:
  - https://api.opensmartroute.ai/api/v1/registry/waalwalker1-agentic-traffic-threat-triage-test-first-contract/manifest   # or paste the manifest below

Manifest

An Open Capability Manifest: the router reads it to know what this does, what it costs and when to pick it.

waalwalker1-agentic-traffic-threat-triage-test-first-contract.ocm.jsonjson
{
  "ocm": "1",
  "id": "waalwalker1-agentic-traffic-threat-triage-test-first-contract",
  "kind": "skill",
  "name": "test-first-contract",
  "description": "Defines typed contracts and negative tests before integrating shared behavior.",
  "publisher": "waalwalker1",
  "version": "1.0.0",
  "capabilities": {
    "domains": [
      "coding",
      "legal"
    ],
    "tags": [
      "skill-md",
      "github"
    ],
    "languages": [
      "en"
    ]
  },
  "quality_prior": 0.6,
  "examples": [
    "Defines typed contracts and negative tests before integrating shared behavior."
  ],
  "primary": false,
  "metadata": {
    "source": {
      "provider": "github",
      "repository": "https://github.com/waalwalker1/agentic-traffic-threat-triage",
      "path": ".agents/skills/test-first-contract/SKILL.md",
      "ref": "cf3673d505dc2d6f277a13408a1d213513d30211",
      "url": "https://github.com/waalwalker1/agentic-traffic-threat-triage/blob/cf3673d505dc2d6f277a13408a1d213513d30211/.agents/skills/test-first-contract/SKILL.md",
      "key": "waalwalker1/agentic-traffic-threat-triage/.agents/skills/test-first-contract/SKILL.md"
    }
  },
  "instructions": "# Test First Contract\n\n1. Freeze Pydantic/JSON contracts before parallel implementation.\n2. For every positive path add at least one failure/edge path.\n3. Shared interfaces require contract tests.\n4. Do not change schemas silently; version or record an ADR.",
  "cost": {
    "context_tokens": 64
  }
}

Fetch it by URL: GET /api/v1/registry/waalwalker1-agentic-traffic-threat-triage-test-first-contract/manifest?version=1.0.0

Reviews

Star ratings from people who tried it. One review per account; edit yours any time.

No reviews yet. Install it, try it, and be the first to rate it.