lucid-fdn/lucid-plugins/conventions
Claude Code and agent skill by lucid-fdn/lucid-plugins
- community
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/conventionsSKILL.md
Observability Conventions
Standard conventions for OpenTelemetry instrumentation across the Lucid platform.
The 6 Rules
- Identity keys (tenant_key, session_key, user_key) MUST be hashed via
hashForTelemetry()— they are PII - UUIDs (run_id, conversation_id, message_id) are OK raw — they are NOT PII
- UUIDs are HIGH CARDINALITY — NEVER use as metric labels
- Content (plaintext, ciphertext, prompts, tool args) is NEVER an attribute
- Use
LUCID_ENVnotNODE_ENVfor environment detection - 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.operationpattern
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:
- Verify service is in the topology — check correlation/references/services.md
- Check Sentry project exists — verify the sentryProject mapping
- Check span names — service should implement spans that match its domain prefix
- Check PII handling — all PII attributes must use
hashForTelemetry() - Check sampling config — verify rates match the environment
- 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
- SKILL.md in the repositoryCheckinglucid-observability/skill/references/conventions/SKILL.md
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
[](https://verified-skill.com/skills/lucid-fdn/lucid-plugins/conventions)