agentleFS
lgzarturolgzarturo/codeconductor/.agents/skills/cc-api-contract/SKILL.md

cc-api-contract

Skill0 starsChanged 26 days agoMITView on GitHub

API contract request: $ARGUMENTS Invoke task-coach with the request above. The Task Card must classify the task as feature or refactor with high risk unless the human provides a narrower validated risk. It must include: STOP here. Show the Task Card and wait for human confirmation. Invoke architect with the approved Task Card. architect must define the API contract, compatibility strategy, validation rules, docs/OpenAPI impact, and migration path for consumers. STOP here. Show the Technical Plan and wait for explicit…

The file

Files
SKILL.md

API Contract Workflow

API contract request: $ARGUMENTS

Step 1 — Task Card validation (task-coach)

Invoke task-coach with the request above.

The Task Card must classify the task as feature or refactor with high risk unless the human provides a narrower validated risk. It must include:

  • affected endpoint, command, or public interface
  • request and response examples
  • backward compatibility and versioning impact
  • consumers that must remain compatible
  • contract tests and documentation acceptance criteria

STOP here. Show the Task Card and wait for human confirmation.


Step 2 — Technical Plan (architect)

Invoke architect with the approved Task Card.

architect must define the API contract, compatibility strategy, validation rules, docs/OpenAPI impact, and migration path for consumers.

STOP here. Show the Technical Plan and wait for explicit human approval.


Step 3 — Implementation (implementer)

Invoke implementer with the approved plan.

implementer must apply the minimal diff, preserve compatible behavior unless a breaking change was explicitly approved, and update only the files named in the plan.


Step 4 — Contract tests (tester)

Invoke tester.

tester must add or update contract tests covering request shape, response shape, status/error behavior, and backward compatibility constraints.


Step 5 — Review (reviewer)

Invoke reviewer.

reviewer must block on missing contract tests, undocumented breaking changes, or docs/OpenAPI drift.


Completion

Report the final Task Card, Technical Plan, implementation summary, test report, review report, docs updated, compatibility impact, and residual risks.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.