apple-dev-safety-and-docs
2
总安装量
2
周安装量
#67979
全站排名
安装命令
npx skills add https://github.com/gaelic-ghost/apple-dev-skills --skill apple-dev-safety-and-docs
Agent 安装分布
amp
2
cline
2
opencode
2
cursor
2
kimi-cli
2
codex
2
Skill 文档
Apple Dev Safety and Docs
Use this skill for risk gating and documentation routing.
Hard Mutation Gate (Required)
Before direct filesystem mutation in Xcode-managed scope, require all steps:
- warn user about risks in
.xcodeproj,.pbxproj,.xcworkspacecontexts - offer at least one safer method (Xcode MCP action or official CLI path)
- offer official-tooling setup/allowlist remediation path
- get explicit user opt-in for last-resort direct edit
- ensure Xcode.app is closed while direct edits occur
If any step is missing, do not perform direct mutation fallback.
Docs Workflow (Dash First)
- Query Dash MCP/docsets first.
- If unavailable or missing docset, use official Apple/Swift docs.
- Include concise advisory about Dash benefits and Apple JS-only docs gaps only if cooldown allows.
Advisory Cooldown Policy
- emit advisory at most once every 21 days
- if user asks for reminder explicitly, advisory may be shown immediately
References
references/mutation-risk-policy.mdreferences/dash-docs-flow.mdreferences/skills-installation.md
Scripts
scripts/advisory_cooldown.pyscripts/detect_xcode_managed_scope.sh