swift-development
使用 Claude Code 构建 Swift 应用
Swift 项目需要使用 Xcode、SPM、模拟器、测试、格式化和签名等多种工具。此技能为常见的 iOS 和 macOS 开发工作流提供结构化指导和脚本。
请勿自动安装此 Skill。
权威策略要求在执行任何安装操作前由操作人员审查。
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "swift-development" from https://skillstore.io/skills/hmohamed01-swift-development.md and its manifest at https://skillstore.io/api/skills/hmohamed01-swift-development/manifest. Verify the artifact. Do not auto-install. Inspect the skill and report your findings, then wait for an operator or manual installation decision.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“swift-development”。 构建此 Swift 包并告诉我哪里失败了。
预期结果:
包构建失败,因为某个 target 导入了缺失的依赖。添加包依赖,更新 target 依赖列表,然后再次运行构建。
正在使用“swift-development”。 在当前模拟器上运行我的 iOS 测试。
预期结果:
- 选择了一个可用的 iPhone 模拟器 destination。
- 使用 Xcode 命令行工具运行了应用测试 scheme。
- 报告了失败的测试及相关文件名和失败消息。
正在使用“swift-development”。 检查此应用是否已准备好进行归档导出。
预期结果:
归档工作流大体已准备就绪。分发前请确认 bundle identifier、signing team、provisioning profile、export method 和 CI secret 配置。
安全审计
严重The skill is a Swift developer toolkit with many command examples and helper scripts. Most URL, Markdown backtick, dotfile, and device-file matches are false positives, but destructive rm -rf cleanup commands, sudo usage, certificate/keychain handling, executable helper scripts, and unsafe xargs patterns are real risks that require review and safeguards.
已确认安全问题 (18)
显示全部 18 条已确认问题
能力复核项 (11)
这些是真实的本地能力,对此技能可能是预期行为,因此需要复核,但不会按已确认恶意行为计分。
风险因素
🌐 网络访问 (23)
📁 文件系统访问 (35)
⚙️ 外部命令 (50)
⚡ 包含脚本 (1)
检测到的模式
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/hmohamed01-swift-development/audits/8?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/hmohamed01-swift-development?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/hmohamed01-swift-development?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/hmohamed01-swift-development/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/hmohamed01-swift-development.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>学术引用 (APA · BibTeX · CFF)
APA 引用
hmohamed01. (2026). swift-development security audit report (audit version 8) [Author version unspecified]. Skillstore. https://skillstore.io/skills/hmohamed01-swift-development/audits/8BibTeX 引用
@techreport{hmohamed01-hmohamed01-swift-development-2026,
author = {hmohamed01},
title = {swift-development security audit report (audit version 8)},
institution = {Skillstore},
year = {2026},
number = {8},
url = {https://skillstore.io/skills/hmohamed01-swift-development/audits/8},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "swift-development security audit report (audit version 8)"
version: "unspecified"
type: report
authors:
- name: "hmohamed01"
date-released: "2026-07-09"
url: "https://skillstore.io/skills/hmohamed01-swift-development/audits/8"
identifiers:
- type: other
value: "skillstore:hmohamed01-swift-development:audit:8"
description: "Skillstore immutable audit report identifier"
Skillstore 评分
评分依据 证据置信度: 中你能构建什么
设置 Swift 包
创建新的 Swift 包,并提供格式化、lint、测试和常见项目结构指导。
运行和调试应用测试
使用 Xcode、SPM、XCTest、Swift Testing 和模拟器命令来构建和测试 iOS 或 macOS 项目。
准备应用交付工作流
在分发 Apple 平台应用之前,检查归档、导出、CI、预置和代码签名步骤。
试试这些提示
使用 Swift 开发技能检查此包,构建它,并用简单的语言解释任何构建错误。
使用 Swift 开发技能查找 Xcode 项目或 workspace,选择一个模拟器 destination,并运行测试套件。
使用 Swift 开发技能审查此 SwiftUI 功能的 MVVM 边界、状态处理、导航和 async 数据加载。
使用 Swift 开发技能审计用于 TestFlight 发布的归档、导出选项、预置和 CI 签名步骤。
最佳实践
- 在运行会删除文件、更改 Xcode selection 或需要 sudo 的命令之前,请先请求确认。
- 在进行发布或 CI 更改之前,先运行格式化、lint 和测试。
- 将签名凭据保存在安全的 secret 存储中,并避免在日志中打印它们。
避免
- 不要在未审查确切目标路径的情况下运行破坏性的缓存清理命令。
- 不要假设每台机器都安装了最新的模拟器或 Xcode 版本。
- 不要将签名身份或预置值硬编码到共享项目文件中。