code-size
95 / 100 · Low risk
Fine to try. Some of what it can do is expected: a coding skill usually runs build and test commands.
Enforce complexity and size limits on Swift code with SwiftLint threshold rules — cyclomatic complexity, function/type/file length, parameter count — adopted via a violations baseline so existing code never blocks. Use when agent-written code needs deterministic size constraints.
What this skill can do
Runs commands on your computer
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'code-size' ] || [ -L ~/.agents/skills/'code-size' ]; then echo 'A skill folder named code-size already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/rshankras/claude-code-apple-skills' "$d" && git -C "$d" checkout --quiet 'f9589828e222113d49c7bff417c33038802856ff' -- 'skills/swift/code-size' && mkdir -p ~/.agents/skills && cp -R "$d"/'skills/swift/code-size' ~/.agents/skills/'code-size' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'code-size' ~/.claude/skills/'code-size' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
[](https://zalavijaysinh.github.io/skilltrust/repos/rshankras/claude-code-apple-skills/)
Score history
| Date | Version | Score |
|---|---|---|
| 2026-11-11 | f958982 | 95 |
| 2026-11-08 | 363f947 | 95 |
| 2026-11-07 | 77aac09 | 95 |