Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问许可证需确认审计通过

apple-xcode-workflowApple Xcode 工作流

Agent Skill

apple-xcode-workflow 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

445

周安装

18

GitHub Stars

4

下载量

140
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:apple-xcode-workflow(Apple Xcode 工作流)
来源仓库:https://github.com/gaelic-ghost/apple-dev-skills
仓库路径:skills/apple-xcode-workflow
安装命令:
npx skills add https://github.com/gaelic-ghost/apple-dev-skills --skill apple-xcode-workflow
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/gaelic-ghost/apple-dev-skills --skill apple-xcode-workflow

简介

管理 Xcode 工作区检查、构建、测试及 Swift 工具链任务的全流程编排。

  • 支持诊断、运行、打包以及官方 Apple CLI 的回退调用,确保操作符合简化优先策略。
  • 通过 run_workflow.py 强制执行本地策略、变更守卫和冷却机制,结构化 fallback 计划。
  • 适用于需要自动化 Xcode 操作或集成 Swift 文档请求的场景,注意突变操作的合规性。
  • apple-xcode-workflow 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Apple Xcode Workflow

Purpose

Use this skill as the top-level entry point for Apple and Swift work in or around Xcode. The skill guides agent-side tool use and applies the shared simplicity-first Swift policy, while scripts/run_workflow.py enforces local policy, mutation guards, cooldown behavior, docs routing, and structured fallback planning.

When To Use

  • Use this skill for Xcode workspace inspection, read or search, diagnostics, build, test, and run tasks.
  • Use this skill for Swift toolchain checks and official Apple CLI fallback.
  • Use this skill for Apple and Swift documentation requests that should prefer Dash local sources before official web docs.
  • Use this skill when direct filesystem mutation in an Xcode-managed scope may be required.
  • Recommend apple-dash-docsets when the user needs Dash docset search, install, or generation work instead of Apple execution work.
  • Recommend apple-swift-package-bootstrap when the user needs to create a brand new Swift package rather than work inside an existing Xcode or Swift project.

Single-Path Workflow

  1. Classify the request into one operation type:

- workspace or session inspection - read, search, or diagnostics - build, test, or run - package or toolchain management - docs lookup - mutation

  1. Apply the Apple docs gate before any Apple design, architecture, implementation, or refactor guidance:

- read the relevant Apple documentation first - use Dash or Xcode-local documentation first, then official Apple documentation if needed - state the documented API behavior, lifecycle rule, or workflow requirement being relied on before proposing changes - do not rely on memory as the primary source when Apple docs exist - if the docs and the current code conflict, stop and report that conflict - if no relevant Apple docs can be found, say that explicitly before proceeding

  1. Apply the shared Swift policy before giving implementation guidance:

- apply the detailed local policy in references/snippets/apple-swift-core.md - preserve its simplicity-first, shape-preserving, and anti-ceremony Swift guidance - preserve its project-appropriate logging, telemetry, and SwiftUI architecture guidance

  1. Run scripts/run_workflow.py to apply runtime configuration, mutation-guard checks, docs-routing order, advisory cooldown, and CLI fallback planning.
  2. Use the guidance in references/mcp-tool-matrix.md for agent-executed MCP operations.
  3. If MCP fails, use the structured fallback output from scripts/run_workflow.py together with references/cli-fallback-matrix.md.
  4. Report which parts were agent-executed, which parts were locally enforced by script, the Apple docs relied on, and any required next step.

Inputs

  • operation_type: one of the operation types listed above.
  • workspace_path: optional absolute path for the target Xcode or Swift workspace.
  • tab_identifier: optional MCP tab identifier when already known.
  • mcp_failure_reason: optional input when continuing from an earlier MCP failure.
  • docs_query: required when operation_type is docs.
  • filesystem_fallback_opt_in: optional explicit opt-in when planning direct filesystem fallback in Xcode-managed scope.
  • Defaults:

- runtime entrypoint: executable scripts/run_workflow.py - agent-side MCP retries once for transient failures - advisory cooldown is 21 days - docs source order is dash-mcp,dash-local,official-web - mutation operations require the explicit guard in Xcode-managed scope

Outputs

  • status

- success: the workflow completed on its primary or fallback path - blocked: prerequisites, policy, or mutation safeguards prevented completion - handoff: the workflow is handing off supporting context to another step or skill

  • path_type

- primary: the guided agent-side MCP path completed successfully - fallback: the official CLI fallback path completed successfully

  • output

- operation type - guard_result - docs_route - fallback_commands - advisory status - one next step or handoff payload when needed

Guards and Stop Conditions

  • Apply the mutation guard from references/mutation-risk-policy.md only when the operation type is mutation.
  • Do not skip the mutation guard for direct filesystem edits inside Xcode-managed scope.
  • Stop with blocked when the required workspace context cannot be resolved and the operation cannot safely continue.
  • Stop with blocked when allowlist or sandbox rules prevent the official CLI fallback and no safe alternative exists.
  • Stop with blocked when operation_type=docs and docs_query is missing.

Fallbacks and Handoffs

  • Official CLI execution is the only fallback path when the primary agent-side MCP path cannot complete.
  • Use references/mcp-failure-handoff.md for the canonical fallback and handoff payload.
  • Use references/allowlist-guidance.md when a safe official CLI fallback is blocked by local rules.
  • Use references/dash-docs-flow.md to describe docs lookup as an operation profile under this same execution engine.
  • Recommend apple-dash-docsets directly when the task becomes Dash management work.
  • Recommend apple-swift-package-bootstrap directly when the task becomes new-package scaffolding.
  • scripts/run_workflow.py plans fallback commands and docs-route changes; MCP execution itself remains agent-side tool usage guided by this skill.

Customization

  • Use references/customization-flow.md.
  • scripts/customization_config.py stores and reports customization state.
  • scripts/run_workflow.py loads and enforces the runtime-safe knobs documented in references/customization-flow.md.
  • MCP tool execution itself remains agent-side and is not performed by the local runtime entrypoint or by the skill as a direct runtime.

References

Workflow References

  • references/workflow-policy.md
  • references/mcp-tool-matrix.md
  • references/cli-fallback-matrix.md
  • references/toolchain-management.md
  • references/mutation-risk-policy.md
  • references/mutation-via-mcp.md
  • references/dash-docs-flow.md

Contract References

  • references/mcp-failure-handoff.md
  • references/customization-flow.md

Support References

  • Recommend references/snippets/apple-swift-core.md when the user needs reusable Apple and Swift baseline policy content in their own repo alongside execution, docs, or mutation workflows.
  • references/allowlist-guidance.md
  • references/skills-installation.md
  • references/mcp-setup-advisory.md
  • references/skills-discovery.md
  • references/snippets/apple-swift-core.md

Script Inventory

  • scripts/run_workflow.py
  • scripts/advisory_cooldown.py
  • scripts/detect_xcode_managed_scope.sh
  • scripts/customization_config.py

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.32%
按下载量换算47

Claude

31.94%
按下载量换算45

Cursor

18.26%
按下载量换算26

Gemini CLI

9.68%
按下载量换算14

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills