Skip to main content

architecture-lookup

Use this skill when exploring codebase architecture or planning new features requiring models/enums. AUTO-ACTIVATE when user mentions (FR/EN): - modèle, model, models, enum, enums, schema, Prisma schema - architecture, domain, domaine, existe, exists, available, disponible - créer, create, ajouter, add, nouveau, new, nouvelle feature - quel modèle, what model, which model,quel enum - 121 modèles, 87 enums, Planning, Leave, Business Rules This skill provides INSTANT lookup (500 tokens vs 15k for full ERD) for 121 models and 87 enums.

Informações da origem

Repositório
majiayu000/claude-skill-registry-data
Última atividade na origem
21 de abril de 2026 às 02:21
Idioma detectado do SKILL.md
inglês
Estrelas
22
Forks
8

Opções de instalação

Por padrão, está selecionado o prompt que primeiro revisa a origem. Você pode mudar para um comando direto ou baixar uma cópia local.

Revise os arquivos de origem

Leia o SKILL.md e os arquivos complementares exibidos pelo SkillsMP antes de decidir se vai instalar.

Explorador de arquivos
2 arquivos

Exibindo SKILL.md

SKILL.md
Instruções da origem · Visualização somente leitura
name
architecture-lookup
description
Use this skill when exploring codebase architecture or planning new features requiring models/enums. AUTO-ACTIVATE when user mentions (FR/EN): - modèle, model, models, enum, enums, schema, Prisma schema - architecture, domain, domaine, existe, exists, available, disponible - créer, create, ajouter, add, nouveau, new, nouvelle feature - quel modèle, what model, which model,quel enum - 121 modèles, 87 enums, Planning, Leave, Business Rules This skill provides INSTANT lookup (500 tokens vs 15k for full ERD) for 121 models and 87 enums.
# Architecture Index - Quick Reference **Token Efficiency**: 500 tokens vs 15k for full ERD **Last Update**: 27 October 2025 ## Quick Stats - **129 models** across 10 domains - **91 enums** categorized - **26 modules** organized - **PascalCase** convention (Oct 2025 migration) --- ## Models by Domain ### Planning & Scheduling (28 models) - Core: Assignment, BlocDayPlanning, PlanningJob - V2: PlanningV2Assignment, PlanningV2Conflict - Templates: TrameModele, AffectationModele, PersonnelRequisModele - Legacy: TrameAffectation, RegularAssignment, PlanningSession ### Business Rules (22 models) - **Phase 2 BDD (6 types - Oct 2025)**: - ContinuityRule (rest after guards) - EquityRuleV2 (fair distribution) - InterSectorRule (cross-sector rules) - MaxHoursRule, MinRestRule, SkillMatchingRule - Legacy: EquityRule, SupervisionRule ### Leave Management (12 models) - Core: PlannedAbsence, LeaveBalance, LeaveTypeSetting - Quota: QuotaCarryOver, QuotaTransfer - Legacy: Absence ### Site & Infrastructure (8 models) - Site, OperatingRoom, OperatingSector - Department, Location, ActivityType ### User & Auth (11 models) - User, Personnel, RefreshToken, LoginLog - Skill, UserSkill, WorkContract - ApprovalRequest --- ## Enums by Category ### Assignment & Planning - AssignmentType: GARDE, ASTREINTE, BLOC_PROGRAMME, CONSULTATION, REPOS, CONGE - AssignmentStatus: PENDING, CONFIRMED, CANCELLED, COMPLETED - Period: MATIN, APRES_MIDI, NUIT, JOURNEE, GARDE_24H ### Leave Management - LeaveType: CP, RTT, FORMATION, MALADIE, CONGE_PARENTAL, MATERNITE, PATERNITE - LeaveStatus: PENDING, APPROVED, REJECTED, CANCELLED ### Professional Roles - ProfessionalRole: MAR, IADE, CHIRURGIEN, CADRE, ADMINISTRATIF ### Business Rules - RuleType: CONTINUITY, EQUITY, SUPERVISION, MAX_HOURS, MIN_REST, SKILL_MATCHING - RulePriority: CRITICAL, HIGH, MEDIUM, LOW --- ## Decision Tree ``` New feature requested ↓ 1. Check models by domain (this file - 500 tokens) ↓ 2. Model exists in category? YES → Read specific ERD section (~200 tokens) NO → Continue ↓ 3. Enum exists? YES → Reuse NO → Justify new creation ↓ 4. Check DONT_DO.md if complex pattern ``` --- ## Progressive Resources For complete listings: - **`resources/models-by-domain.md`** - All 121 models with details - **`resources/enums-reference.md`** - All 87 enums with values **Reference**: ARCHITECTURE_INDEX.md, ENTITY_RELATIONSHIP_DIAGRAM.md **Last Update**: 27 October 2025
Ver no GitHub