xcodebuildmcp-snapshot-fixture-review

作者: sentry

在審查 XcodeBuildMCP 快照測試固定檔案的變更時使用,以確保 MCP、CLI 和 JSON 輸出合約的完整性。

npx skills add https://github.com/getsentry/xcodebuildmcp --skill xcodebuildmcp-snapshot-fixture-review

XcodeBuildMCP Snapshot Fixture Review

Review guardrails for fixture and snapshot contract integrity.

Review scope

  • Review-only by default.
  • Do not edit product code unless the user explicitly requests implementation changes.

Files to inspect

  • src/snapshot-tests/__fixtures__/**
  • src/snapshot-tests/contracts.ts
  • src/snapshot-tests/fixture-io.ts
  • src/snapshot-tests/__tests__/fixture-io.test.ts
  • src/snapshot-tests/__tests__/json-normalize.test.ts
  • src/snapshot-tests/__tests__/json-fixture-schema.test.ts
  • xcodebuildmcp.com/app/docs/_content/testing.mdx

Guardrails

  • Fixture updates map to intentional behavior changes.
  • Do not update fixtures only to make tests pass.
  • MCP, CLI, and JSON fixture updates stay aligned.
  • JSON fixtures preserve stable structured output envelopes.
  • Volatile values are normalized in code, not patched ad hoc in fixtures.
  • Missing fixtures are generated through the snapshot update flow.
  • Verify project-defined normalization sentinels in normalization code and tests before reporting them as implausible fixture values. In particular, 99999 is an intentional sentinel for volatile UI capture counts.
  • Group every occurrence of the same root cause into one finding and list the affected fixtures. Do not emit separate findings for equivalent CLI, MCP, text, or JSON drift.
  • Do not repeat a finding that is already resolved by the current diff.

Review limits

  • Review the changed fixtures and the directly relevant normalization or contract code only.
  • Do not run snapshot or smoke suites as part of an automated PR review.
  • Prefer one high-confidence cross-fixture finding over multiple speculative discrepancies.

來自 sentry 的更多技能

generate-frontend-forms
sentry
使用 Sentry 新表單系統建立表單的指南。適用於實作表單、表單欄位、驗證或自動儲存功能時使用。
official
sentry-snapshots-cocoa
sentry
完整的 Sentry Snapshots 設定,適用於 Apple/Cocoa 專案。當被要求「設定 SnapshotPreviews」、「設定 Apple 快照測試」、「上傳 Apple 快照至…」時使用。
official
architecture-review
sentry
員工級別的程式碼庫健康檢查。找出單體模組、靜默失敗、型別安全漏洞、測試覆蓋缺口,以及LLM友善性問題。
official
linear-type-labeler
sentry
根據每個問題的標題與描述內容,從 Sentry 工作區的標籤分類法中分類 Linear 問題,並套用對應的類型標籤。
official
sentry-flutter-sdk
sentry
完整的 Sentry SDK 設定,適用於 Flutter 和 Dart。當被要求「為 Flutter 加入 Sentry」、「安裝 sentry_flutter」、「在 Dart 中設定 Sentry」或設定錯誤…時使用。
official
sentry-svelte-sdk
sentry
完整的 Sentry SDK 設定,適用於 Svelte 和 SvelteKit。當被要求「將 Sentry 加入 Svelte」、「將 Sentry 加入 SvelteKit」、「安裝 @sentry/sveltekit」或進行設定時使用…
official
vercel-react-best-practices
sentry
來自 Vercel Engineering 的 React 與 Next.js 效能優化指南。此技能應在撰寫、審查或重構 React/Next.js… 時使用。
official
sentry-tanstack-start-sdk
sentry
完整的 Sentry SDK 設定,適用於 TanStack Start React。當被要求「將 Sentry 加入 TanStack Start」、「安裝 @sentry/tanstackstart-react」或設定錯誤…時使用。
official