Agent skill
apple-swift-cli-fallback
Execute automatic fallback through official Apple and Swift CLI tooling when Xcode MCP paths are unavailable or insufficient. Use for xcodebuild, xcrun, SwiftPM, swiftly toolchain workflows, and command-availability or allowlist remediation guidance.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/apple-swift-cli-fallback
SKILL.md
Apple Swift CLI Fallback
Use this skill when MCP-first execution cannot complete the requested task.
Core Rules
- Fallback must be automatic and use official tooling.
- Keep fallback commands explicit and reproducible.
- Include concise MCP advisory only if cooldown allows.
- If CLI command is unavailable or blocked, provide
~/.codex/rulesallowlist guidance.
Workflow
- Receive handoff from
$xcode-mcp-first-executoror detect MCP unavailability. - Select official command path from
references/cli-fallback-matrix.md. - Execute fallback command.
- Check advisory cooldown via
scripts/advisory_cooldown.py. - If eligible, include short MCP setup benefit note.
- If command blocked/missing, provide minimal allowlist and setup actions.
Toolchain Policy
- Prefer
swiftlywhen available. - Otherwise use official Xcode toolchain and CLT guidance from
references/toolchain-management.md.
References
references/cli-fallback-matrix.mdreferences/toolchain-management.mdreferences/allowlist-guidance.md
Scripts
scripts/advisory_cooldown.py
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?