mralexsaavedra/spotiarr/spotiarr-architecture
Claude Code and agent skill by mralexsaavedra/spotiarr
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Trigger: architecture, layer, placement, where does X go, new feature, repo structure. spotiarr layer rules: backend DDD-lite, frontend hooks/store/views.
Install
npx vskill@latest install mralexsaavedra/spotiarr/spotiarr-architectureSKILL.md
Activation Contract
Load when deciding where new code belongs across backend, frontend, or shared.
Hard Rules
- Dependencies point inward:
presentation → application → domain;infrastructureimplements inner-layer contracts — never the reverse. - Prisma, Redis, yt-dlp, external HTTP →
infrastructure/only. Never indomain/orpresentation/. - All use-cases and services register at:
apps/backend/src/container.ts(NOT ininfrastructure/— it's atsrc/root). - Server state in frontend → TanStack Query (
hooks/queries,hooks/mutations). Client state → Zustand slices understore/(one file per domain). - Real-time SSE sync →
useServerEventshook. Do not add manual SSE subscriptions elsewhere. - Shared DTOs, enums, utilities →
packages/shared/. Never duplicate in apps. - All Spotify HTTP calls must go through
CircuitBreaker.execute()(infrastructure/external/circuit-breaker.ts). Never add a raw Spotify HTTP call without wrapping it. The circuit persists open state viaonOpencallback → settings → restored on restart.
Decision Gates
References
- DI container:
apps/backend/src/container.ts - Store pattern:
apps/frontend/src/store/ - Request guards:
apps/backend/src/presentation/middleware/ - Auth gate hook:
apps/frontend/src/hooks/controllers/useTokenGate.ts
Security
- Security scanPassed, 93 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/spotiarr-architecture/SKILL.md
Popularity
- Repository stars
- 35
- Repository forks
- 6
- 7-day trend score
- 18
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
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/mralexsaavedra/spotiarr/spotiarr-architecture)