audit-xcode-security-settings

Installation
SKILL.md

Audit Xcode Security Settings

Assess an Xcode project's security posture and progressively enable security build settings and entitlements — from broadly applicable warnings through Enhanced Security hardening.

Tool Preferences

When XcodeGlob, XcodeGrep, XcodeRead, XcodeLS, and XcodeUpdate tools are available, ALWAYS use them. Do not fall back to Bash filesystem tools (ls, find, cat, grep) to learn about the project. They trigger extra permission prompts and bypass project scoping.

  • XcodeGlob for file discovery — find is forbidden for files inside the project.
  • XcodeGrep for content search — grep/rg is forbidden for files inside the project.
  • XcodeRead for file contents — cat/Read is forbidden for files registered in the project.
  • XcodeLS for directory listing — ls is forbidden for any path inside the project.
  • XcodeUpdate for in-place edits of project-registered files — same filePath / oldString / newString (+ optional replaceAll) signature as the built-in Edit tool, but accepts project-org paths. Edit is forbidden for files registered in the project; use it only for on-disk files that aren't project-indexed (e.g. .entitlements plists translated to filesystem absolute paths per the failure-modes table below).

Project root and name are already in the system prompt context. Do NOT run ls to "verify" the project layout before starting. The system prompt already tells you the working directory and the project structure.

Empty XcodeGlob results are not a failure. The .xcodeproj and .xcworkspace are not indexed as files inside the Xcode project organization — XcodeGlob "**/*.xcodeproj" correctly returns 0 matches. Use the project name from system-prompt context instead. Do not fall back to filesystem ls/find.

Installs
33
GitHub Stars
7
First Seen
13 days ago
audit-xcode-security-settings — tartinerlabs/skills