Prompts Catalog
Browse all available MCP prompts for the PagoPA DX ecosystem. Each prompt is a pre-configured command that helps you accomplish specific development tasks.
How to Use a Prompt
Click on any prompt ID below to copy it. Then, use it in your AI assistant following this pattern:
/mcp.<your-server-name>.<prompt-id>
Example
If your MCP server is configured as pagopa-dx and you want to use the
generate-terraform-configuration prompt:
/mcp.pagopa-dx.generate-terraform-configuration
The AI assistant will execute the prompt with the appropriate context from your workspace.
Generate Terraform Configuration
Generates a Terraform configuration following PagoPA DX best practices. Guides users through querying the knowledge base for folder structure, modules, and conventions.
- terraform
- infrastructure
- dx
Arguments
- requirementsRequirements for the Terraform configuration to generate.
Generate Terraform Module Diagram
Generates a Mermaid flowchart diagram for a Terraform module, analyzing its resources and dependencies, using appropriate provider icons. Adds the diagram to the module's README.md.
- terraform
- mermaid
- diagram
- visualization
- documentation
- dx
Arguments
- module_pathPath to the Terraform module directory (e.g., infra/modules/azure_function_app)
Migrate Terraform Module
Guides migration of Terraform modules from one version to another. Analyzes changelogs, identifies breaking changes, and applies necessary configuration updates.
- terraform
- infrastructure
- migration
- devops
Arguments
- module_nameName of the Terraform module to migrate (e.g., azure-function-app, azure-github-environment-bootstrap) OR specific module instance name (e.g., my_function_app, github_environment).
- target_versionTarget version to migrate to. If not specified, migrates to the latest version.
Resolve GitHub Code Scanning Findings
Analyzes and resolves GitHub CodeQL security findings. Guides the agent to retrieve and fix open code scanning alerts on the main branch using the GitHub CLI.
- security
- codeql
- github
- remediation
Arguments
- scopeSubset of CodeQL findings or categories to focus on (e.g. CWE, severity, rule id, or file pattern).