eliteforge-sonar-pmd-generator

Parse specification documents to generate governance artifacts and a configurable PMD rule set.

1|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/CloudSen/eliteforge-skills --skill eliteforge-sonar-pmd-generator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: eliteforge-sonar-pmd-generator
Source: https://github.com/CloudSen/eliteforge-skills/tree/main/skills/eliteforge-sonar-pmd-generator
Command: npx skills add https://github.com/CloudSen/eliteforge-skills --skill eliteforge-sonar-pmd-generator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires bash, curl, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill converts coding specifications into enforceable governance artifacts for PMD and SonarQube, reducing manual effort and ensuring traceable quality checks across a multi-language codebase.

Core Features & Use Cases

  • Spec-driven PMD rule generation: maps specification statements to L1/L2 rules and plugin definitions.
  • Automation planning & review: creates L3 automation steps and L4 review workflows, with a packaged Sonar plugin.
  • Docker-based validation: validates the plugin by running a real SonarQube instance and scans against a test project.

Quick Start

Provide your specification files and target languages, and this skill will generate governance artifacts, package a sonar-pmd plugin, and validate it with a Docker SonarQube run.

Frequently Asked Questions about eliteforge-sonar-pmd-generator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate PMD rules from specification documents for SonarQube?

You can enforce coding specifications in SonarQube by generating a custom sonar-pmd plugin from your spec documents. This classifies spec items into L1 to L4 levels, maps L1 and L2 to PMD rules, and plans automation or review for L3 and L4 to ensure traceable quality checks.

What is the L1 L2 L3 L4 classification in PMD rule generation?

The L1 to L4 classification in PMD rule generation categorizes specification items by enforcement type. L1 and L2 items become configurable PMD rules, L3 items trigger automation planning, and L4 items define human or AI review workflows for comprehensive codebase governance.

How do I validate a custom sonar-pmd plugin with Docker SonarQube?

You validate a custom sonar-pmd plugin by running a Docker-based SonarQube instance and scanning a test project. This workflow requires your plugin workspace and test project as inputs, and outputs validation evidence confirming the generated rules work correctly.

Do I need bash and curl to create SonarQube governance artifacts from specs?

Yes, you need bash and curl available in your environment to create SonarQube governance artifacts from specs. These dependencies support the scripts that parse specification files, package the sonar-pmd plugin, and execute the Docker-based validation workflow.

Can I use specification files to plan automation for L3 spec items?

Yes, you can use specification files to plan automation for L3 spec items. The generation process parses your input specs and explicitly creates automation planning steps for L3 items, while defining human or AI review workflows for L4 items.

What inputs are required to package a sonar-pmd plugin and generate governance artifacts?

The inputs required to package a sonar-pmd plugin and generate governance artifacts are specification files, target languages, a plugin workspace, and a test project. These inputs allow the system to output the governance artifacts, the plugin, and Docker SonarQube validation evidence.