Actualiser le contexte architectural

VérifiéSûr

Charge les fichiers de contexte architectural (architecture.md et architecture.puml) pour comprendre la structure du projet PSX Memory Card Manager, ses composants et patterns de conception.

Spar Skills Guide Bot
DeveloppementDébutant
3002/06/2026
Claude CodeCursorWindsurf
#context-loading#architecture#mvvm#project-setup

Recommandé pour

Notre avis

Charge le contexte architectural du projet PSX Memory Card Manager en lisant les fichiers architecture.md et architecture.puml.

Points forts

  • Fournit une compréhension immédiate de la structure du projet et des modèles de conception.
  • Aide à maintenir la cohérence lors des modifications de code.
  • Réduit le temps d'intégration pour les nouvelles sessions.
  • Les diagrammes visuels complètent la documentation textuelle.

Limites

  • Nécessite que les fichiers d'architecture soient à jour.
  • Peut ne pas couvrir le comportement à l'exécution ou les détails d'implémentation spécifiques.
  • Suppose une connaissance des concepts MVVM et d'injection de dépendances.
Quand l'utiliser

Utilisez-le au début d'une nouvelle session ou lorsque vous effectuez des modifications affectant plusieurs composants.

Quand l'éviter

Ne l'utilisez pas lorsque vous vous concentrez sur des modifications isolées et mineures qui ne nécessitent pas le contexte architectural complet.

Analyse de sécurité

Sûr
Score qualité85/100

The skill only reads two local documentation files (architecture.md and architecture.puml) using the read_file tool. There are no destructive commands, network calls, or data exfiltration.

Aucun point d'attention détecté

Exemples

Load project architecture
I need to understand the architecture of the PSX Memory Card Manager. Please read architecture.md and architecture.puml and explain the component structure.
Prepare for feature implementation
I'm about to implement a new feature in the PSX Memory Card Manager. First, load the architectural context so I know the correct patterns and component relationships.

name: refresh-context description: Reads and loads architectural context files (architecture.md and architecture.puml) to understand the PSX Memory Card Manager project structure, components, and design patterns. Use when starting a new session or when architectural context is needed for code changes. metadata: author: psx-memcard-project version: "1.0" allowed-tools: read_file

Refresh Context Skill

This skill loads the architectural context for the PSX Memory Card Manager project by reading key documentation files.

When to use this skill

  • At the start of a new session to understand project architecture
  • When making changes that affect multiple components
  • When architectural context is needed for implementing new features
  • When debugging issues that span multiple layers (UI, ViewModel, Domain)

What this skill does

Reads and provides context from:

  1. architecture.md - Detailed component structure, MVVM patterns, and responsibilities
  2. architecture.puml - Visual C4 model diagrams showing system boundaries and data flow

Instructions

Step 1: Read architecture documentation

Load the main architecture documentation to understand:

  • MVVM pattern implementation
  • Component responsibilities and boundaries
  • Dependency injection structure
  • Layer separation (UI, ViewModel, Domain)
# Read the architecture documentation
read_file('architecture.md', 1, 300)

Step 2: Load visual architecture model

Read the PlantUML C4 model to understand:

  • System container boundaries
  • Component relationships and data flow
  • Dependency directions between layers
# Read the PlantUML C4 model
read_file('architecture.puml', 1, 100)  

Key architectural concepts to remember

After reading the files, keep these principles in mind:

  • MVVM Pattern: Views render UI, ViewModels manage state, Domain handles business logic
  • Dependency Injection: Use uber/dig container in internal/dig/container.go
  • Layer Separation: UI (internal/ui/) ↔ ViewModel ↔ Domain (internal/memcard/)
  • Data Binding: ViewModels use bindings/events, never manipulate widgets directly

Expected outcome

After running this skill, you should have context about:

  • Main application components (ManagerWindowView, BlocksContainer, etc.)
  • Memory card domain concepts (MemoryCard, Block, Icon)
  • How data flows between UI and business logic
  • Project structure and file organization
Skills similaires