بنقرة واحدة
instrumentation
Guidelines for OpenTelemetry instrumentation, observability strategy, and standards.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Guidelines for OpenTelemetry instrumentation, observability strategy, and standards.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Guidelines for creating, reviewing, and improving agent skills.
Guidelines for validation, staging, amending, and commit messages.
Guidelines for dependency injection patterns.
Guidelines for ensuring architectural changes are validated against core use cases.
Orchestrates efficient read and write interactions with the engram unified memory store via MCP tools. Provides deterministic workflows for decomposing observations into atomic memories, composing four-dimensional queries (context, similarity, relationship, time) for maximum retrieval accuracy, managing agent-managed focus context, and linking memories into associative webs at write time. Ensures memories are discoverable, precisely ranked, and structurally connected across sessions.
Guidelines for dual-use architecture (CLI and Go Library), dependency separation, and extensible registry patterns.
| name | instrumentation |
| description | Guidelines for OpenTelemetry instrumentation, observability strategy, and standards. |
checkout), NOT transport (POST /api/checkout).foo.bar), NOT Prometheus contextless names.http.path with placeholders (e.g., /users/{id}). NEVER use http.url (PII risk).Inject trace.Tracer and metric.Meter as dependencies.
type Service struct {
tracer trace.Tracer
meter metric.Meter
}
// Initialize with namespaced tracer/meter
s.tracer = tp.Tracer("github.com/org/repo/pkg/service")
Always set the proper SpanKind.
ctx, span := s.tracer.Start(ctx, "calculate-tax",
trace.WithSpanKind(trace.SpanKindInternal), // or Server, Client, Producer, Consumer
)
defer span.End()
if err != nil {
span.RecordError(err)
span.SetStatus(codes.Error, err.Error())
return err
}
Use httpconv for standard attributes.
// Client
attrs := httpconv.ClientRequest(req)
ctx, span := c.tracer.Start(req.Context(), "HTTP "+req.Method,
trace.WithSpanKind(trace.SpanKindClient),
trace.WithAttributes(attrs...),
)
// Server
attrs := httpconv.ServerRequest("server-name", r)
ctx, span := h.tracer.Start(ctx, "HTTP "+r.Method,
trace.WithSpanKind(trace.SpanKindServer),
trace.WithAttributes(attrs...),
)