소스 정보
- 저장소
- Dev-Toolbelt/dev-team-agents
- 최근 소스 활동
- 2026년 5월 11일 16:18
- 감지된 SKILL.md 언어
- 영어
- 스타
- 4
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/Dev-Toolbelt/dev-team-agents --skill contract-testing명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
SOC 직업 분류 기준
| name | contract-testing |
| description | Contract testing — Pact, schema validation, breaking change prevention. |
Integration tests require a live environment. E2E tests are slow and fragile. Contract testing catches API contract breaks between services in CI, without a shared environment, by verifying that the consumer's expectations match what the provider actually returns.
| Term | Meaning |
|---|---|
| Consumer | The service that calls the API (client, frontend, downstream service) |
| Provider | The service that serves the API (backend, upstream service) |
| Pact | A JSON file describing the interactions the consumer expects |
| Pact Broker | Central store for pact files and verification results |
| Provider state | Setup instructions telling the provider how to arrange its data for a given test |
Consumer writes expectations
↓
Pact file generated (JSON)
↓
Published to Pact Broker
↓
Provider runs pact:verify in CI
↓
Results published to Broker
↓
Can-I-Deploy check gates the release
Define each interaction with three parts:
given — provider state: "a user with ID 42 exists"upon receiving — the request: method, path, headers, bodywill respond with — expected status, headers, body shape (not exact values — use matchers)Use matchers (type, regex, like) rather than exact values so the contract stays stable across test data changes.
given in the pact — sets up the database or mocks needed.pact:verify (or equivalent) in CI on every PR that touches the API.can-i-deploy.Not needed for monoliths where consumer and provider are compiled and deployed together.
When Pact is too heavy (small team, simple API, no Pact Broker available):
dredd, schemathesis, or openapi-validator.This is weaker than Pact (no consumer-driven expectations) but far better than no contract enforcement.
| Change type | Safe? | Required action |
|---|---|---|
| Add new optional field to response | Yes | None |
| Add new optional query/body parameter | Yes | None |
| Remove a field from response | No | Provider version bump + consumer update cycle |
| Rename a field | No | Provider version bump + consumer update cycle |
| Change field type | No | Provider version bump + consumer update cycle |
| Remove an endpoint | No | Deprecation period + consumer migration |
/v1/, /v2/) for major breaking changes.