Skip to content
cccskills
FreePublished on GitHub

contract-testing

Pact contract testing: generate consumer-driven contracts, verify providers, publish to broker, run can-i-deploy. Go/TS/RN.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3 stars(GitHub 3 + cccskills 0)

Run score Not tested

See how to install

Files included (3)

  • SKILL.md1.9 KB
  • references/anti-patterns-and-checklist.md1.1 KB
  • references/implementation-details.md1.5 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Contract Testing (Pact)

Cuando usar / NO usar

UsarNO usar
Microservicios con consumer y provider evolucionando separadoAPIs terceros (Stripe, Google) — usar recorded mocks
Detectar breaking changes API antes de deployValidar logica e2e — Pact valida shape, no business logic
Reemplazar parcialmente E2E tests costosos/flakeyContratos asincronos triviales sin evolucion
Integraciones internas: alizia-web <-> alizia-api, mobile <-> apiUn equipo controla ambos lados sin CI separado

Concepto

Consumer-driven contract testing: consumer describe lo que espera -> provider lo verifica. Cada lado testea contra el contrato, no contra el otro servicio real. Complementario a OpenAPI (docs) — Pact valida expectativas ejecutables.

Flujo

  1. Consumer escribe tests usando mock Pact server -> genera pacts/<consumer>-<provider>.json
  2. Publicar a Pact Broker (Docker self-host gratis, o PactFlow SaaS) con --consumer-app-version=$GIT_SHA --branch=$GIT_BRANCH
  3. Webhook broker -> dispara provider verify en CI
  4. Provider corre verification con StateHandlers para cada given() del consumer
  5. Resultado publicado al broker
  6. can-i-deploy gate bloquea deploys incompatibles

→ Read references/implementation-details.md for consumer/provider setup, broker config, CI gate, and breaking change detection

→ Read references/anti-patterns-and-checklist.md for anti-patterns and implementation checklist

Delegacion

  • /scaffold-go — provider Go scaffold
  • /api-docs — OpenAPI complementario
  • /deploy-check — integrar can-i-deploy
  • /doc-rfc — documentar decision de adoptar Pact

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Plan, design, and implement A/B tests and experiments with statistical rigor. Covers hypothesis frameworks, sample sizing, metrics, and result analysis.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

Web/mobile accessibility decision guide: WCAG 2.2 AA, ARIA, keyboard nav, focus management, contrast, testing. Use for: a11y, accessibility, wcag, aria, screen reader, keyboard, contrast.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

Generate, iterate, and scale ad creative for paid advertising across Google, Meta, LinkedIn, and X. Covers platform specs, creative frameworks, and quality validation.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

Musica interactiva para juegos: layering vertical, re-secuenciacion horizontal, stingers, reglas de transicion con sync points, y mapeo de estados de gameplay a musica. Usar para: musica adaptativa, sistema de musica dinamica, transiciones musicales, combat music.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

Design multi-agent systems, create agent architectures, define communication patterns, and build autonomous agent workflows with structured evaluation frameworks.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

Inter-agent communication protocol for C-suite agent teams. Defines invocation syntax, loop prevention, isolation rules, response formats, and quality loops.

The English summary is being prepared. Showing the original description.

SebastianLuser/claude-code-arcane3Updated Oct 27, 2026

See all skills by SebastianLuser

Report a problem with this skill