/guicedee-rest:guicedee-restfrom guicedee-rest
Builds Jakarta REST (JAX-RS) endpoints on Vert.x 5 with Guice dependency injection, parameter binding, content negotiation, and reactive return types.
Ships in guicedee-rest. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Lightweight Jakarta REST (JAX-RS) adapter for Vert.x 5 with full Guiced integration.
Annotate your classes with standard @Path, @GET, @POST, etc. — routes are discovered at startup via ClassGraph and registered on the Vert.x Router automatically. Resource instances are created through Guice, so @Inject works everywhere.
guiced.net:rest dependency (pulls in web transitively).module-info.java:
module my.app {
requires com.guicedee.rest;
opens my.app.resources to com.google.guice, com.guicedee.rest;
opens my.app.dto to tools.jackson.databind;
}
@Path("/users")
public class UserResource {
@Inject
private UserService userService;
@GET
@Produces(MediaType.APPLICATION_JSON)
public Uni<List<User>> listUsers() {
return userService.findAll();
}
@POST
@Consumes(MediaType.APPLICATION_JSON)
@Produces(MediaType.APPLICATION_JSON)
public Uni<User> createUser(CreateUserRequest request) {
return userService.create(request);
}
@GET
@Path("/{id}")
public Uni<User> getUser(@PathParam("id") Long id) {
return userService.findById(id);
}
}
IGuiceContext.registerModuleForScanning.add("my.app");
IGuiceContext.instance().getConfig()
.setClasspathScanning(true).setAnnotationScanning(true)
.setMethodInfo(true).setFieldInfo(true);
IGuiceContext.instance().inject();
Observe getLoadingFinished() before probing routes. Executable mains can use GuiceApplication.run(...) from inject to own startup failure and process exit.@GET, @POST, @PUT, @DELETE, @PATCH, @HEAD, @OPTIONS
@PathParam, @QueryParam, @HeaderParam, @CookieParam, @FormParam, @MatrixParam, @BeanParam
@Produces, @Consumes
IGuiceContext.instance().inject()
└─ OperationRegistry scans for @Path-annotated classes via ClassGraph
└─ Routes mapped to Vert.x Router
└─ Resource instances obtained from Guice injector
Methods can return:
DefaultObjectMapper)Uni<T> for reactive compositionFuture<T> for Vert.x futuresvoid for fire-and-forget operationsResponse bodies are serialized by
ResponseHandlerusing the sharedDefaultObjectMapper(tools.jackson.databind), not Vert.x's built-in codec. Jackson annotations remain oncom.fasterxml.jackson.annotation(2.x), so@JsonProperty,@JsonInclude,@JsonAutoDetect,@JsonIdentityInfo, and reference annotations work unchanged.
When com.guicedee.telemetry is present, the REST router automatically creates a SERVER span for each endpoint, extracts W3C request context, keeps the span current across the reactive Uni subscription, and ends it when the HTTP response completes. Endpoint authors do not need to add @Trace for the HTTP boundary. Resource and service methods may still use @Trace for separate internal spans.
com.google.guice and com.guicedee.rest.opens to tools.jackson.databind.requires com.guicedee.rest;.web module is included transitively — do not create HttpServer manually.module-info.java + META-INF/services/).What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub guicedee/ai-rules --plugin guicedee-rest