kmshihab7878/claude-code-setup/clean-architecture-python
Claude Code and agent skill by kmshihab7878/claude-code-setup
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Hexagonal/Clean Architecture patterns for Python with ports-and-adapters, DDD, repository pattern, and dependency injection
Install
npx vskill@latest install kmshihab7878/claude-code-setup/clean-architecture-pythonSKILL.md
Clean Architecture for Python
Hexagonal architecture (ports-and-adapters) for Python services. Domain-driven design with clear layer boundaries.
Layer Structure
Dependency Rule
Dependencies point INWARD only:
api->application->domaininfrastructure->application->domaindomainhas ZERO external imports
Port (Interface)
Adapter (Implementation)
Use Case
Dependency Injection
Testing Each Layer
- Domain: Pure unit tests, no mocks needed (no external deps)
- Application: Mock the ports, test use case logic
- Infrastructure: Integration tests with real DB (Testcontainers)
- API: HTTP tests with TestClient, mock use cases
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/clean-architecture-python/SKILL.md
Popularity
- Repository stars
- 6
- Repository forks
- 1
- 7-day trend score
- 10
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 22 Sep 2026, a month ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/kmshihab7878/claude-code-setup/clean-architecture-python)