swift-code-reviewer-skill 1.2.1 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +53 -0
- package/CONTRIBUTING.md +86 -3
- package/README.md +315 -118
- package/SKILL.md +122 -4
- package/bin/install.js +71 -90
- package/bin/lib/agents.js +134 -0
- package/bin/lib/prompt.js +58 -0
- package/core/swift-code-reviewer.core.md +281 -0
- package/examples/README.md +35 -0
- package/examples/claude-tca-review.md +140 -0
- package/examples/codex-async-algorithms-review.md +208 -0
- package/examples/gemini-isowords-review.md +207 -0
- package/package.json +6 -1
- package/references/agent-loop-feedback.md +148 -0
- package/references/spec-adherence.md +157 -0
- package/templates/agents/claude/swift-code-reviewer.md +78 -0
- package/templates/agents/codex/swift-code-reviewer.md +211 -0
- package/templates/agents/gemini/swift-code-reviewer.md +211 -0
- package/templates/agents/kiro/swift-code-reviewer.md +218 -0
- package/templates/commands/claude/review.md +56 -0
- package/templates/commands/gemini/review.toml +15 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
description = "Run a full Swift/SwiftUI code review on changed files"
|
|
2
|
+
|
|
3
|
+
prompt = """
|
|
4
|
+
@./swift-code-reviewer.md
|
|
5
|
+
|
|
6
|
+
Review the Swift changes in this repository using the multi-phase workflow above.
|
|
7
|
+
|
|
8
|
+
Steps:
|
|
9
|
+
1. Run `git diff --staged -- '*.swift'` (fall back to `git diff HEAD -- '*.swift'` if empty).
|
|
10
|
+
2. If a PR number was provided, also run `gh pr view <n> --json title,body,closingIssuesReferences`.
|
|
11
|
+
3. Load project standards from GEMINI.md if it exists.
|
|
12
|
+
4. Perform the full Phase 1 → 2 → 2.5 → 3 analysis.
|
|
13
|
+
5. Output a structured report with severity levels (Critical / High / Medium / Low),
|
|
14
|
+
file:line references, before/after code examples, and Agent Loop Feedback.
|
|
15
|
+
"""
|