بنقرة واحدة
clean-architecture
Mandatory rules for enforcing Clean Architecture separation of concerns in the GitData API.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Mandatory rules for enforcing Clean Architecture separation of concerns in the GitData API.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | clean-architecture |
| description | Mandatory rules for enforcing Clean Architecture separation of concerns in the GitData API. |
This skill enforces strict separation of concerns within the apps/api/src backend. Whenever creating or modifying backend logic, you MUST adhere to the following layer rules:
domain/)DeveloperProfile.ts). No behavior, no external dependencies.IGithubRepository.ts) that define contracts for data access.application/)GetDeveloperProfileUseCase.ts).domain/ layer. They must NOT import Fastify, Octokit, or any HTTP/Database specific library. Dependencies must be injected through constructors.infrastructure/)OctokitGithubRepository.ts).fastify-plugins/) to inject Use Cases globally.interfaces/)http/routes/).fastify.useCases.useCaseName.execute() and return the result.Node.js best practices and runtime configuration for GitData-BackEnd.
Mandatory rule requiring a corresponding Vitest/React Testing Library test file for every React component (.tsx) in GitData frontend.
Catalog of all specialized skills used across the GitData Monorepo project.
Guidelines for mathematically deducing advanced widget data on the backend.
Rules for using both GraphQL and REST APIs simultaneously for GitHub data fetching.
Architecture rules for building UI widgets, supporting i18n locales, and multi-theme logic.