본문으로 건너뛰기
cccskills
무료GitHub에 공개한국어 소개

trpc-compat

배포된 tRPC 클라이언트와의 호환성을 릴리스 태그, 변경 이력, PostHog 호출 기록으로 확인합니다. 변경 방식과 폐기 예정 기능의 제거 가능성을 검토하고, 배포 후 장애가 발생했을 때의 복구 계획도 정리합니다.

원문원문 설명 보기

Check that a tRPC change is safe for released desktop, mobile, CLI, and SDK builds, pick the compatible pattern, and decide when a deprecated procedure can be removed. Use when changing, renaming, or removing an existing procedure, input field, or output field in packages/trpc or packages/host-service, when reviewing such a PR, or when a deploy broke released clients.

ParadevAI/Paradev스타 15,724(GitHub 15,724 + cccskills 0)
연동 도구Sentry

실행 점수 미검증

설치 방법 보기

이럴 때 유용합니다

  • API 변경이 배포된 앱에 미치는 영향 확인하기
  • 호환성을 유지하며 입력이나 출력 바꾸기
  • 사용 중단 예정 절차의 제거 가능성 판단하기
  • API 업데이트로 인한 장애 복구 계획하기

한국어 소개

할 수 있는 일

tRPC로 공개한 절차와 입력 또는 출력을 변경하기 전에 배포된 앱과 호환되는지 확인합니다. 최신 코드뿐 아니라 릴리스 태그와 변경 이력에서 호출 위치를 찾고, PostHog 호출 기록도 근거로 활용합니다. 변경 내용에 따라 새 절차를 추가하거나 입력을 선택 항목으로 만들고, 이전 이름을 별칭으로 유지하는 등의 호환 방법을 제안합니다.

이럴 때 유용합니다

packages/trpc 또는 packages/host-service를 변경하거나 관련 PR을 검토할 때, 오래된 앱에서만 발생하는 장애를 조사할 때 유용합니다. 사용 중단 예정 절차를 제거할 근거를 정리하고 API와 클라이언트를 어떤 순서로 공개할지도 살펴볼 수 있습니다.

사용 예시

  • “이 반환값 변경이 배포된 앱에 영향을 주는지 확인해 주세요.”
  • “사용 중단 예정인 이 절차를 제거해도 되는지 조사해 주세요.”
  • “API 배포 후 오래된 앱에 문제가 생겼습니다. 복구 방안을 검토해 주세요.”

주의 사항

코드베이스에 릴리스 태그, 최소 지원 버전, 모니터링 이벤트가 있어야 합니다. 사용 현황은 PostHog에서 확인하고 장애 조사는 Sentry를 참고합니다. 호출 기록은 전체의 1%를 표본으로 수집하므로 기록이 없다는 사실만으로 미사용이라고 판단할 수 없습니다. 최소 지원 버전을 올리려면 제품 차원의 결정이 필요합니다.

이 소개문은 공개된 SKILL.md를 바탕으로 AI(OpenAI Codex)가 작성했습니다. 정확한 사양은 아래 원문을 확인하세요.

문서 점검

AI가 SKILL.md의 내용에서 주의가 필요한 작업과 도입 전제를 확인했습니다. 점수는 실제로 실행한 결과(실행 검증)만으로 매깁니다.

안전성전송·삭제·명령 실행 등을 명시하고 있는가
B일부 부족git과 gh 명령을 사용하고 1% 표본 수집을 명시하지만 작업 확인 범위에 관한 설명은 제한적입니다.
도입의 용이성필요한 도구나 API 키가 적고 적혀 있는가
B일부 부족릴리스 태그, 최소 버전, PostHog, Sentry가 전제되지만 설정 절차는 없습니다.

점수에는 넣지 않았습니다. 2026년 10월 29일 기준으로 AI(OpenAI Codex)가 판정했습니다. 참고용이므로 설치 전에 원문도 확인해 주세요.

평가가 다르다고 생각되면 재검토를 요청하기

어느 항목이 왜 다르다고 생각하는지 적어 주세요. 로그인은 필요 없습니다. SKILL.md와 대조해 평가를 다시 만들고 이곳에 반영합니다.

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

포함된 파일(1)

  • SKILL.md6.6 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

tRPC compatibility

On 2026-09-23, #7726 changed page.list from a bare array to { items, nextCursor }. It updated every caller on main, so typecheck and tests passed. Desktop 1.30.0–1.30.2 still called .map on the result, and every workspace view crashed (SEV1, 337 Sentry events, postmortem "page.list response change crashed released desktop apps"). CI only sees main. This skill is how you check the builds CI cannot see.

1. Find released callers

Search the release tags, not main. Run git fetch --tags first in a fresh clone.

PROC='page\.list(?!Paginated)'   # the procedure path; exclude longer names that share the prefix
FLOOR=1.29.0                     # MINIMUM_DESKTOP_VERSION in apps/api/src/app/api/desktop/version/route.ts
for v in $({ echo "$FLOOR"; git tag -l 'desktop-v*' | sed 's/^desktop-v//'; } | awk '!/-/' | sort -uV | sed -n "/^$FLOOR\$/,\$p"); do
  git rev-parse -q --verify "refs/tags/desktop-v$v" >/dev/null || continue
  git grep -q -P "$PROC" "desktop-v$v" -- apps/desktop && echo "desktop-v$v calls it"
done
  • Desktop: every desktop-v* tag at or above the floor is live.
  • CLI: same loop with cli-v* tags and -- packages/cli. The CLI has no floor, so check every tag you can; old installs stay in use.
  • Mobile: no tags, and MINIMUM_MOBILE_VERSION is 1.0.0. If apps/mobile on main calls it, or git log -S shows it ever did, treat it as called by a live build.
  • SDK: packages/sdk calls procedures by string (/api/trpc/<procedure>). Search main and git log -S the same way.
  • host-service procedures: callers are desktop, CLI, and mobile, and the host can be older or newer than the client. See packages/host-service/AGENTS.md.

Any hit means the procedure is live. Its input and output are frozen.

2. Check usage data

The API samples 1% of calls into the PostHog event api_procedure_called. Run this in the PostHog SQL editor or through the PostHog MCP:

SELECT properties.client_product AS product, properties.client_version AS version,
       count() * 100 AS est_calls, max(timestamp) AS last_seen
FROM events
WHERE event = 'api_procedure_called' AND properties.procedure = 'page.list'
  AND timestamp > now() - INTERVAL 30 DAY
GROUP BY product, version ORDER BY product, version

Zero rows is weak evidence for a rarely called procedure: 1% of a small number rounds to zero. Calls from web and from builds older than the x-superset-client header are not recorded.

3. Pick the pattern

You want toDo thisExample
Change an output shapeNew procedure; old one keeps its shapepage.list + page.listPaginated (#7756)
Add an inputNew optional field, default in the handler (safe: old clients do not send it)
Accept a new input shapeAccept both, convert server-siderrule + triggers in automation/schema.ts
Rename a procedureNew name; old name stays as a @deprecated aliastask.all → task.list in task/task.ts
Drop an inputKeep accepting it and ignore itbranch in task/schema.ts
Drop an output fieldKeep sending it until removal is allowedthe plugins catalog field that #7317 removed crashed old desktops
Drop or rename a DB columnPick the procedure's output columns first, keep the old fielddb.query.*.find* without columns returns every column
Make an input stricterOnly on a new input or procedurepublishPageSchema is .strict() from the start, so a newer CLI fails loudly on an older server
Change an error code, default, or sort orderNew procedure, or a new optional input that opts in (absent keeps the old behavior)desktop branches on NOT_FOUND and CONFLICT
Call a new procedure from a clientMerge the API first, then the client after the API is live#7317's API deploy stalled two days behind migration 0119

To check the API is live, the latest Deploy Production run after your API merge must have passed: gh run list --workflow deploy-production.yml --branch main --limit 5.

In client code, expect the unknown: guard new optional fields, handle enum values the client has not seen, and keep a failing widget from taking its parent view down with it. #7726 crashed the whole workspace view from one menu.

Keep the schema migration in its own PR. #7726 had a migration inside it, so the bad API change could not be reverted.

4. Remove a deprecated procedure or field

Only when both are true:

  • Step 1 finds no call in a live desktop tag and no call from mobile, CLI, or SDK.
  • Step 2 shows no calls from a live version over the last 30 days.

If a live desktop build still calls it, the only path is to raise MINIMUM_DESKTOP_VERSION. That is a product decision; ask, do not do it in a cleanup PR. Put the evidence in the PR description, as d1aee0922f did for device.heartbeat.

5. If released clients are already broken

  1. Confirm with Sentry: a new desktop issue that starts at the API deploy time.
  2. Does the PR that broke it include a migration that production already applied?
    • No: revert the PR. The API redeploys on merge.
    • Yes: write a forward fix that restores the old contract and moves the new shape to a new procedure, as #7756 did. Do not roll back the migration.
  3. Tell affected users to reload (Cmd+R). Some needed to restart the app or the terminal daemon.

Checklist

  • Step 1 run for every procedure whose input or output changed, with the result in the PR
  • No existing input field is new-required, renamed, retyped, or more strictly validated
  • No existing output field is removed, renamed, retyped, wrapped, or newly nullable, including through a DB column change on a find* without columns
  • No change to an existing error code, default limit, sort order, or meaning of null
  • No change to a procedure's type (query, mutation, subscription), the link, or the transformer
  • No new required header or stricter auth on an existing procedure
  • Client code that needs a new procedure merges after the API is live in production
  • Every new input field is optional with a server-side default
  • A replaced procedure is kept as a @deprecated alias
  • No schema migration in the same PR as the contract change
  • Removals: step 1 and step 2 evidence is in the PR

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

10x

무료요약 있음

Superset 사용 현황을 살펴보고 아직 쓰지 않는 기능 중 업무 방식에 맞는 항목을 제안합니다. 각 기능을 설명하고, 사용자가 고른 예약 실행 에이전트나 병렬 작업 공간, 공유 작업 등을 설정합니다.

  • 사용하지 않는 Superset 기능 찾기
  • 에이전트 예약 실행 설정
  • 여러 작업 공간에서 병렬 작업
ParadevAI/Paradev1.6만2026년 10월 29일 업데이트

automate

무료요약 있음

반복 작업을 Superset 자동화로 설정합니다. 에이전트 지침, 일정 또는 이벤트 조건, 실행 작업 공간을 정리하고 명시적인 확인을 받은 뒤 자동화를 만듭니다. 저장된 조건과 첫 실행 결과를 살펴 지침을 조정합니다.

  • 매일 또는 매주 작업 예약
  • GitHub에서 풀 리퀘스트가 열릴 때 실행
  • Slack의 지정된 반응을 계기로 실행
ParadevAI/Paradev1.6만2026년 10월 29일 업데이트

browser

무료요약 있음

Superset 작업 공간의 브라우저에서 페이지를 열고 클릭하거나 입력하며, 화면과 콘솔 정보를 확인합니다. 개발 중인 웹 앱 미리 보기, 폼 동작 및 화면 이동 점검에 활용할 수 있습니다.

  • 로컬 웹 앱 미리 보기
  • 페이지 화면 캡처
  • 콘솔 오류 확인
ParadevAI/Paradev1.6만2026년 10월 29일 업데이트

build-a-stripe-integration

무료요약 있음

Stripe 공식 문서와 API 매개변수 정의를 확인해 결제, 구독, 청구서, 웹훅 연동을 구현합니다. 적절한 제품 선택부터 샌드박스 테스트와 웹훅 처리까지 다루며, 결제와 구독 상태를 웹훅 이벤트로 판단합니다.

  • 정기 결제에 맞는 Stripe 제품 선택
  • Checkout 또는 청구서 처리 구현
  • 오작동하는 Stripe 연동 조사
ParadevAI/Paradev1.6만2026년 10월 29일 업데이트

cdp-verification

무료요약 있음

Chrome DevTools Protocol로 실행 중인 Electron 데스크톱 앱을 조작해 UI 변경을 확인하고 문제를 재현합니다. 실제 사용 흐름을 따라 화면 전환을 검증하고, 스크린샷과 경로·스크롤 위치·포커스·저장 상태를 기록해 비교합니다.

  • 실행 중인 앱에서 UI 문제 재현
  • 수정 후 화면 동작 확인
  • 화면 전환이 포함된 흐름 검증
ParadevAI/Paradev1.6만2026년 10월 29일 업데이트

ci-triage

무료요약 있음

GitHub Actions 실패 로그에서 최초 오류를 찾아 코드 결함, 환경 문제, 간헐적 실패, 기존 장애로 구분합니다. 기준 브랜치와 PR 변경 사항을 비교해 관련성을 설명하고 다음 조치를 정리합니다.

  • PR 검사 실패 원인 조사
  • 불안정한 테스트와 코드 결함 구분
  • 기준 브랜치의 기존 장애 확인
ParadevAI/Paradev1.6만2026년 10월 29일 업데이트

ParadevAI의 스킬 모두 보기

이 스킬의 문제 신고