UNPKG

mat-drupal-mcp

Version:

MatDrupal MCP - AI Assistant for Drupal Projects with bilingual FR/EN support

332 lines (239 loc) ‱ 7.25 kB
# 💡 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.*