본문으로 건너뛰기
Skillpedia
테스트48k · #4287

cross-platform-contract-propagation-audit

하는 일

이 도구는 계약 변경(데이터베이스 필드나 기능 등)이 사용되는 모든 곳, 예를 들어 서비스, 앱, 테스트에 일관되게 적용되는지 확인하도록 돕습니다. 모두가 변경을 이해하고 같은 방식으로 사용하도록 보장합니다.

사용하는 경우

  • ✓여러 시스템에 영향을 주는 필드를 추가하거나 바꿀 때.
  • ✓시스템의 서로 다른 부분이 값을 다르게 해석할 수 있는 경우.
  • ✓변경이 기존 시스템이나 기존 데이터를 깨뜨리지 않도록 보장할 때.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/cross-platform-contract-propagation-audit/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/cross-platform-contract-propagation-audit/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“새 ‘다크 모드’ 기능이 모바일 앱, 웹, 사용 데이터 수집에 올바르게 반영되는지 확인해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

먼저 변경이 무엇을 의미하고 다양한 상황에서 어떻게 작동해야 하는지 명확히 정의합니다. 그다음 이 변경이 사용되는 모든 곳을 나열하고, 각 곳에 변경이 올바르게 적용되었는지 증거를 기록하며 확인합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Cross-Platform Contract Propagation Audit

Overview

Audit a contract change from its source through every transformation and consumer before release. Treat a field that exists in one schema as incomplete until its meaning, defaults, wire behavior, rollout controls, client handling, analytics, and tests are proven across all relevant paths.

This is a read-only evidence workflow. It reports propagation gaps; it does not implement them.

When to Use This Skill

  • Use when adding or changing a field, enum value, status, capability, or feature flag shared by multiple components.
  • Use when database, backend, API, Web, Android, iOS, jobs, events, or analytics may interpret the same value differently.
  • Use when a change must preserve existing records, older clients, or a default-off rollout.
  • Use when a change looks complete in one endpoint but may be missing from alternate entry points or generated models.

How It Works

Step 1: Write the semantic contract

Before tracing files, state the business invariant and define every observable state. Distinguish values that languages and serializers often collapse:

State Questions to answer
missing Is the property absent on the wire or in an old record?
null Is it unknown, inherited, unsupported, or invalid?
false or zero Is this an explicit disabled value or a default?
true or non-zero What behavior becomes available?
unknown enum Must old consumers ignore, preserve, or reject it?

Record compatibility requirements, ownership, rollout condition, and the exact user-visible or system behavior for each state. Do not accept optional, nullable, and default false as equivalent without evidence.

Step 2: Enumerate the propagation graph

List every relevant node before judging completeness:

source of truth
  -> persistence and migration
  -> domain model and mapper
  -> service or policy computation
  -> every API, event, cache, and job projection
  -> generated or handwritten client model
  -> client state and presentation logic
  -> analytics and operational observability
  -> tests, rollout, and rollback checks

Include alternate read/write endpoints, list/detail projections, background consumers, offline caches, admin surfaces, older app versions, and feature-flag evaluation points when they are in scope. Mark a node not applicable only with a reason.

Step 3: Trace evidence edge by edge

For each edge, cite the producer, transformation, consumer, and test using file paths, symbols, schema names, or other inspectable evidence. Assign one status:

Status Meaning
proven Producer and consumer agree, with direct evidence and relevant test coverage.
partial Some paths or states agree, but coverage is incomplete.
missing A required propagation edge or consumer is absent.
conflict Two layers implement different semantics.
unknown Evidence is unavailable or ambiguous.
not_applicable The layer is outside scope, with a stated reason.

Do not upgrade likely, convention, type compatibility, or a framework default to proven. A declaration proves shape, not runtime mapping or behavior.

Step 4: Check the high-risk boundaries

Inspect these boundaries explicitly:

  • Migration and existing data: default, backfill, nullability, rollback, mixed-version reads and writes.
  • Domain mapping: missing/null coercion, enum fallbacks, validation, derived values, serialization symmetry.
  • Fan-out surfaces: list and detail DTOs, events, caches, jobs, search indexes, SDKs, and alternate API versions.
  • Client compatibility: missing and explicit-null decoding, unknown enums, generated-model drift, cached payloads, release or minified builds.
  • Rollout control: flag default, evaluation location, cohort consistency, kill switch, and behavior when stored data disagrees with the flag.
  • Analytics: offered, rendered, attempted, succeeded, and failed events carry enough contract and version context to join reliably.

Step 5: Build a state-by-path test matrix

Cross the semantic states from Step 1 with every material path from Step 2. At minimum, include existing-data defaults, enabled and disabled values, flag on and off, alternate endpoints, current clients, and representative older clients.

…

자주 묻는 질문

이 맥락에서 ‘계약’이란 무엇인가요?

정보(데이터나 기능)가 어떻게 작동하고 해석되어야 하는지에 대한 합의입니다. 모든 시스템이 따라야 하는 규칙이라고 생각하면 됩니다.

‘전파(propagation)’를 확인하는 것이 왜 중요한가요?

전파는 변경이 그것을 사용하는 모든 시스템과 장소에 똑같이 적용되도록 한다는 뜻입니다. 제대로 전파되지 않으면 오류, 불일치, 예상치 못한 동작이 생길 수 있습니다.

이 도구가 자동으로 고치나요?

아니요, 이 도구는 감사와 검증을 위한 것입니다. 불일치가 있는 곳을 찾아내지만 고치지는 않습니다. 개발자가 필요한 수정을 할 수 있도록 정보를 제공합니다.

상세 정보

작성자의 원본 설명

Use when auditing whether a field, enum, flag, or API contract propagates consistently across storage, services, clients, analytics, and tests.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#4287
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬