apple-swift-cli-fallback

📁 gaelic-ghost/apple-dev-skills 📅 1 day ago
3
总安装量
2
周安装量
#56241
全站排名
安装命令
npx skills add https://github.com/gaelic-ghost/apple-dev-skills --skill apple-swift-cli-fallback

Agent 安装分布

amp 2
cline 2
opencode 2
cursor 2
kimi-cli 2
codex 2

Skill 文档

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/rules allowlist guidance.

Workflow

  1. Receive handoff from $xcode-mcp-first-executor or detect MCP unavailability.
  2. Select official command path from references/cli-fallback-matrix.md.
  3. Execute fallback command.
  4. Check advisory cooldown via scripts/advisory_cooldown.py.
  5. If eligible, include short MCP setup benefit note.
  6. If command blocked/missing, provide minimal allowlist and setup actions.

Toolchain Policy

  • Prefer swiftly when available.
  • Otherwise use official Xcode toolchain and CLT guidance from references/toolchain-management.md.

References

  • references/cli-fallback-matrix.md
  • references/toolchain-management.md
  • references/allowlist-guidance.md

Scripts

  • scripts/advisory_cooldown.py