
Swift Testing Code Review
This reviews Swift Testing code for common pitfalls like pre-computed booleans in #expect that lose diagnostics, #require overuse that masks failures, and accidental Cartesian products in parameterized tests. It gates on confirming import Testing is actually present before critiquing, then checks against a focused list: expression capture, error test specificity, zip() versus arguments() mismatches, confirmation for async sequences versus continuations for completion handlers, and serialization choices. The references break down expect versus require, parameterized test patterns, async testing approaches, and suite organization. Use it when reviewing .swift files that import Testing or use @Test annotations. The checklist is opinionated but grounded in real Swift Testing API traps.
- skills.sh installs
- 194
- GitHub stars
- 87
- last updated
- Aug 21, 2026
Install
$ npx -y skills add existential-birds/beagle --skill swift-testing-code-review --agent claude-codeInstalls into .claude/skills of the current project.
Files
Swift Testing Code Review
Hard gates
Complete in order before recording Swift Testing review findings. Stack with review-verification-protocol for universal review rules.
- Scope: You have an explicit list of
.swiftpaths under review (or a user-named single file). Pass: Paths captured in working notes or one line:No Swift files in scope— then stop with no findings. - Swift Testing surface: For each path you treat as Swift Testing code, confirm
import Testingor@Test/#expect/#require/@Suiteappears in that file (open or search). Pass: At least one match per critiqued file, or you exclude that file from Swift Testing review with a one-line reason (e.g. XCTest-only). - Evidence + protocol: Load review-verification-protocol before asserting any issue. Pass: Each finding meets that skill’s anchor rules; any violated Review Checklist item cites
[FILE:LINE]evidence. If you report zero issues, stateProtocol applied; no Swift Testing issues(or equivalent) in the review summary.
Quick Reference
Sponsors
Details
- Repository
- github.com/existential-birds/beagle
- Categories
- Testing & QA, Git & Pull Requests, Code Review & Quality, Mobile Development
- First seen
- Jun 3, 2026
More from existential-birds/beagle
All 40- Sqlite Vec171
- Pydantic Ai Tool System161
- Deepagents Architecture160
- Langgraph Implementation160
- Pydantic Ai Testing146
- Pydantic Ai Dependency Injection141
- Deepagents Implementation140
- Deepagents Code Review132
- Github Projects120
- Pydantic Ai Model Integration120
- React Flow1.3K
- Python Code Review928
- Langgraph Code Review887
- Tailwind V4817
- React Flow Advanced643
- React Router V7577
- React Flow Architecture536
- Vitest Testing471
- Docling431
- Fastapi Code Review387
- React Flow Implementation374
- Shadcn Ui356
- React Flow Code Review324
- Langgraph Architecture282