- Type
- Skill
- Author
- affaan-m
- Category
- Testing
- GitHub stars
- 229.1K
- Installs
- 5.0K
- Last updated
- November 2, 2026
Install
npx skills add https://github.com/affaan-m/everything-claude-code --skill swift-protocol-di-testingUse cases
- Write Swift tests that inject protocol-based fakes instead of real dependencies.
- Refactor a Swift type so its dependencies can be swapped in tests.
- Review test setup for protocol-based dependency injection.
Frequently Asked Questions
What problem does this skill solve?
It covers injecting dependencies through Swift protocols so code can be tested with substitutes rather than concrete implementations.
Does it include example code?
The listing does not say; check the skill for the specific patterns and examples it provides.
Is it only for unit tests?
The listing frames it as testing with protocol-based injection and does not specify test types, so confirm in the skill.
About this skill
Covers dependency injection through Swift protocols in a testing context. It fits developers who want testable Swift code by injecting protocol-based dependencies rather than concrete types. Check the skill for the specific patterns and examples.
Summary written with AI assistance from the project's public description.
Categories
More from affaan-m
Video Editing
AI-assisted video editing workflows for cutting, structuring, and augmenting real footage. Covers the full pipeline from raw capture through FFmpeg...
by affaan-m
Docker Patterns
Docker and Docker Compose patterns for local development, container security, networking, volume strategies, and multi-service orchestration.
by affaan-m
Security Review
Use this skill when adding authentication, handling user input, working with secrets, creating API endpoints, or implementing payment/sensitive fea...
by affaan-m
Backend Patterns
Backend architecture patterns, API design, database optimization, and server-side best practices for Node.js, Express, and Next.js API routes.
by affaan-m
Similar Skills
Find Skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", o...
by vercel-labs
Grill Me
A relentless interview to sharpen a plan or design.
by mattpocock
Ai Video Generation
Generate AI videos with Google Veo, Seedance 2.0, HappyHorse, Wan, Grok and 40+ models via inference.sh CLI. Models: Veo 3.1, Veo 3, Seedance 2.0,...
by inference-sh
Ai Image Generation
Generate AI images with GPT-Image-2, FLUX, Gemini, Grok, Seedream, Reve and 50+ models via inference.sh CLI. Models: GPT-Image-2, FLUX Dev LoRA, FL...
by inference-sh