/agentic:agentic-write-instrumented-codefrom agentic
Use when writing code in order to add logging, tracing, or instrumentation to any service
Ships in agentic. 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.
Logs:
{message, service_name, service_revision, environment}stack fieldTracing:
service_name, service_revision, environment| Field | Example |
|---|---|
service_name | "payment-service" |
service_revision | "a1b2c3d" or "v1.2.3-a1b2c3d" (git hash or docker tag) |
environment | "production" |
| Field | When |
|---|---|
tenant_id | Always in multi-tenant context |
company_id | When tenant = company (keep tenant_id too) |
If tenant is a company: log BOTH tenant_id and company_id (same value, but tenant_id for consistency across services).
Use snake_case everywhere. Same names in logs and spans:
tenant_id not tenantIdorder_id not orderIduser_id not userIdtransaction_id not transactionId// Logger setup (inject service metadata once)
const logger = createLogger({
service_name: 'payment-service',
service_revision: process.env.GIT_SHA || process.env.IMAGE_TAG,
environment: process.env.NODE_ENV,
tenant_id: ctx.tenantId, // multi-tenant
company_id: ctx.tenantId // if tenant = company
});
// Tracing with OpenTelemetry
const tracer = trace.getTracer('payment-service');
async function processPayment(order_id: string, amount: number) {
return tracer.startActiveSpan('process_payment', {
attributes: { order_id, amount }
}, async (span) => {
logger.info({ message: 'payment_started', order_id, amount });
// ... logic
span.end();
});
}
console.log anywhereservice_name, service_revision, or environmenttenant_idstack field)No plain logs or untagged spans = no merge.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub johannwilfridcalixte/agent-skills --plugin agentic40 skills in this plugin
/agentic-babysit-prGet a work item's PR merge-ready and watch it until it merges: push, open or reuse the PR, fix CI and comments in a loop. Use to open a PR, get it green, handle feedback, or watch it to merge./agentic-change-featureChange an existing feature's behaviour, from request to merged PR; `light` for a small change./agentic-clean-architectureUse when writing or modifying backend code that has business logic — services, domain models, use cases, APIs with validation/calculations/state transitions. Default for any non-trivial backend work.