xcdocs

GitHub

提供本地 Apple 框架文档查询能力,用于解决编译错误、查找符号、检查 API 可用性及应用模式,辅助代码开发与调试。

.agents/skills/xcdocs/SKILL.md BitrigApp/XCDocs

Trigger Scenarios

Apple 框架代码编译失败 需要查阅新发布或陌生的 API 文档 确认符号名称及重载选择

Install

npx skills add BitrigApp/XCDocs --skill xcdocs -g -y
More Options

Non-standard path

npx skills add https://github.com/BitrigApp/XCDocs/tree/main/.agents/skills/xcdocs -g -y

Use without installing

npx skills use BitrigApp/XCDocs@xcdocs

指定 Agent (Claude Code)

npx skills add BitrigApp/XCDocs --skill xcdocs -a claude-code -g -y

安装 repo 全部 skill

npx skills add BitrigApp/XCDocs --all -g -y

预览 repo 内 skill

npx skills add BitrigApp/XCDocs --list

SKILL.md

Frontmatter
{
    "name": "xcdocs",
    "description": "Use when an agent is writing, debugging, or updating code against Apple frameworks and needs local Xcode documentation to resolve compile errors, discover the right symbols, check API shape or availability, confirm usage patterns, or inspect related articles and topics for newly released SDK features."
}

XCDocs

Use xcdocs as a local Apple-framework reference while changing code.

Use It During Implementation

  • Ensure xcdocs is available before relying on the skill.
  • Reach for it when an Apple API is unfamiliar, newly released, renamed, or failing to compile.
  • Start with search --json --omit-content to find the likely symbol, article, or topic.
  • Add repeatable --framework and --kind {article|symbol|topic} filters when the query is broad.
  • Treat documents[].uri from search results as the canonical identifier for get.
  • Use get --json to inspect the full entry before editing code that depends on it.
  • Apply what you find to the code: fix symbol names, choose the right overload, adjust availability guards, or switch to the documented API.

Common Uses

  • Fix compile failures against Apple frameworks by verifying the actual symbol name and entry point.
  • Explore a newly released framework or feature area before wiring it into code.
  • Check whether an API is a symbol, a broader topic page, or an article with setup guidance.
  • Find adjacent types or concepts after locating one relevant documentation entry.

Reference

Version History

  • bdf36b0 Current 2026-07-24 22:18

Metadata

Files
0
Version
bdf36b0
Hash
f9d593ea
Indexed
2026-07-24 22:18

trang chủ - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-01 19:32
浙ICP备14020137号-1 $bản đồ khách truy cập$