quarkus-service
Skill0 starsChanged 13 days agoMITView on GitHub
Build or change Quarkus services and endpoints: Maven module structure, resource/service/repository layering, CDI and scopes, typed configuration, and REST clients.
In this repository68 other files it gives its agents.
- skills/web-development/adapters/copilot-instructions.mdCopilot instructions
- accessibility-auditSkill
- agent-handoffSkill
- ai-tool-securitySkill
- api-designSkill
- audit-loggingSkill
- background-jobsSkill
- bulk-reporting-exportSkill
- changelog-generatorSkill
- ci-cdSkill
- codebase-onboardingSkill
- code-reviewSkill
- code-simplificationSkill
- context-engineeringSkill
- context-privacySkill
- data-import-exportSkill
- debuggingSkill
- dependency-auditSkill
- deprecation-and-migrationSkill
- design-tokensSkill
- documentation-and-adrsSkill
- doubt-driven-developmentSkill
- environmental-telemetrySkill
- erp-accountingSkill
- erp-domain-designSkill
- erp-inventorySkill
- erp-procurementSkill
- erp-salesSkill
- feature-flagsSkill
- forms-and-validationSkill
- frontend-stateSkill
- frontend-ui-engineeringSkill
- git-workflowSkill
- identity-access-managementSkill
- incremental-implementationSkill
- java-code-standardsSkill
- java-deliverySkill
- kerangkaSkill
- mcp-builderSkill
- membership-managementSkill
- observabilitySkill
- performance-optimizationSkill
- planning-and-task-breakdownSkill
- product-analyticsSkill
- quarkus-observabilitySkill
- quarkus-persistenceSkill
- quarkus-securitySkill
- quarkus-testingSkill
- responsive-layoutSkill
- rest-api-contractSkill
- saas-billingSkill
- saas-multitenancySkill
- saas-onboardingSkill
- security-hardeningSkill
- shipping-and-launchSkill
- skill-creatorSkill
- skill-evaluationSkill
- source-driven-developmentSkill
- spec-driven-developmentSkill
- test-driven-developmentSkill
- The first 60 shown.
The file
Files
Quarkus Service
Overview
The parent skill for day-to-day backend work. The binding rules live in
.agents/standards/java/project-layout.md and 00-decisions.md; this is the workflow.
When to use
- Adding an endpoint to an existing module
- Creating a new Quarkus module
- Cleaning up code that mixes layers
- Moving scattered configuration to typed config
- Calling another service
Hand off when
| Need | Skill |
| URL shape, status codes, error format | rest-api-contract |
| Entities, queries, migrations, transactions | quarkus-persistence |
| Roles, sessions, security validation | quarkus-security |
| Writing tests | quarkus-testing |
| Logs, metrics, traces | quarkus-observability |
| Large exports/reports | bulk-reporting-export |
| Domain business rules | the organisation's domain skill in context/skills/ |
Process
The order is deliberate: contract first, tests second, implementation last.
1 — Settle the contract. Path, method, request, response, errors, roles. If any of that
is unclear, do not start coding. Use .agents/templates/endpoint-spec.md.
2 — Write failing tests. An integration test for the HTTP shape, unit tests for the business rules. They must fail because the endpoint does not exist yet — not because of a typo.
3 — DTOs. records in dto/, bean validation on the fields.
4 — Repository, if a new query is needed. A specific method, not listAll() filtered
in Java afterwards.
5 — Service. Business rules, the @Transactional boundary, domain exceptions.
6 — Resource. Thin: bind, delegate, return. Add the role and OpenAPI annotations.
7 — Verify. ./mvnw verify, regenerate the OpenAPI spec, check the logs leak nothing.
Verification
- Resource has no queries or business rules
- Response is a
record, not an entity - Config is
@ConfigMapping, notConfigProvider.getConfig() - REST clients live in a
*Clienttype - Tests cover the service rule and the HTTP contract separately
Red flags
@Transactionalon a resource — wraps JSON serialisation, holds the DB connection.- Entities as responses — leaks internal columns, couples HTTP to the schema.
Optionalas an entity field — not serialisable, not its purpose.- Blocking calls on a reactive endpoint — blocks the event loop; the whole instance
stops serving. When in doubt, use imperative style (not
Uni/Multi). @ApplicationScopedwith mutable fields — a race condition under load.- Guessing Quarkus APIs — the version moves fast. Verify against
quarkus.io/guidesfor 3.33 instead of relying on recall.
References
references/shape-and-cdi.md- the correct class shape, CDI scopes, @ConfigMappingreferences/clients-and-threads.md- REST clients between services, virtual threads, lifting demo code
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

