Index of every page on this site: llms.txt
All skills
github avatar

/create-quarkus-project

@f10fdb8 official
by githubgithub/awesome-copilot41k stars
5,399
Run it yourself

Create a new Quarkus project (Maven or Gradle) with the Quarkus CLI, code.quarkus.io API or Maven plugin, choose extensions, and run it in dev mode. Use when asked to scaffold, bootstrap or start a Quarkus application or REST API.

Use this Skill: https://skilld.dev/gh/github/awesome-copilot/create-quarkus-project

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesdatabase.md

≈750 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Database

Extensions: hibernate-orm-panache, jdbc-postgresql (or another JDBC driver). Optional: flyway or liquibase.

"Panache Next" (a unified blocking/reactive API) was renamed Quarkus Data in 3.37: the artifact is quarkus-data-hibernate (previously quarkus-hibernate-panache-next, and earlier quarkus-hibernate-panache). Its extension metadata in 3.40.1 says status: experimental, so keep hibernate-orm-panache (stable) unless the user asks for Quarkus Data. Not compiled here: only the artifact metadata and the 3.37/4.0 migration guides were checked.

Dev Services

With no quarkus.datasource.jdbc.url configured, dev and test modes start a PostgreSQL container automatically (Docker/Podman required). Do not set the URL in %dev/%test. Tuning:

quarkus.datasource.db-kind=postgresql
%dev.quarkus.datasource.devservices.image-name=postgres:17
%dev.quarkus.datasource.devservices.reuse=true

Without image-name, 3.40 starts postgres:18; pin the image to match production. reuse only takes effect when the Testcontainers user file ~/.testcontainers.properties contains testcontainers.reuse.enable=true (otherwise Quarkus logs "Reuse was requested but the environment does not support the reuse of containers").

Production settings go in %prod.:

%prod.quarkus.datasource.jdbc.url=${DB_URL}
%prod.quarkus.datasource.username=${DB_USER}
%prod.quarkus.datasource.password=${DB_PASSWORD}

Hibernate ORM

%dev.quarkus.hibernate-orm.schema-management.strategy=drop-and-create
%prod.quarkus.hibernate-orm.schema-management.strategy=none

(quarkus.hibernate-orm.database.generation is the deprecated old name: 3.40 logs a deprecation warning for it. schema-management.strategy was verified on 3.27.6 and 3.40.1; for older releases check the Hibernate ORM guide.)

Panache repository:

@Entity
public class Product { @Id @GeneratedValue Long id; String name; }

@ApplicationScoped
public class ProductRepository implements PanacheRepository<Product> {}

Put @Transactional on methods that write. Use find(...).page(Page.of(0, 20)) for pagination.

Migrations

For production use Flyway (quarkus-flyway) or Liquibase (quarkus-liquibase):

quarkus.flyway.migrate-at-start=true

When adopting Flyway or Liquibase, remove every Hibernate schema-recreation override (such as the %dev drop-and-create above) and set quarkus.hibernate-orm.schema-management.strategy=none (or validate) so the migration tool alone manages the schema; otherwise Hibernate can drop and recreate the migrated tables.

With PostgreSQL, Flyway also needs the database-specific module org.flywaydb:flyway-database-postgresql (managed by the Quarkus BOM) next to quarkus-flyway; without it startup fails because Flyway cannot handle PostgreSQL.

Place scripts in src/main/resources/db/migration (V1__init.sql). Flyway also gets a Dev Services-provided datasource automatically.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

2 warnings3d3 checks · Risk MEDIUM
  • Gen Agent Trust Hub3d

    This skill helps create Quarkus projects but suggests installing an extra tool from an unverified source on GitHub, which could be a security risk. It also uses information from your computer's tools and the internet to set up the project, which could theoretically be used to mislead the AI, although the risk is low.

  • Socket3d

    No alerts

  • Snyk3d

    Risk: MEDIUM · 1 issue

Signed by skilld at f10fdb8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated last month

README badge

README badge for github/awesome-copilot/create-quarkus-project