mat-drupal-mcp
Version:
MatDrupal MCP - AI Assistant for Drupal Projects with bilingual FR/EN support
332 lines (239 loc) âą 7.25 kB
Markdown
# đĄ Exemples d'Utilisation - MatDrupal MCP
> **Guide complet d'utilisation avec GitHub Copilot**
>
> Créé par [Mathieu Boisvert](https://github.com/boisvertmath)
## đ DĂ©marrage Rapide
Une fois MatDrupal MCP installé et configuré, ouvrez GitHub Copilot Chat dans VS Code et utilisez le préfixe `@matdrupal` pour accéder aux fonctionnalités.
## đ Analyse de Projet Drupal
### Analyse complĂšte d'un projet
```
@matdrupal Analyze this Drupal project completely with comprehensive analysis
```
**Réponse attendue :**
- Version de Drupal détectée
- Structure docroot (si présente)
- Liste des modules custom
- Ăvaluation gĂ©nĂ©rale du projet
### Analyse rapide
```
@matdrupal Quick analysis of this Drupal project
```
**En français :**
```
@matdrupal Analyse rapide de ce projet Drupal
```
### Analyse stratégique avec planification D11
```
@matdrupal Perform strategic analysis with D11 migration planning
```
**En français :**
```
@matdrupal Effectue une analyse stratégique avec planification migration D11
```
## đŠ Exploration de Modules Custom
### Analyse d'un module spécifique
```
@matdrupal Explore the custom module "my_custom_module"
```
**En français :**
```
@matdrupal Explorer le module custom "mon_module_perso"
```
### Analyse de tous les modules custom
```
@matdrupal List and analyze all custom modules in this project
```
**En français :**
```
@matdrupal Lister et analyser tous les modules custom de ce projet
```
### Cartographie des dépendances
```
@matdrupal Map the dependencies of the "user_management" module
```
**En français :**
```
@matdrupal Cartographier les dépendances du module "gestion_utilisateurs"
```
## đ§ Ăvaluation de Dette Technique
### Ăvaluation complĂšte avec roadmap
```
@matdrupal Assess technical debt and generate a complete D11 migration roadmap
```
**En français :**
```
@matdrupal Ăvaluer la dette technique et gĂ©nĂ©rer un roadmap complet pour D11
```
### Ăvaluation rapide de compatibilitĂ©
```
@matdrupal Quick compatibility check for Drupal 11 migration
```
**En français :**
```
@matdrupal Vérification rapide de compatibilité pour migration Drupal 11
```
### Analyse de complexité de migration
```
@matdrupal Analyze migration complexity and identify potential blockers
```
**En français :**
```
@matdrupal Analyser la complexité de migration et identifier les blocages potentiels
```
## đł Gestion d'Environnement Lando
### Analyse de l'environnement
```
@matdrupal Analyze the current Lando environment
```
**En français :**
```
@matdrupal Analyser l'environnement Lando actuel
```
### Démarrage de l'environnement
```
@matdrupal Start the Lando development environment
```
**En français :**
```
@matdrupal Démarrer l'environnement de développement Lando
```
### ArrĂȘt de l'environnement
```
@matdrupal Stop the Lando environment
```
**En français :**
```
@matdrupal ArrĂȘter l'environnement Lando
```
## âïž Support Acquia CLI
### Vérification de compatibilité
```
@matdrupal Check Acquia CLI compatibility and version
```
**En français :**
```
@matdrupal Vérifier la compatibilité et version d'Acquia CLI
```
### Analyse de déploiement
```
@matdrupal Analyze deployment readiness for Acquia Cloud
```
**En français :**
```
@matdrupal Analyser la préparation au déploiement pour Acquia Cloud
```
## đ Exemples Bilingues
MatDrupal MCP dĂ©tecte automatiquement la langue de votre requĂȘte et adapte ses rĂ©ponses.
### Commandes mixtes
```
@matdrupal Analyze this project and explain in French
@matdrupal Analyser ce projet et expliquer en anglais
```
### Workflows bilingues
```
@matdrupal Create bilingual documentation for this custom module
@matdrupal Créer une documentation bilingue pour ce module custom
```
## đ Cas d'Usage AvancĂ©s
### Audit complet de projet
```
@matdrupal Perform a complete project audit including:
- Drupal version and compatibility
- Custom modules analysis
- Technical debt assessment
- D11 migration planning
- Security considerations
```
### Préparation de migration
```
@matdrupal Help me prepare this project for Drupal 11 migration:
1. Identify incompatible modules
2. Assess custom code compatibility
3. Create migration timeline
4. Generate testing checklist
```
**En français :**
```
@matdrupal Aide-moi à préparer ce projet pour la migration Drupal 11 :
1. Identifier les modules incompatibles
2. Ăvaluer la compatibilitĂ© du code custom
3. Créer un calendrier de migration
4. Générer une checklist de tests
```
### Analyse de performance
```
@matdrupal Analyze this Drupal project for performance optimization opportunities
```
### Documentation automatique
```
@matdrupal Generate comprehensive documentation for this custom module including:
- Purpose and functionality
- Dependencies and requirements
- Installation instructions
- Usage examples
- API documentation
```
## đŻ Workflows de DĂ©veloppement
### Revue de code
```
@matdrupal Review this custom module for Drupal best practices and suggest improvements
```
### Planification de fonctionnalités
```
@matdrupal Help me plan the implementation of a new feature in this Drupal project
```
### Debugging assistance
```
@matdrupal Help me debug this Drupal module - analyze potential issues and suggest solutions
```
## đ§ Configuration et Personnalisation
### Vérification de configuration
```
@matdrupal Check the current MatDrupal MCP configuration and suggest optimizations
```
### Test de fonctionnalités
```
@matdrupal Test all MatDrupal MCP tools and report their status
```
## đ Conseils d'Utilisation
### Maximiser l'efficacité
1. **Soyez spĂ©cifique** : Plus votre requĂȘte est dĂ©taillĂ©e, plus la rĂ©ponse sera prĂ©cise
2. **Utilisez le contexte** : MatDrupal MCP comprend le contexte de votre projet Drupal
3. **Exploitez le bilinguisme** : Alternez entre français et anglais selon vos besoins
4. **Combinez les outils** : Utilisez plusieurs analyses pour une vue complĂšte
### Commandes de suivi
AprĂšs une analyse initiale, vous pouvez approfondir :
```
@matdrupal Based on the previous analysis, focus on the most critical issues
@matdrupal Can you elaborate on the migration complexity assessment?
@matdrupal Provide more details about the custom modules found
```
### Workflows en équipe
```
@matdrupal Create a summary report suitable for stakeholders
@matdrupal Generate technical recommendations for the development team
@matdrupal Prepare a migration presentation for project managers
```
## đ Exemples Pratiques
### Scénario 1: Nouveau projet
```
@matdrupal I'm joining a new Drupal project. Help me understand:
- Project structure and architecture
- Custom modules and their purposes
- Current technical state
- Potential improvements
```
### Scénario 2: Migration D11
```
@matdrupal We need to migrate to Drupal 11. Provide:
- Complete compatibility assessment
- Step-by-step migration plan
- Risk analysis
- Timeline estimation
```
### Scénario 3: Audit de sécurité
```
@matdrupal Perform a security-focused analysis of this Drupal project
```
---
*Guide créé par [Mathieu Boisvert](https://github.com/boisvertmath) pour optimiser l'utilisation de MatDrupal MCP.*