new-backend
Skill1 starsChanged 49 days agoApache-2.0View on GitHub
Scaffold a new observability backend (vendor) for otel-as-code across the vendor list, the terraform-patterns skill, the terraform-gen subagent, and a terraform-validated golden snapshot. Use when adding a vendor such as honeycomb or dynatrace.
In this repository18 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- otel-backendSkill
- otel-business-attrsSkill
- otel-collectorSkill
- otel-evaluateSkill
- otel-initSkill
- otel-instrumentSkill
- otel-remediateSkill
- otel-uninstrumentSkill
- semconv-disciplineSkill
- validate-pluginSkill
- business-attr-uxSkill
- collector-topologySkill
- deployment-remediationSkill
- language-maturitySkill
- semconv-disciplineSkill
- terraform-patternsSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 0 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Add the vendor name (one per line) to backends.txt at the repo root.
- Very specific: line 15
Add a ## <Vendor> section to skills/terraform-patterns/SKILL.md: provider source + version, auth variables, required resources (dashboard / …
- Very specific: line 18
Add a ## <Vendor> main.tf block to agents/terraform-gen.md describing the resources to emit, referencing the skill section.
- Very specific: line 27
Update the backend list in README.md and the design docs.
- Very specific: line 30
Run /validate-plugin and confirm the new snapshot validates and the CI vendor loop stays green.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Add a new observability backend to otel-as-code
The machine-readable vendor list has a single source (backends.txt). Adding a backend is: register it there, add its per-vendor content, then a validated snapshot. Ask for the vendor name and its Terraform provider source if not given.
1. Register the vendor (single source of truth)
Add the vendor name (one per line) to backends.txt at the repo root. This is the ONLY place the list is enumerated — the CI validate-terraform loop, tests/check-snapshots.sh, the session-summary hook, and /otel-backend's validation all read it.
2. terraform-patterns skill
Add a ## <Vendor> section to skills/terraform-patterns/SKILL.md: provider source + version, auth variables, required resources (dashboard / alerts / SLO), key gotchas, and OTel-specific query examples (PromQL/NRQL/native).
3. terraform-gen subagent
Add a ## <Vendor> main.tf block to agents/terraform-gen.md describing the resources to emit, referencing the skill section.
4. Golden snapshot (validated)
Create tests/snapshots/<vendor>/main.tf.snap:
- Make it SELF-CONTAINED — declare its own
variableblocks with defaults — so CI canterraform validatemain.tfstandalone (the job copies onlymain.tf.snap). - For an unfamiliar provider, introspect the real schema instead of guessing: after
terraform init, runterraform providers schema -jsonto get exact resource names and required fields. - Validate: copy to a temp dir,
terraform init -backend=false+terraform validate(download a pinned terraform binary if absent). Iterate until it passes; thenterraform fmt.
5. Human-facing docs
Update the backend list in README.md and the design docs. No CI or /otel-backend command edits are needed for the list itself — those read backends.txt.
Verify
Run /validate-plugin and confirm the new snapshot validates and the CI vendor loop stays green.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

