lucid-fdn/lucid-plugins/conventions

Claude Code and agent skill by lucid-fdn/lucid-plugins

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

OTel observability conventions: span naming, attribute keys, PII rules, and sampling configuration

Install

npx vskill@latest install lucid-fdn/lucid-plugins/conventions

SKILL.md

Observability Conventions

Standard conventions for OpenTelemetry instrumentation across the Lucid platform.

The 6 Rules

  1. Identity keys (tenant_key, session_key, user_key) MUST be hashed via hashForTelemetry() — they are PII
  2. UUIDs (run_id, conversation_id, message_id) are OK raw — they are NOT PII
  3. UUIDs are HIGH CARDINALITY — NEVER use as metric labels
  4. Content (plaintext, ciphertext, prompts, tool args) is NEVER an attribute
  5. Use LUCID_ENV not NODE_ENV for environment detection
  6. All services use head + tail sampling: head captures baseline, tail captures 100% errors

Span Names

See references/span-names.md for the canonical list of 20 span names and their descriptions.

When reviewing or writing instrumentation code:

  • Use exact span names from the reference list
  • Each span name maps to a specific operation
  • New span names should follow the domain.operation pattern

Attribute Keys

See references/attributes.md for all 19 standard attribute keys with PII and cardinality flags.

When reviewing attributes:

  • Check PII flag — PII attributes MUST be hashed
  • Check high cardinality flag — high cardinality attributes MUST NOT be metric labels
  • Use the exact key names from the reference list

Sampling

See references/sampling.md for head/tail sampling configuration.

Convention Compliance Check

When auditing a service for convention compliance:

  1. Verify service is in the topology — check correlation/references/services.md
  2. Check Sentry project exists — verify the sentryProject mapping
  3. Check span names — service should implement spans that match its domain prefix
  4. Check PII handling — all PII attributes must use hashForTelemetry()
  5. Check sampling config — verify rates match the environment
  6. Check LUCID_ENV — must be set, not relying on NODE_ENV

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/lucid-fdn/lucid-plugins/conventions/badge)](https://verified-skill.com/skills/lucid-fdn/lucid-plugins/conventions)

Something wrong with this skill or its page? Tell us.