Every premium and members-only resource for $9.99/month, as a no-commitment subscription. See the plans

PalateKit

Menu

Request a resource

Describe the resource you are missing in one sentence. We will email you when it is published.

0 / 280

Unlock PalateKit

Unlock everything

Plan

Paying means accepting our terms of sale.

Secure payment by Stripe. Receipts and invoices sent by email.

Welcome back

Sign in to install, download or save this resource. A free account is enough for free resources.

Pass/fail review gate for Swift code v1.0.0

Use this resource to check Swift code before merging, with a pass or fail verdict

New

  • 317 downloads
  • 151 likes
  • 103 saves

Free

Install with the CLI

In a terminal, from the folder you want:

npx --yes palatekit@latest install swift-language-review-gate

With no option, the skill goes to ~/.agents/skills/; add --agent claude-code (or codex, cursor…) to target an agent.

First time: connect the CLI with

npx --yes palatekit@latest login

A blind reviewer checks Swift code against 36 decidable rules covering concurrency, property invariants, error handling and collections. It returns a pass or fail verdict naming the rule behind each gap. The agent does not fix the code.

Mostly picked by

Updated November 2, 2026

Card for the “Pass/fail review gate for Swift code” skill

Details

Generates with
Your agent's model
Licence
MIT

Similar resources

View all

What you get

  • SKILL.md: review protocol and verdict format
  • references/: one card per rule on APIs, collections and concurrency

Good fit for

  • You want an objective check before merging generated Swift
  • A continuation or task code path ignores cancellation

Not for

    Tags

    • swift
    • code review
    • concurrency
    • api
    • verdict

    About

    You say

    “Run this Swift diff through the review gate and give me the verdict rule by rule.”

    Card for the “Pass/fail review gate for Swift code” skill

    Skill published by pproenca under the MIT license, delivered in its original version.

    Show more

    How to use it

    1. Install the skill in your agent's skills folder
    2. Ask your agent to check Swift code before merging, with a pass or fail verdict
    3. Review and adjust the result

    Content preview

    Files

    • assets/templates/verdict.md2.1 KB
    • gotchas.md6.9 KB
    • LICENSE1.1 KB
    • metadata.json1.1 KB
    • NOTICE-PALATEKIT.md0.5 KB
    • references/_sections.md5.1 KB
    • references/api-autoclosure-conditional-params.md2.5 KB
    • references/api-final-or-private-classes.md2.1 KB
    • references/api-memberwise-init-via-extension.md2.4 KB
    • references/api-never-for-nonreturning-paths.md2.8 KB
    • references/api-opaque-return-over-concrete-nesting.md3 KB
    • references/api-optionset-over-boolean-rows.md2.4 KB
    • references/api-unavailable-on-fatalerror-stubs.md2.4 KB
    • references/coll-count-where-over-filter-count.md1.4 KB
    • references/coll-dictionary-default-subscript.md1.7 KB
    • references/coll-mapvalues-value-only-transforms.md1.8 KB
    • references/coll-optional-chaining-in-place-mutation.md1.8 KB
    • references/coll-reduce-into-accumulators.md1.7 KB
    • references/conc-async-let-for-independent-awaits.md2.6 KB
    • references/conc-check-cancellation-in-loops.md2.7 KB
    • references/conc-concurrent-offload-under-mainactor-default.md3.2 KB
    • references/conc-resume-continuation-every-path.md3.1 KB
    • references/conc-taskgroup-for-dynamic-fanout.md2.8 KB
    • references/enum-caseiterable-over-hand-lists.md2.4 KB
    • references/enum-caseless-namespaces.md2 KB
    • references/enum-derived-comparable-declaration-order.md2.9 KB
    • references/enum-unknown-default-external-enums.md2.3 KB
    • references/err-callsite-location-default-args.md2.6 KB
    • references/err-preserve-underlying-error.md2.9 KB
    • references/err-result-get-over-manual-switch.md1.6 KB
    • references/err-rethrows-for-closure-only-throws.md2.4 KB
    • references/err-warning-directive-for-pending-work.md2 KB
    • references/flow-branch-assigned-let.md2.1 KB
    • references/flow-canimport-over-os-chains.md2.3 KB
    • references/flow-raw-strings-escape-heavy.md1.3 KB
    • references/flow-take-for-one-shot-optionals.md1.7 KB
    • references/flow-validating-untrusted-bytes.md2.1 KB
    • references/flow-zip-indices-over-enumerated.md2.5 KB
    • references/prop-computed-over-stored-derived.md2.6 KB
    • references/prop-defer-observed-init-assignments.md2.6 KB
    • references/prop-discard-self-in-consuming-cleanup.md2.3 KB
    • references/prop-private-set-internal-mutation.md2.7 KB
    • references/reviewer-prompt.md6.6 KB
    • SKILL.md11.7 KB

    Origin and licence

    Listed unmodified

    Author
    pproenca
    Source
    github.com/pproenca/dot-skills/tree/cf93c57cac89d6fc3e4194686000411567f5caf3/skills/.experimental/adversarial-swift
    Licence
    MIT

    Notice

    « adversarial-swift » (pproenca, MIT) livré dans sa version d'origine : fiche en français et en anglais par PalateKit.

    User reviews

    –

    No ratings yet

    Loading reviews…

    Delete your review?

    Your rating and comment will be removed from the page.