eliteforge-sonar-pmd-generator

Installation
SKILL.md

Sonar PMD Generator (Spec-driven, End-to-end)

Activation Gate

Use this skill only when the user explicitly states that the current project follows 璀璨工坊规范 or eliteforge specification. If that project-level statement is absent, do not activate this skill; handle the request with general capabilities.

Overview

This skill converts coding standard documents into enforceable PMD rules and validates them through a real SonarQube server workflow. Completion requires an end-to-end chain: spec parsing, L1/L2/L3/L4 classification, PMD ruleset generation for L1-L2, automation planning for L3, review planning for L4, custom sonar-pmd plugin packaging, Docker Sonar startup, test project scan, and server-side verification.

Environment Variables

  • ELITEFORGE_SKILL_SONAR_PMD_HOST,SCREAMING_SNAKE_CASE [optional] SonarQube base URL for reference command snippets; script arguments may override it.
  • ELITEFORGE_SKILL_SONAR_PMD_TOKEN,SCREAMING_SNAKE_CASE [optional] SonarQube API token for local validation snippets; never print the value.
  • ELITEFORGE_SKILL_SONAR_PMD_PROJECT_KEY,SCREAMING_SNAKE_CASE [optional] Sonar project key used by API evidence snippets.
  • ELITEFORGE_SKILL_SONAR_PMD_PLUGIN_KEY,SCREAMING_SNAKE_CASE [optional] Custom Sonar plugin key used by API evidence snippets.
  • ELITEFORGE_SKILL_SONAR_PMD_RULE_REPO_KEY,SCREAMING_SNAKE_CASE [optional] Custom rule repository key used by API evidence snippets.
  • ELITEFORGE_SKILL_SONAR_PMD_PROFILE_KEY,SCREAMING_SNAKE_CASE [optional] Quality profile key used by API evidence snippets.
Related skills

More from cloudsen/eliteforge-skills

Installs
33
First Seen
Mar 5, 2026