원클릭으로
test
Run swift test, enforce gates, name failures.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Run swift test, enforce gates, name failures.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Review a pull request or pending changes. Performs a focused code review against the current branch's diff (or staged diff if invoked pre-commit), surfacing correctness bugs, missing tests, style violations, and unclear naming. Use when the user asks to "review this", "review the PR", "code review", or before commits/PRs.
Complete a security review of pending changes on the current branch. Focuses on injection, authn/authz, secrets, SSRF, deserialisation, insecure defaults, and supply-chain risk. Use when the user asks to "security review", "security audit", "check for vulns", or before raising a PR.
Pre-commit gate (fmt + clippy + test) then create a conventional commit with explicit file staging.
Create or update ARCHITECTURE.md with system components, data flows, and ADRs
Format Rust code with rustfmt and report what changed.
Full TDD loop — plan, branch, write code + tests, fmt, clippy, test, review, commit.
| name | test |
| description | Run swift test, enforce gates, name failures. |
Runs the Swift test suite and enforces quality gates.
1. Run tests.
swift test 2>&1
2. Check for failures.
FAIL: Tests/AppTests/UserTests.swift:42 - testCreateUser — XCTAssertEqual failed: got "bar", expected "foo"
3. Fix loop (if tests fail).
Swift does not have a standard coverage gate equivalent to xcrun llvm-cov. If the project has a coverage script in the Makefile, use that instead:
make coverage
Otherwise, manual coverage reporting:
swift test --enable-code-coverage
xcrun llvm-cov show \
--instr-profile=.build/debug/codecov/default.profdata \
.build/debug/*PackageTests.xctest/Contents/MacOS/*PackageTests \
--ignore-filename-regex='/.build/' \
--format=html > coverage.html
This generates an HTML report. Not enforced as a quality gate unless configured.