/guicedee-config:guicedee-configfrom guicedee-config
Injects MicroProfile Config values in Guiced using SmallRye Config, supporting @ConfigProperty, custom sources/converters, profiles, and environment variable mapping.
Ships in guicedee-config. 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.
MicroProfile Config implementation for Guiced using SmallRye Config and Google Guice.
Inject configuration values with @ConfigProperty, resolve from environment variables, system properties, and META-INF/microprofile-config.properties — all wired automatically through SPI discovery and Guice bindings.
guiced.net:config dependency.microprofile-config.properties file:
# src/main/resources/META-INF/microprofile-config.properties
messaging.enabled=true
messaging.bootstrap.servers=localhost:9092
liveness.port=8081
public class MessagingService {
@ConfigProperty(name = "messaging.enabled", defaultValue = "true")
boolean enabled;
@ConfigProperty(name = "messaging.bootstrap.servers")
String bootstrapServers;
}
module-info.java:
module my.app {
requires com.guicedee.microprofile.config;
opens my.app.services to com.google.guice;
}
| Source | Ordinal | Example |
|---|---|---|
| System properties | 400 | -Dmessaging.enabled=true |
| Environment variables | 300 | MESSAGING_ENABLED=true |
META-INF/microprofile-config.properties | 100 (lowest) | messaging.enabled=true |
Environment variable names follow MicroProfile Config rules:
messaging.bootstrap.servers → MESSAGING_BOOTSTRAP_SERVERSSmallRye Config supports profile-specific properties using %profile. prefix:
db.url=jdbc:postgresql://prod-host:5432/mydb
%dev.db.url=jdbc:postgresql://localhost:5432/mydb
Activate with smallrye.config.profile=dev. Custom sources can override the default ordinals; inspect the resolved ConfigValue source when diagnosing precedence.
| Type | Binding |
|---|---|
String | Direct value |
boolean / Boolean | Parsed |
int / Integer | Parsed |
long / Long | Parsed |
double / Double | Parsed |
float / Float | Parsed |
Optional<T> | Wrapped optional (all above types) |
Default values via @ConfigProperty(defaultValue = "...").
@Inject
SmallRyeConfig config;
int port = config.getOptionalValue("liveness.port", Integer.class).orElse(8081);
Register Converter<T> implementations via ServiceLoader for application-specific types.
IGuiceContext.instance().inject()
└─ MicroProfileConfigContext (builds SmallRyeConfig on Vert.x worker thread)
├─ addDefaultSources() (env vars, system props, microprofile-config.properties)
├─ addDiscoveredSources() (ServiceLoader-discovered ConfigSource SPIs)
└─ addDiscoveredConverters()
└─ MicroProfileConfigBinder (scans @ConfigProperty fields, creates Guice bindings)
MicroProfileConfigContext enriches configuration-load failures using ConfigPropertiesValidator: inspect the reported resource URL, line, column, malformed Unicode escape, or encoding before editing a different module's configuration. Every dependency can contribute META-INF/microprofile-config.properties.
MicroProfile/SmallRye configuration and com.guicedee.client.Environment are separate resolution paths. Do not assume a working-directory .env.local lookup from Environment automatically describes the MicroProfile source list. Use the owning API and inspect its resolved source.
requires com.guicedee.microprofile.config;.@ConfigProperty fields must be in packages opened to com.google.guice.provides needed.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-config