Claude Skill
twostraws/Swift-Testing-Agent-Skill
一个Claude Skill,为AI编码助手提供专家级Swift测试知识。使用Claude Code、Codex等工具高效生成、调试和重构Swift测试。
概览
仓库信息
安装这个 Skill
npx skills add https://github.com/twostraws/swift-testing-agent-skill --skill swift-testing-proRegistry 信息
项目简介
一个专门的Claude Skill,为Claude Code、Codex及其他AI编码助手提供Swift测试的专家知识,使其能够更准确、高效地生成、分析和调试Swift测试。
Swift Testing agent skill for Claude Code, Codex, and other AI tools.
要点
- 为AI助手提供专家级的Swift测试知识
- 与Claude Code和Codex无缝集成
- 自动化测试生成与调试支持
- 紧跟最新的Swift测试框架
使用场景
- 为Swift项目生成全面的单元测试
- 借助AI辅助调试失败的Swift测试
- 将遗留测试套件重构为现代Swift测试
- 交互式学习Swift测试最佳实践
README 摘要
<p align="center"> <img src="assets/logo.svg" alt="Swift Testing Pro - Agent Skill for Claude Code, Codex, and Gemini" height="100" /> </p> <h1 align="center">Swift Testing Agent Skill for AI Coding Assistants</h1> <p align="center"> <img src="https://img.shields.io/badge/swift-6.2+-8e44ad.svg" alt="Designed for Swift 6.2 and later." /> <a href="https://twitter.com/twostraws"> <img src="https://img.shields.io/badge/Contact-@twostraws-95a5a6.svg?style=flat" alt="Twitter: @twostraws" /> </a> </p> An agent skill that helps AI coding assistants like Claude Code, Codex, Cursor, and Gemini write better tests using Swift Testing. Covers `@Test`, `#expect`, `#require`, parameterized testing, traits, exit tests, confirmations, and more, targeting the mistakes LLMs actually make. Also available: - [SwiftUI Pro](https://github.com/twostraws/SwiftUI-Agent-Skill) - [SwiftData Pro](https://github.com/twostraws/SwiftData-Agent-Skill) - [Swift Concurrency Pro](https://github.com/twostraws/Swift-Concurrency-Agent-Skill) Find more agent skills for Swift and Apple platform development at [Swift Agent Skills](https://github.com/twostraws/Swift-Agent-Skills). ## Installing Swift Testing Pro ### Claude Code Add the Swift Testing Agent Skill marketplace, then install the plugin: ``` /plugin marketplace add twostraws/Swift-Testing-Agent-Skill /plugin install swift-testing-pro@swift-testing-agent-skill ``` ### Codex, Gemini, Cursor, and others ```bash npx skills add https://github.com/twostraws/swift-testing-agent-skill --skill swift-testing-pro ``` If you get the error `npx: command not found`, it means you don’t currently have Node installed. You need to run this command to install Node through Homebrew: ```bash brew install node ``` And if *that* fails
话题
暂无话题