Skip to content

eldermoraes/quarkus-agentic-scaffolding / skills/scaffold-project

scaffold-project

Verified

Scaffold Quarkus + LangChain4j projects end-to-end and add agentic components to existing ones — AI services, tools, agents and multi-agent workflows, RAG pipelines, MCP clients and servers (Model Context Protocol), guardrails, and embedding store setups. Use this whenever the user wants a new Quarkus + LangChain4j project or module created, or an agentic component added to an existing project in this stack, including a baseline pom.xml, application.properties, project layout, or starter classes.

templates/ApplicationIT.java.template

View on GitHub
/*
 * Native integration test: `mvn verify -Dnative` builds the native executable, starts it and runs
 * this test against it (the failsafe plugin of the generated `native` profile runs every *IT
 * test; the JVM `mvn test` run skips them). `mvn verify -DskipITs=false` runs it against the JVM
 * jar instead.
 *
 * What it verifies: the executable starts (Quarkus, the AI-service proxies and the agent
 * workflow wiring initialize without a missing-reflection or missing-resource failure at boot),
 * and serves the OpenAPI document, which lists the chat endpoint, so the REST layer was
 * registered in the image. The OpenAPI endpoint calls no model, so the test needs no running
 * Ollama and no inference.
 *
 * What it does NOT verify: a model call. A native image fails on a missing reflection
 * registration only when the code path runs, so the first triage, the first WebSocket message
 * and the first retrieval are where a gap shows. Exercise those against a stand-in for the model
 * (point the models' base-url at it) before you rely on the native executable.
 *
 * The started application is the packaged artifact in the prod profile: an injected bean is not
 * available here, only its HTTP surface. Keep this file's public type name ending in IT.
 *
 * With Easy RAG: the native executable reads its documents from the filesystem, since Easy
 * RAG's classpath loader fails in a native image. The `native` profile part of pom.xml.template
 * sets the two environment variables for this test (failsafe configuration, pointing at
 * src/main/resources/rag). Running the executable outside the test, set them yourself:
 * QUARKUS_LANGCHAIN4J_EASY_RAG_PATH_TYPE=filesystem and QUARKUS_LANGCHAIN4J_EASY_RAG_PATH=<the
 * absolute path of the documents folder shipped with it> (RagSetup.java.template, "NATIVE BUILDS").
 */
package org.acme;

import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;

import io.quarkus.test.common.http.TestHTTPResource;
import io.quarkus.test.junit.QuarkusIntegrationTest;
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import org.junit.jupiter.api.Test;

@QuarkusIntegrationTest
public class ApplicationIT {

    @TestHTTPResource("/q/openapi")
    URI openApi;

    @Test
    void startsAndServesItsApiDocument() throws Exception {
        HttpResponse<String> response = HttpClient.newHttpClient().send(
                HttpRequest.newBuilder(openApi).GET().build(), HttpResponse.BodyHandlers.ofString());

        assertEquals(200, response.statusCode(), response::body);
        assertTrue(response.body().contains("/chat"), response::body);
    }
}
writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deploymentStars: 322kUpdated Claude CodeCodexVerifiedInstall
xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release.Stars: 118kUpdated Claude CodeCodexVerifiedInstall