跳到正文
cccskills
免费在 GitHub 公开

verify-swiftui-parity

Verify one approved SwiftUI feature slice against its behavioral parity contract with deterministic and conditional Apple-platform checks.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(2)

  • SKILL.md3.5 KB
  • agents/openai.yaml278 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Verify SwiftUI Parity

Assess evidence for one approved SwiftUI slice. Verification is contract-driven: a similar-looking screen is not proof of parity.

Required inputs

Require the approved parity contract, explicit target directory/module, named feature slice, expected deterministic checks, and any approved platform destinations. Stop if the contract, target, backend behavior, licensing status, or parity expectations are ambiguous.

Safety contract

  • Read only the contract, declared source evidence, and explicit target directory needed for this verification.
  • Do not change source, rewrite snapshots, bless new baselines, install dependencies, download Simulator runtimes, accept Apple licenses, or alter signing.
  • If a command creates build products, caches, screenshots, or logs, place them only under the explicit target directory or an explicitly approved disposable verification directory.
  • Never use real credentials, customer data, private URLs, or production backends. Use approved synthetic fixtures or a declared safe local test endpoint.

Verification order

  1. Check contract completeness: every required behavior, intentional native adaptation, deferred item, backend rule, persistence rule, error state, and accessibility criterion must have an evidence path.
  2. Run deterministic pure-Swift/domain checks first. Require stable fixtures and fixed seeds, clocks, identifiers, locale, and time zone where relevant.
  3. Inspect architecture boundaries: domain code must not import SwiftUI/UIKit; views and platform adapters should remain thin.
  4. Verify backend contract behavior with synthetic fixtures or declared safe test doubles, including success, empty, loading, failure, retry, auth, and offline cases required by the contract.
  5. Verify accessibility evidence for labels, hints, traits, focus order, Dynamic Type, contrast, reduced motion, and stable identifiers that apply to the slice.
  6. Use the bundled scripts/native-port.mjs verify guardrail when available. Its result is structural deterministic evidence, not proof of behavioral parity; then run the declared build/test gate with derived data inside the allowed boundary if Xcode is available and already licensed.
  7. If a compatible Simulator runtime and destination are available, run the declared Simulator smoke and XCUITest path. Do not create, install, or download a missing runtime.

Missing-toolchain behavior

Missing Xcode, Swift, an accepted Apple license, a Simulator runtime, a bootable destination, or XCUITest support is a clear BLOCKED platform gate, never a pass. The bundled scripts/native-port.mjs toolchain guardrail reports XCODE_TOOLCHAIN_UNAVAILABLE when appropriate. Name the exact missing prerequisite, preserve deterministic results already obtained, and provide the smallest human-run next step without performing installation or license acceptance.

Result format

Return a table with one row per contract behavior or gate:

  • status: PASS, FAIL, BLOCKED, or NOT TESTED;
  • contract requirement;
  • evidence command, fixture, file, or observation;
  • mismatch or missing prerequisite;
  • smallest next action.

Then summarize parity confidence, files/artifacts created inside the allowed boundary, skipped platform gates, and remaining risks. Do not claim full parity while required rows are failed, blocked, or untested.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Analyze reviewed Grafana log evidence for event patterns, error-rate changes, and enrolled security markers. Use when a user needs bounded log analytics for an incident window, error-log comparison, anomaly triage, operational debugging, or a cautious check of approved security signals.

中文简介正在准备中。当前显示原文说明。

openai/community-plugins162026年10月20日 更新

Run a read-only App Store-readiness preflight for a declared iOS target without claiming approval or submitting anything.

中文简介正在准备中。当前显示原文说明。

openai/community-plugins162026年10月20日 更新

Audit whether a declared local review evaluation can support fair quality claims. Use only when the user explicitly asks to audit review-eval validity or use the bundled synthetic fixture.

中文简介正在准备中。当前显示原文说明。

openai/community-plugins162026年10月20日 更新

Deterministically score comparable imported review-run lanes with root-cause metrics and uncertainty. Use only when the user explicitly asks to benchmark normalized local review runs or use the bundled synthetic fixture.

中文简介正在准备中。当前显示原文说明。

openai/community-plugins162026年10月20日 更新

Stage and verify Fusion exports, drawing PDFs, flat-pattern DXF, viewport images and local renders. Use for engineering deliverables, not automatic publication or release.

中文简介正在准备中。当前显示原文说明。

openai/community-plugins162026年10月20日 更新

Prepare, execute and verify authorized Fusion CAD changes using resolved entities, explicit units and state-bound plans. Use for reviewed parameter, sketch, feature, assembly or configuration operations.

中文简介正在准备中。当前显示原文说明。

openai/community-plugins162026年10月20日 更新

查看 openai 的全部技能

报告此技能的问题