supabase-swift
AGENTS.md1.3k starsChanged 2 months agoMITView on GitHub
This is the official Supabase SDK for Swift, mirroring the design of supabase-js. It provides a Swift client for interacting with Supabase services including Auth, Database (PostgREST), Realtime, Storage, and Functions. This uses swift-format to automatically format code. All code should be formatted before committing. Lint rules live in .swift-format at the repo root, which enables NeverUseForceTry and NeverUseImplicitlyUnwrappedOptionals on top of the defaults. Library code must not trap on a value a caller supplied — see SDK-1793. Tests/.swift-format turns…
- Installs packages
Trending
More talk lately.about the whole repository
Who's talking about supabase/supabase-swift
- supabase/supabase-js“refactor(ci): use reusable workflows from supabase/actions”GitHub · Jan 21, 2026 · 2 reactions
- supabase/supabase-flutter“Allow to pass query params when invoking function”GitHub · May 10, 2024 · 2 reactions
- skiptools/skip“Cannot depend on external packages when using Skip native”GitHub · Apr 29, 2025 · 1 reactions
- supabase/supabase-flutter“[Feature request]: Add pull token approach to Realtime”GitHub · Dec 5, 2024 · 1 reactions
- supabase-community/supabase-kt“[Bug]: After deleting a user via edge function you can not logout”GitHub · Jun 25, 2024 · 1 reactions
The biggest 5 of 32 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 32
Talked about on GitHub (32 times).
On GitHub · 32
- Jan 21, 2026refactor(ci): use reusable workflows from supabase/actions — supabase/supabase-js2 reactions
- May 10, 2024Allow to pass query params when invoking function — supabase/supabase-flutter2 reactions · 3 comments
- Apr 29, 2025Cannot depend on external packages when using Skip native — skiptools/skip1 reaction · 11 comments
- Dec 5, 2024[Feature request]: Add pull token approach to Realtime — supabase/supabase-flutter1 reaction · 1 comment
- Jun 25, 2024[Bug]: After deleting a user via edge function you can not logout — supabase-community/supabase-kt1 reaction · 6 comments
27 more on GitHub
- Oct 5, 2026chore(deps): bump the swift-minor-patch group across 1 directory with 5 updates — matthewcross27/Pictalis0 reactions
- Oct 1, 2026chore(deps): bump the ios-deps group in /iOS with 4 updates — thegoodcompany-sst/TAVAttendance0 reactions
- Sep 29, 2026deps: bump github.com/supabase/supabase-swift from 2.55.1 to 2.55.2 in /Packages/AlbumRaterKit in the swift group — jaimerabazo/album-rater0 reactions · 1 comment
- Sep 26, 2026Bump github.com/supabase/supabase-swift from 2.54.1 to 2.55.2 in /macOS — prioneto/signalcase0 reactions · 1 comment
- Sep 21, 2026deps: bump the swift-packages group across 1 directory with 3 updates — bobokenbippers/meetup-ios0 reactions
- Sep 19, 2026chore(deps): bump the swift-minor-patch group across 1 directory with 6 updates — matthewcross27/Pictalis0 reactions · 1 comment
- Sep 16, 2026【iOS】Pealsh 担当タスク — Magii-Corp/Magii_AirLine0 reactions
- Sep 15, 2026chore(deps): bump github.com/supabase/supabase-swift from 2.55.1 to 2.55.2 in /packages/RecAnimeKit in the swift-minor-and-patch group — DANIELSSF/RecAnime0 reactions · 1 comment
- Sep 14, 2026deps: bump github.com/supabase/supabase-swift from 2.55.1 to 2.55.2 in the swift-packages group — bobokenbippers/meetup-ios0 reactions · 1 comment
- Sep 12, 2026chore(deps): bump the swift-minor-patch group across 1 directory with 7 updates — matthewcross27/Pictalis0 reactions · 1 comment
- Sep 5, 2026chore(deps): bump the swift-minor-patch group across 1 directory with 6 updates — matthewcross27/Pictalis0 reactions · 1 comment
- Sep 1, 2026chore(deps): bump the ios-deps group in /iOS with 3 updates — thegoodcompany-sst/TAVAttendance0 reactions
- Aug 29, 2026chore(deps): bump the swift-minor-patch group across 1 directory with 3 updates — matthewcross27/Pictalis0 reactions · 1 comment
- Aug 25, 2026build(deps): bump the swift-health-updates group in /native-plugins/sendlog-health with 2 updates — jirathip-dev/sendmeter0 reactions
- Aug 19, 2026Bump github.com/supabase/supabase-swift from 2.41.1 to 2.55.1 — surenss861/movemark-ios0 reactions
- Aug 17, 2026deps: bump github.com/supabase/supabase-swift from 2.54.1 to 2.55.1 in the swift-packages group — bobokenbippers/meetup-ios0 reactions
- Aug 15, 2026chore(deps): bump the swift-minor-patch group across 1 directory with 2 updates — matthewcross27/Pictalis0 reactions · 1 comment
- Aug 10, 2026deps: bump github.com/supabase/supabase-swift from 2.53.0 to 2.54.1 in the swift-packages group — bobokenbippers/meetup-ios0 reactions
- Jul 29, 2026chore(deps): bump github.com/supabase/supabase-swift from 2.53.0 to 2.54.0 in /iOS — thegoodcompany-sst/TAVAttendance0 reactions · 2 comments
- Jul 27, 2026deps: bump the swift-packages group with 2 updates — bobokenbippers/meetup-ios0 reactions
- Jul 22, 2026chore(deps): bump github.com/supabase/supabase-swift from 2.46.0 to 2.53.0 in /iOS — thegoodcompany-sst/TAVAttendance0 reactions
- Jun 22, 2026chore(deps): bump github.com/supabase/supabase-swift from 2.41.1 to 2.48.0 — Xomware/Float0 reactions · 1 comment
- May 11, 2026chore(deps): bump github.com/supabase/supabase-swift from 2.34.0 to 2.46.0 — barclayd/keepfresh-ios0 reactions · 1 comment
- Mar 30, 2026deps(swift): bump github.com/supabase-community/supabase-swift from 2.37.0 to 2.43.0 — geoffsipperly/BendFlyShop0 reactions · 1 comment
- Mar 27, 2026Build CloudTour AVP - Native visionOS Apple Vision Pro App — EdwardZehuaZhang/cloudtour-monorepo0 reactions
- Oct 13, 2025build(deps): bump github.com/supabase/supabase-swift from 2.31.2 to 2.34.0 — zunda-pixel/niabis-api0 reactions
- Dec 5, 2024[Feature request]: Add pull token approach to Realtime — supabase/supabase-py0 reactions · 3 comments
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository5 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- swift-api-design-guidelinesSkill
- swift-doccSkill
- writing-migration-guidesSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
44 rules. About 0 are common, 20 are distinctive, and 24 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈20
Distinctive · estimate
This author's own choices. Worth a look.
24
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 87
Check the rules with:
- Very specific: line 93
Do not pass --configuration — swift-format finds the nearest .swift-format per file, and naming one explicitly applies it everywhere, …
- Very specific: line 139
Use 2 spaces for indentation (configured in .editorconfig)
- Very specific: line 141
Use ExistentialAny feature for explicit existential types
- Distinctive: line 142
Follow Swift API Design Guidelines
- Very specific: line 143
Prefer async/await over completion handlers
- Very specific: line 148
Use a Swift enum only when the value is genuinely closed: every case is fixed by the language or protocol itself (HTTP methods, a …
- Very specific: line 169
Don't add a CaseIterable/Identifiable replacement (a knownCases array, a custom Identifiable) to the SDK type unless something inside this …
- Distinctive: line 174
Use standard file headers with copyright:
- Very specific: line 188
Use @_exported import in main Supabase module to re-export all sub-modules
- Distinctive: line 189
Keep module dependencies minimal
- Very specific: line 194
Only conform a type to the direction the SDK actually uses: a type the SDK only decodes from a server response gets Decodable, a type the …
- Very specific: line 200
Before narrowing a type from Codable to Decodable/Encodable, check whether any other type embeds it and relies on synthesized Codable — a …
- Very specific: line 208
Don't hand-write encode(to:)/init(from:) for the unused direction "for symmetry" — dead coders accumulate and mislead readers about how the …
- Very specific: line 215
Use strongly-typed errors conforming to Error protocol
- Very specific: line 217
Use async throws for async error handling
- Very specific: line 244
Test files should mirror source file structure (Foo.swift → FooTests.swift)
- Very specific: line 246
Test function names drop the test prefix (the @Test attribute already conveys that) — write fooBehavior(), not testFooBehavior()
- Very specific: line 247
Use @testable import for internal access
- Very specific: line 248
Prefer #expect/#require for assertions.
- Very specific: line 250
Use snapshot testing for complex data structures (via swift-snapshot-testing).
- Distinctive: line 251
Use Mocker for URLSession mocking
- Distinctive: line 252
Use CustomDump for test assertions with better output
- Very specific: line 253
Keep integration tests separate in IntegrationTests directory
- Distinctive: line 254
Test targets get full Swift 6 language mode checking, matching production targets
- Very specific: line 307
All public types should conform to Sendable where appropriate for Swift 6 compatibility.
- Distinctive: line 370
Xcode: Only versions eligible for App Store submission
- Distinctive: line 380
Create feature branch from main
- Very specific: line 382
Run ./scripts/format.sh to format code
- Very specific: line 383
Run swift test to verify tests pass
- Distinctive: line 384
Add documentation if needed
- Distinctive: line 385
Create PR with conventional commit title
- Distinctive: line 390
Add a failing test that reproduces the bug
- Distinctive: line 392
Verify test now passes
- Distinctive: line 393
Run full test suite
- Very specific: line 394
Create PR with fix: prefix
- Very specific: line 430
Always run ./scripts/format.sh before committing Swift code
- Very specific: line 431
Run swiftlint lint --strict before committing.
- Distinctive: line 432
Ensure new public APIs have DocC documentation comments
- Distinctive: line 433
Add tests for all new functionality
- Distinctive: line 434
Keep changes minimal and focused
- Distinctive: line 436
Check that changes work on all supported platforms when possible
- Distinctive: line 437
Use snapshot testing for complex response structures
- Distinctive: line 439
When adding async code, ensure proper task cancellation handling
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md 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.
Files
Instructions for supabase-swift
Repository Overview
This is the official Supabase SDK for Swift, mirroring the design of supabase-js. It provides a Swift client for interacting with Supabase services including Auth, Database (PostgREST), Realtime, Storage, and Functions.
Project Structure
Sources/: Source code organized by moduleAuth/: Authentication moduleFunctions/: Edge Functions clientPostgREST/: Database clientRealtime/: Realtime subscriptionsStorage/: File storage clientSupabase/: Main client that integrates all modulesHelpers/: Shared utilitiesTestHelpers/: Test utilities
Tests/: Unit and integration tests organized by moduleExamples/: Example applications demonstrating SDK usagedocs/: Documentation files
Development Environment
Requirements
- Xcode 26.0+ (supports versions eligible for App Store submission)
- Swift 6.2+
- Supported platforms: iOS 16.0+, macOS 13.0+, tvOS 16+, watchOS 9+, visionOS 1+
- Linux is supported for building but not officially supported for production use
Build Commands
# Build the package
swift build
# Build for specific configuration
swift build -c debug
swift build -c release
# Build with library evolution
./scripts/build-for-library-evolution.sh
# Build using Xcode
PLATFORM=IOS ./scripts/xcodebuild.sh
PLATFORM=MACOS ./scripts/xcodebuild.shTesting Commands
# Run all tests via Swift Package Manager
swift test
# Run tests for a specific module
swift test --filter AuthTests
swift test --filter StorageTests
# Run tests via Xcode
PLATFORM=IOS XCODEBUILD_ARGUMENT=test ./scripts/xcodebuild.sh
# Run integration tests (requires Supabase instance)
./scripts/test-integration.sh
# Generate code coverage
DERIVED_DATA_PATH=~/.derivedData/Debug ./scripts/generate-coverage.shCode Formatting
# Format all Swift files
./scripts/format.shThis uses swift-format to automatically format code. All code should be formatted before committing.
Lint rules live in .swift-format at the repo root, which enables NeverUseForceTry and
NeverUseImplicitlyUnwrappedOptionals on top of the defaults. Library code must not trap on a
value a caller supplied — see SDK-1793.
Tests/.swift-format turns both back off. Test code has no users to crash: try! on a bundled
fixture is the right tool (a missing fixture should fail the run loudly, and a static let cannot
be throws), and PostgrestMacrosTests declares an implicitly unwrapped property on purpose, to
cover how the @Table macro handles that spelling.
Check the rules with:
swift-format lint --recursive --strict Sources TestsDo not pass --configuration — swift-format finds the nearest .swift-format per file, and
naming one explicitly applies it everywhere, re-flagging the test code the nested config exempts.
NeverForceUnwrap is deliberately not enabled. It has no exemption for literals, so it flags
provably-safe constants like HTTPField.Name("Prefer")! the same as dictionary["key"]! — about
twenty such sites, all of which would need suppressing for no safety gain.
Spell Checking
Spell-checking uses cSpell, via Node/npm:
npm ci --prefix tools/node # one-time setup (re-run only when tools/node/package-lock.json changes)
./scripts/spell-check.sh # cspell - Swift and Markdown sourcesLegitimate technical terms and project-specific words go in dictionary.txt at the repository root.
Linting
# Lint Sources and Tests (fails on any new violation)
swiftlint lint --strict
# Autocorrect violations that SwiftLint can fix
swiftlint lint --fixThis uses SwiftLint for code-smell and
correctness rules; swift-format remains the source of truth for formatting,
so the SwiftLint config (.swiftlint.yml) disables the purely stylistic rules
that overlap with it. Install SwiftLint locally with brew install swiftlint.
Documentation
# Test documentation build
./scripts/test-docs.shEnsures DocC documentation builds without warnings.
Code Style and Conventions
Swift Style
- Use 2 spaces for indentation (configured in
.editorconfig) - Enable strict concurrency checking (
StrictConcurrencyfeature) - Use
ExistentialAnyfeature for explicit existential types - Follow Swift API Design Guidelines
- Prefer
async/awaitover completion handlers - Mark types as
Sendablewhere appropriate for concurrency safety
Enum-like Values
- Use a Swift
enumonly when the value is genuinely closed: every case is fixed by the language or protocol itself (HTTP methods, aCodingKeysset) or the value is entirely client-side and never crosses the wire (e.g.AuthChangeEvent,LogLevel). Any enum-like value sent to or received from the backend must be a
RawRepresentablestruct instead, so a value the backend adds later (or that this SDK just doesn't have a case for yet) round-trips through.rawValueinstead of failing to decode or blocking construction until an SDK upgrade:public struct Provider: RawRepresentable, Codable, Hashable, Sendable, ExpressibleByStringLiteral { public let rawValue: String public init(rawValue: String) { self.rawValue = rawValue } public init(stringLiteral value: String) { self.init(rawValue: value) } public static let apple: Provider = "apple" public static let github: Provider = "github" }- Conform to exactly what the value's actual usage needs —
Codableonly if it's ever decoded,Encodable-only if it's write-only, noCodable/Encodableat all if it's read via.rawValuedirectly into a header or query string (never throughJSONEncoder/JSONDecoder). Don't upgrade a type's conformance just because a sibling type in the same file has more. - Don't add a
CaseIterable/Identifiablereplacement (aknownCasesarray, a customIdentifiable) to the SDK type unless something inside this package actually needs one — a consuming app can keep its own list of the values it cares about (seeExamples/Examples/Auth/KnownProviders.swift). init(rawValue:)is intentionally non-failable — it always succeeds, which is what makes constructing/decoding an unrecognized value safe instead of an error. Any breaking-change migration note for a type like this must call out thatif let x = X(rawValue:)goes from compiling to a compile error, and that interpolating the value directly ("\(x)") silently stops printing the case name.
File Headers
Use standard file headers with copyright:
//
// FileName.swift
// ModuleName
//
// Created by Author Name on DD/MM/YY.
//Module Organization
- Each module is independent and can be used standalone
- Use
@_exported importin main Supabase module to re-export all sub-modules - Keep module dependencies minimal
- Prefer protocol-oriented design
Codable Conformance
- Only conform a type to the direction the SDK actually uses: a type the SDK
only decodes from a server response gets
Decodable, a type the SDK only encodes into a request body getsEncodable. Conform to fullCodableonly when the same type is genuinely used in both directions (e.g. a type the SDK both sends and receives over the wire, or persists to disk viaJSONEncoder/JSONDecoder, like Auth'sSession). - Before narrowing a type from
CodabletoDecodable/Encodable, check whether any other type embeds it and relies on synthesizedCodable— a container relying on synthesized conformance stops compiling the moment a field it holds drops the direction the container needs, so the container must narrow the same way (or gain its own hand-written coder). The same check applies in reverse when widening a type back towardCodable: every stored property must be at least as conformant as the type you're widening to. - Don't hand-write
encode(to:)/init(from:)for the unused direction "for symmetry" — dead coders accumulate and mislead readers about how the type is actually used. SeeV3_MIGRATION.mdfor prior cleanup along these lines (VerifyOTPResponse, and the broader SDK-1473 pass).
Error Handling
- Use strongly-typed errors conforming to
Errorprotocol - Provide
LocalizedErrorconformance where appropriate - Use
async throwsfor async error handling - Report issues using
IssueReporting(from swift-issue-reporting on Swift 6.4+, from xctest-dynamic-overlay on earlier toolchains — see the comment atopPackage@swift-6.2.swift)
When trapping is allowed
The dividing line is when the value is fixed, not who supplied it.
- Fixed once, at construction — an initializer argument, a configuration field, a
packagetuning constant.precondition/preconditionFailureis the right tool: the value cannot change afterwards, so a bad one is a programmer error, and trapping reports it at the exact point it was introduced.SupabaseClient.inittraps on asupabaseURLwith no host;StorageApitraps on a URL it cannot decompose. Degrading instead would bury the mistake behind an unrelated failure much later. - Varies at runtime, or comes from the server — a per-call parameter, a response header, a
decoded payload, a WebSocket close code. Never trap. Throw if the context already throws;
otherwise
reportIssueand fall back.HTTPFields.init(_:)drops invalid field names rather than trapping precisely becauseHTTPResponse.initbuilds it fromresponse.allHeaderFields, which a proxy or a hostile server controls.
A value being "user input" is not on its own a reason to avoid trapping — supabaseURL is user
input and traps. A value being dynamic is. See SDK-1793.
Testing Conventions
This project uses the Swift Testing framework, and only Swift Testing — do not use XCTest or XCTestCase.
- Test files should mirror source file structure (
Foo.swift→FooTests.swift) - Suite naming: the type name matches the file name (
FooTests.swift→struct FooTests), with an explicit@Suiteattribute even when no custom name/tags are needed - Test function names drop the
testprefix (the@Testattribute already conveys that) — writefooBehavior(), nottestFooBehavior() - Use
@testable importfor internal access - Prefer
#expect/#requirefor assertions;#expect(x != nil, "message")reads the same asXCTAssertNotNil(x, "message")did expectNoDifference(CustomDump) andwithExpectedIssue/reportIssue(IssueReporting) work unchanged at call sites- Use snapshot testing for complex data structures (via swift-snapshot-testing);
assertSnapshot/assertInlineSnapshotwork inside@Testfunctions - Use Mocker for URLSession mocking
- Use CustomDump for test assertions with better output
- Keep integration tests separate in
IntegrationTestsdirectory - Test targets get full Swift 6 language mode checking, matching production targets
Example test structure (Swift Testing):
import Testing
@testable import ModuleName
@Suite
struct FeatureTests {
@Test
func featureBehavior() {
// Arrange
let input = "test"
// Act
let result = feature(input)
// Assert
#expect(result == expected)
}
}Dependencies
Core Dependencies
swift-crypto: Cryptographic operationsswift-http-types: Modern HTTP typesswift-clocks: Time-based operationsswift-concurrency-extras: Concurrency utilities
Test Dependencies
swift-snapshot-testing: Snapshot testingswift-custom-dump: Better test outputswift-issue-reporting(Swift 6.4+) /xctest-dynamic-overlay(earlier toolchains): test utilities and issue reportingMocker: URL mocking
Architecture Notes
Client Initialization
The main SupabaseClient acts as a facade for all sub-clients (Auth, Database, Storage, Functions, Realtime). Each sub-client can also be used independently.
Async/Await
The SDK is fully async/await based. Avoid using completion handlers in new code.
Sendable Conformance
All public types should conform to Sendable where appropriate for Swift 6 compatibility.
HTTP Layer
Uses modern HTTPTypes for request/response handling. Every module shares one public seam: a ClientTransport performs the exchange and an ordered ClientMiddleware chain runs in front of it, grouped into one HTTPClientConfiguration that every client takes as a single http: parameter, so a custom networking stack, extra headers, or a test stub can be injected once for the whole SDK.
Configuration
Uses option builder pattern for client configuration:
SupabaseClient(
supabaseURL: url,
supabaseKey: key,
options: SupabaseClientOptions(
auth: .init(...),
db: .init(...),
global: .init(...)
)
)Commit Conventions
This project uses Conventional Commits with release-please for automated versioning:
feat:- New features (minor version bump)fix:- Bug fixes (patch version bump)docs:- Documentation changestest:- Test changesrefactor:- Code refactoringperf:- Performance improvementschore:- Build/tooling changesfeat!:orBREAKING CHANGE:- Breaking changes (major version bump)
Example: feat(auth): add PKCE flow support
The !/BREAKING CHANGE: marker is the same one release-please and the API stability check key
off to bump majors and flag reviewers. Every commit carrying it also requires an entry in the
root V<N>_MIGRATION.md — see the writing-migration-guides skill for the format.
CI/CD
GitHub Actions Workflows
ci.yml: Runs tests on multiple platforms and Xcode versionsrelease.yml: Automated releases via release-pleaseconventional-commits.yml: Validates commit message format
Platform Testing
Tests run on:
- macOS (iOS, macOS, Mac Catalyst, tvOS, watchOS, visionOS simulators)
- Linux (build only, not fully supported)
- Multiple Xcode versions (latest and legacy)
Code Coverage
Coverage is automatically generated for iOS tests on the main CI job and uploaded to Coveralls.
Support Policy
- Xcode: Only versions eligible for App Store submission
- Swift: Minimum version from oldest-supported Xcode
- Platforms: Four latest major versions (current + 3 previous)
Dropping support for older versions is NOT considered a breaking change and happens in minor releases.
Common Tasks
Adding a New Feature
- Create feature branch from
main - Implement feature with tests
- Run
./scripts/format.shto format code - Run
swift testto verify tests pass - Add documentation if needed
- Create PR with conventional commit title
- Ensure CI passes
Fixing a Bug
- Add a failing test that reproduces the bug
- Fix the bug
- Verify test now passes
- Run full test suite
- Create PR with
fix:prefix
Updating Dependencies
Dependencies are managed in Package.swift. Use version ranges when possible to allow flexibility.
Working with Integration Tests
Integration tests require a local Supabase instance:
cd Tests/IntegrationTests
supabase start
supabase db reset
cd ../..
swift test --filter IntegrationTests --skip verifyOTPForSecureEmailChange
cd Tests/IntegrationTests
supabase stopverifyOTPForSecureEmailChange needs auth.email.enable_confirmations = true to reach GoTrue's
secure-email-change "single confirmation" response, which every other integration test relies on
being false (so signUp/signIn resolve without confirming an email). It runs against a
second, minimal project instead of forking that setting for the whole suite:
cd Tests/IntegrationTests/supabase-secure-email-change
supabase start
cd ../../..
swift test --filter verifyOTPForSecureEmailChange
cd Tests/IntegrationTests/supabase-secure-email-change
supabase stopImportant Notes for AI Coding Agents
- Always run
./scripts/format.shbefore committing Swift code - Run
swiftlint lint --strictbefore committing; it must not report new violations - Ensure new public APIs have DocC documentation comments
- Add tests for all new functionality
- Keep changes minimal and focused
- Respect the existing architecture and patterns
- Check that changes work on all supported platforms when possible
- Use snapshot testing for complex response structures
- Maintain Sendable conformance for Swift 6 compatibility
- When adding async code, ensure proper task cancellation handling
- Review the CI workflow to understand what checks will run
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
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.

