复制安装命令
用 Codex 或 Claude 安装复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它先审查 Skill 页面再帮你安装。
复制前请先查看来源、License 和安全提示。
Help this project grow: Become a sponsor
用 Codex 或 Claude 安装复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它先审查 Skill 页面再帮你安装。
复制前请先查看来源、License 和安全提示。
来源文件:README.md
Help this project grow: Become a sponsor
An opinionated AI-native workflow for evolving modern Java Enterprise SDLC practices through reusable Skills, Agents, Commands & MCP servers.
A
plinthrepresents the solid foundation or platform used to support statues or artworks in art and sculpture. It served as a structural and symbolic foundation for columns, statues, and entire temple podiums. Romans inherited the idea from Greek architecture but expanded its use to emphasize monumentality, hierarchy, and imperial power.
Explore the latest published content on https://jabrena.github.io/plinth/ and follow its evolution through new skills, improvements, and fixes in the CHANGELOG.
Install every skill for your preferred agent:
npx skills add jabrena/plinth --skill '*' --agent cursor -y
npx skills add jabrena/plinth --skill '*' --agent claude-code -y
npx skills add jabrena/plinth --skill '*' --agent codex -y
npx skills add jabrena/plinth --skill '*' --agent github-copilot -y
Install every command for your prefered agent:
install @004-commands-installation cursor
install @004-commands-installation claude-code
install @004-commands-installation codex
install @004-commands-installation github-copilot
Install every agent for your prefered agent:
install @005-agents-installation cursor
install @005-agents-installation claude-code
install @005-agents-installation codex
install @005-agents-installation github-copilot
You can use the project in 2 ways:
Prepare the repository with /onboarding, then identify an issue in your Kanban dashboard from Atlasian Jira, Github Issues or Azure DevOps and apply the following workflow:
/onboarding
|
v
Issue
|
v
/update-issue --> /explore-problem --> /create-acceptance-criteria
|
v
/create-spec --> /explore-design
|
v
/implement-spec --> /close-spec
/onboarding establishes root AGENTS.md and one unambiguous OpenSpec project before issue selection. It preserves existing prerequisites; when OpenSpec is missing, you select its result path with documentation/openspec as the default.
Turn an idea into an actionable change with user stories, GitHub Issues or Jira, ADRs, diagrams, AI plan mode, and OpenSpec.
Functional Specification:
| Command | Explanation |
|---|---|
/onboarding | Establish root repository guidance and one unambiguous OpenSpec project before issue work. |
/update-issue | Update an existing GitHub or Jira issue with a structured user story, acceptance criteria, and resource content. |
/explore-problem | Evaluate an issue from five perspectives and post a Functional Specification comment on the issue. |
/create-acceptance-criteria | Derive Gherkin acceptance criteria from a Functional Specification and post them as a separate issue comment. |
Technical Specification:
| Command | Explanation |
|---|---|
/create-adr (Optional) | Record an architectural decision, its alternatives, rationale, and consequences. |
/create-diagram (Optional) | Create a focused architecture or design diagram from approved artifacts. |
/create-spec (OpenSpec) | Create or update one or more validated OpenSpec changes. |
/explore-design | Compare technical approaches and obtain an approved design direction. |
Implement and improve Java applications with Maven, design, coding, testing, security, documentation, Spring Boot, Quarkus, Micronaut, OpenAPI, and WireMock guidance.
| Command | Explanation |
|---|---|
/implement-spec | Deliver an approved plan or validated OpenSpec task list through framework-aware delegation. |
/close-spec | Archive an OpenSpec change by name using the OpenSpec CLI. |
Measure and improve production behavior through observability, profiling, benchmarking, and performance testing.
| Command | Explanation |
|---|---|
/profile | Coordinate Java profiling from baseline detection through verified optimization. |
/benchmark | Select and coordinate JMeter, Gatling, or JMH performance workflows. |
Review Java systems, AI models, and how GenAI tools are used across applications and delivery pipelines for regulation-aware engineering controls, evidence, and qualified owner handoffs spanning AI, data, security, product, platform, market, and governance. These skills support engineering awareness and do not provide legal advice.
| Regulation | Skill |
|---|---|
| EU AI Act | 801-regulations-eu-ai-act |
| DORA | 802-regulations-dora |
| GDPR | 803-regulations-gdpr |
| NIS2 | 804-regulations-eu-nis2 |
| Cyber Resilience Act | 805-regulations-eu-cyber-resilience-act |
| Data Act | 806-regulations-eu-data-act |
| Digital Services Act | 807-regulations-eu-digital-services-act |
| Digital Markets Act | 808-regulations-eu-digital-markets-act |
| MiFID II | 810-regulations-eu-mifid-ii |
| Market Abuse Regulation | 811-regulations-eu-market-abuse-regulation |
| Product Liability Directive | 812-regulations-eu-product-liability-directive |
Note: This set of skills could be a good complement for the future OWASP EU Compliance MCP.
Ask your agent:
Use @110-java-maven-best-practices to review this Maven project located in examples/@maven/maven-demo
Explain the findings, apply the approved improvements, and validate the build.
The skill guides the agent through a structured Maven review while keeping you in control of proposed changes.
Learn to use this project following the quick guide Getting Started in 5 minutes.
Explore the complete Commands, Agents, Skills, and MCP Servers inventories.
The project generates a set of deliverables at the end of any iteration.
| Inventory | Installation | Getting Started |
|---|---|---|
| 1. Commands | @004-commands-installation Install Commands in project | Commands |
| 2. Agents | @005-agents-installation Install Agents in Cursor/Claude | Agents |
| 3. Skills | npx skills add jabrena/plinth --skill '*' --agent cursor -y | Skills |
This project is compatible with any tool that supports Commands, Agents, Skills, MCP Servers and AGENTS.md.
Every push runs the following validation checks in the Skill Scanners as part of the CI Pipeline to keep documentation and generated skills correct, consistent, and secure:
| Name | Purpose |
|---|---|
| 1. MarkdownValidator | Protects the documentation layer by catching Markdown parsing drift and remote link failures before skill-specific checks run. |
| 2. skill-check | Confirms every generated skill follows the expected packaging contract, complementing scanners that focus on behavior or security risk. |
| 3. cisco-ai-skill-scanner by Cisco | Adds behavior-oriented security coverage by looking for risky skill flows that structural validation cannot see. |
| 4. SkillSpector by NVIDIA | Provides an independent static quality and security review, useful for comparing findings against the other scanners. |
| 5. Snyk Agent Scan by SNYK | Focuses on agent-skill supply-chain and prompt-risk signals, adding another security perspective alongside Cisco and SkillSpector. |
From the outset, be aware that results from interactions with these Skills and agents are not deterministic because of how the models behave, but you can mitigate that with clear goals and validation checkpoints.
Some interactive skills require Premium models for interactive use; otherwise they follow a fixed sequence of steps.
Models can generate code, but they cannot execute it against your local data. To bridge that gap, some Skills include scripts you run locally.
This project supports software engineering work; it does not replace engineering judgment. A software engineer must review, guide, and validate AI-generated decisions, code, and outcomes before they are used.
Use caution when a problem involves corporate databases or other sensitive organizational data. Before granting an AI-assisted workflow access, assess authorization, privacy, data leakage, retention, and unintended modification risks. Apply least-privilege access, human review, validation, and monitoring. See OWASP GenAI Data Security Risks & Mitigations 2026, and the new set of skills about EU regulation.
See CONTRIBUTING.md for ways to support and improve the project.
Java uses JEPs (JDK Enhancement Proposals) to describe new language and platform features. This repository tracks which JEPs could improve the Skills and guidance here.
Talks, articles, reference links, skill portals, and related projects live in Project references.
Developed by humans with support from Cursor and Codex, with ❤️ from Madrid
name: 112-java-maven-plugins
description: Use when you need to add or configure Maven plugins in your pom.xml — including quality tools (enforcer, surefire, failsafe, jacoco, pitest, spotbugs, pmd), security scanning (OWASP), code formatting (Spotless), version management, container image build (Jib), build information tracking, and benchmarking (JMH) — through a consultative, modular step-by-step approach that only adds what you actually need. This should trigger for requests such as Add Maven plugins in pom.xml; Improve Maven plugins in pom.xml; Configure Maven quality plugins in pom.xml; Add Maven build lifecycle plugins for Java verification; Review Maven plugin versions and executions. Part of Plinth Toolkit
license: Apache-2.0
metadata:
author: Juan Antonio Breña Moral
version: 0.18.0Configure Maven plugins and profiles in pom.xml using a structured, question-driven process that preserves existing configuration. This is an interactive SKILL.
What is covered in this Skill?
Maven plugins:
Maven profiles:
Before applying plugin recommendations, ensure the project is in a valid state. Use a structured, question-driven process that preserves existing configuration and adds only what the user selects.
./mvnw validate or mvn validate before applying any plugin recommendationsRun ./mvnw validate or mvn validate and stop if validation fails.
Before making any changes to pom.xml:
Scan existing plugins in <build><plugins>, <build><pluginManagement>, and <reporting><plugins>.
Scan existing properties in <properties>.
Scan existing profiles in <profiles>.
Identify conflicts between existing configuration and possible additions.
Preserve all existing plugins, properties, and profiles.
Ask the user before enhancing any existing plugin, property, reporting entry, support file, or profile.
Skip duplicate additions unless the user explicitly requests an enhancement.
Check Maven Wrapper before plugin changes
Check for Maven Wrapper files in the project root:
mvnw and mvnw.cmd.mvn/wrapper/maven-wrapper.propertiesIf Maven Wrapper is not present, stop and ask:
"I notice this project doesn't have Maven Wrapper configured. The Maven Wrapper ensures everyone uses the same Maven version, improving build consistency across different environments. Would you like me to install it? (y/n)"
Wait for the user's response before asking any other question. If the user says "y", install it:
mvn wrapper:wrapper
Run this XML-included question flow before reading any plugin/profile implementation reference. Ask one question at a time, wait for the user's answer, and record selected plugins, profiles, and conditional values before continuing.
Question 1: What type of Java project is this?
Options:
Question 2: Which Java version does your project target?
Options:
Question 3: What build and quality aspects are important for your project?
Options:
Note: When "Cyclomatic Complexity" is selected, Step 20 will create a PMD ruleset file and profile. The ruleset location depends on project structure: src/main/pmd/pmd-cyclomatic-complexity.xml (mono-module) or pmd/pmd-cyclomatic-complexity.xml (multi-module).
Question 3.1 (conditional): What is your target container image for Jib?
Note: This question is only asked if "Container image build (Jib)" was selected in question 3.
gcr.io/my-project/my-app, docker.io/username/myimage, or myimage for local Docker<to><image> configurationQuestion 4: What is your target coverage threshold?
Options:
Note: This question is only asked if "Code coverage reporting (JaCoCo)" was selected in question 3.
Question 5: Do you want to configure Sonar/SonarCloud integration?** (y/n)
Note: This question is only asked if "Static code analysis (SpotBugs, Sonar)" was selected in question 3.
If yes, please provide the following information:
Question 5.1: What is your Sonar organization identifier?
my-github-user or my-company-orgQuestion 5.2: What is your Sonar project key?
GITHUB_USER_REPOSITORY_NAME (e.g., john-doe_my-java-project)john-doe_awesome-java-libQuestion 5.3: What is your Sonar project display name?
Awesome Java Library or My Microservice APIQuestion 5.4: Which Sonar service are you using? (conditional)
Note: This question is only asked if Sonar configuration was enabled in question 5.
Options:
If SonarQube Server: Please provide your SonarQube server URL (e.g., https://sonar.mycompany.com)
After all applicable questions are answered, confirm the selections and map them to references:
references/112-java-maven-plugins-maven-compiler-plugin.md.references/112-java-maven-plugins-maven-enforcer-plugin.md.references/112-java-maven-plugins-maven-surefire-plugin.md.references/112-java-maven-plugins-maven-failsafe-plugin.md.references/112-java-maven-plugins-maven-surefire-report-plugin.md and references/112-java-maven-plugins-maven-jxr-plugin.md.references/112-java-maven-plugins-spotless-maven-plugin.md.references/112-java-maven-plugins-versions-maven-plugin.md.references/112-java-maven-plugins-git-commit-id-maven-plugin.md.references/112-java-maven-plugins-flatten-maven-plugin.md.references/112-java-maven-plugins-jib-maven-plugin.md.references/112-java-maven-plugins-maven-dependency-plugin.md.references/112-java-maven-plugins-profile-jacoco.md.references/112-java-maven-plugins-profile-pitest.md.references/112-java-maven-plugins-profile-security.md.references/112-java-maven-plugins-profile-static-analysis.md.references/112-java-maven-plugins-profile-sonar.md.references/112-java-maven-plugins-profile-jmh.md.references/112-java-maven-plugins-profile-cyclomatic-complexity.md.Add selected plugins and profiles without removing existing ones, preserving project structure and compatibility. Add only the Maven properties, plugin configuration, profile configuration, reporting plugins, and support files required by the selected references.
Report added plugins/profiles, rationale, and recommended follow-up commands or checks.
For detailed guidance, examples, and constraints, see:
评论 (0)
暂无评论,成为第一个评论者吧!