
bocato/swift-testing-agent-skill
Developer tools이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
AI 코딩 도구에 대한 전문가 스위프트 테스트 지침을 제공하는 에이전트 기술 : 테스트 더블, 고정 장치, 동기화 패턴, XCTest 마이그레이션 및 테스트 모범 사례를 다루는.
개요
Agent Skills open format — Swift Testing Framework, Test Doubles, Fixtures, Test Best Practice를 지원하는 AI 코딩 도구에 대한 전문가 지침. - 현대 테스트 패턴을 필요로하는 Swift Testing Framework를 채택하는 팀. - 개발자 쓰기 단위 테스트, 통합 테스트, 또는 스냅 샷 테스트. - - - 신뢰할 수있는 테스트 인프라를 원하십니까 (mocks, stubs, spies, Fixtures). - XCTest에서 Swift 테스트로 마이그레이션하는 팀. 이 기술을 단일 명령으로 설치하십시오. 그런 다음 AI 에이전트의 기술을 사용하여 예를 들어: 빠른 테스트 기술을 사용 하 고 나를 도울 수 있는 테스트에 대 한 UserService 클래스 GitHub Copilot은 VS Code, VS Code Insiders, Copilot CLI의 에이전트 스킬을 지원합니다. 저장소의 .github/skills/ 디렉토리에 신속한 테스트/폴더를 복사하십시오: 프로젝트 구조는 다음과 같습니다 : 모든 프로젝트의 개인용 사용을 위해, 홈 디렉토리에 복사:
개요(AI 번역)
Agent Skills open format — Swift Testing Framework, Test Doubles, Fixtures, Test Best Practice를 지원하는 AI 코딩 도구에 대한 전문가 지침.
이 누구를 위해
- 현대 테스트 패턴을 필요로하는 Swift Testing Framework를 채택하는 팀.
- 개발자 쓰기 단위 테스트, 통합 테스트, 또는 스냅 샷 테스트.
- 신뢰할 수 있는 테스트 인프라(mocks, stubs, spies, Fixtures)를 원합니다.
- XCTest에서 Swift 테스트로 마이그레이션하는 팀.
이 기술을 사용하는 방법
옵션 A : Skill.sh 사용 (추천)
이 기술을 단일 명령으로 설치하십시오.
그런 다음 AI 에이전트의 기술을 사용하여 예를 들어:
빠른 테스트 기술을 사용 하 여 나를 씁니다. UserService 클래스
옵션 B: GitHub Copilot
GitHub Copilot은 VS Code, VS Code Insiders, Copilot CLI의 에이전트 스킬을 지원합니다.
프로젝트 스킬 (추천)
swift-testing/] 폴더를 저장소에 복사 .github/skills/ 디렉토리:
프로젝트 구조는 다음과 같습니다 :
개인 스킬
모든 프로젝트의 개인용 사용을 위해, 홈 디렉토리에 복사:
VS 코드 구성
Ensure Agent Skills는 VS Code 설정에서 활성화됩니다
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
원문 README의 일부입니다. 원문 보기.
Swift Testing Agent Skill
Expert guidance for any AI coding tool that supports the Agent Skills open format — Swift Testing framework, test doubles, fixtures, and testing best practices.
Who this is for
- Teams adopting Swift Testing framework who need modern testing patterns.
- Developers writing unit tests, integration tests, or snapshot tests.
- Anyone wanting reliable test infrastructure (mocks, stubs, spies, fixtures).
- Teams migrating from XCTest to Swift Testing.
How to Use This Skill
Option A: Using skills.sh (recommended)
Install this skill with a single command:
npx skills add https://github.com/bocato/swift-testing-agent-skill --skill swift-testing
Then use the skill in your AI agent, for example:
Use the swift testing skill and help me write tests for the UserService class
Option B: GitHub Copilot
GitHub Copilot supports Agent Skills in VS Code, VS Code Insiders, and Copilot CLI.
Project Skills (Recommended)
Copy the swift-testing/ folder to your repository’s .github/skills/ directory:
# Clone this repo and copy the skill
git clone https://github.com/bocato/swift-testing-agent-skill.git
cp -r swift-testing-agent-skill/swift-testing .github/skills/
Your project structure should look like:
your-project/
├── .github/
│ └── skills/
│ └── swift-testing/
│ ├── SKILL.md
│ └── references/
│ └── ...
└── ...
Personal Skills
For personal use across all projects, copy to your home directory:
# Create personal skills directory if it doesn't exist
mkdir -p ~/.copilot/skills
# Copy the skill
cp -r swift-testing-agent-skill/swift-testing ~/.copilot/skills/
VS Code Configuration
Ensure Agent Skills are enabled in VS Code settings:
{
"chat.useAgentSkills": true
}
Copilot will automatically discover and load the skill when relevant to your testing tasks.
Option C: Claude Code Plugin
Personal Usage
To install this Skill for your personal use in Claude Code:
-
Add the marketplace:
/plugin marketplace add bocato/swift-testing-agent-skill -
Install the Skill:
/plugin install swift-testing@swift-testing-agent-skill
Project Configuration
To automatically provide this Skill to everyone working in a repository, configure the repository’s .claude/settings.json:
{
"enabledPlugins": {
"swift-testing@swift-testing-agent-skill": true
},
"extraKnownMarketplaces": {
"swift-testing-agent-skill": {
"source": {
"source": "github",
"repo": "bocato/swift-testing-agent-skill"
}
}
}
}
When team members open the project, Claude Code will prompt them to install the Skill.
Option D: Gemini CLI
Gemini CLI supports custom instructions through GEMINI.md files or the .gemini/ directory.
Project Instructions (Recommended)
추천 도구
다른 키워드를 입력하거나 필터를 제거해 보세요.
설치
npx skillfish add bocato/swift-testing-agent-skill