agentleFS
OpenAIKnown publisheropenai/community-plugins/plugins/react-native-to-swiftui/skills/verify-swiftui-parity/SKILL.md

verify-swiftui-parity

Skill18 starsChanged 2 months agoApache-2.0View on GitHub

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

The file

We split this skill into the rules it gives an agent

10 rules. About 0 are common, 9 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read only the contract, declared source evidence, and explicit target directory needed for this verification.

    line 16
  2. Distinctive:

    Do not change source, rewrite snapshots, bless new baselines, install dependencies, download Simulator runtimes, accept Apple licenses, or …

    line 17
  3. Distinctive:

    If a command creates build products, caches, screenshots, or logs, place them only under the explicit target directory or an explicitly …

    line 18
  4. Distinctive:

    Never use real credentials, customer data, private URLs, or production backends.

    line 19
  5. Distinctive:

    Check contract completeness: every required behavior, intentional native adaptation, deferred item, backend rule, persistence rule, error …

    line 23
  6. Distinctive:

    Run deterministic pure-Swift/domain checks first.

    line 24
  7. Distinctive:

    Verify backend contract behavior with synthetic fixtures or declared safe test doubles, including success, empty, loading, failure, retry, …

    line 26
  8. Distinctive:

    Verify accessibility evidence for labels, hints, traits, focus order, Dynamic Type, contrast, reduced motion, and stable identifiers that …

    line 27
  9. Very specific:

    Use the bundled scripts/native-port.mjs verify guardrail when available.

    line 28
  10. Distinctive:

    If a compatible Simulator runtime and destination are available, run the declared Simulator smoke and XCUITest path.

    line 29

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.