ProfessorGPTProfessorGPT
Official Provider SkillView repo

Migrate LaunchDarkly Terraform provider HCL configs between block syntax (provider v2.x and earlier) and nested-attribute syntax (v3.x+). Use when a user upgrades the launchdarkly provider to v3 and hits "Unsupported block type" / "Missing required argument" plan errors, when downgrading from v3 to v2.x, when porting a v2 example to v3 syntax (or vice versa), or when the user mentions "block to nested attribute", "= [{...}]", "v3 plan errors", or pastes errors that reference `inline_roles`, `sta

Files1 files
SKILL.md276 lines
Loading editor…

Install

Recommended

One command — your agent picks it up automatically.

Select an AI agent above to see the install command.

or

Manual Install

More steps

Download the file and paste it into your agent's system prompt.

Skill details

Versionv1.0.0
AuthorLaunchDarkly
Categorycoding
Skill IDlaunchdarkly/terraform-provider-launchdarkly/.claude/skills/terraform-provider-block-to-nested-attrs

Related skills

Terraform Provider Add ResourceImplement a new resource (and optionally data source) in the LaunchDarkly Terraform provider source code. Use when the user asks to implement a new Terraform resource, add Terraform support for a LaunchDarkly feature, scaffold a new resource, or extend the provider with new resource types. Also use when the user says "add resource", "new resource", "implement resource", or references the terraform-provider-launchdarkly repo in the context of building something new. Do NOT use when the user wantsTerraform Provider V3 MigrationMigrate a full LaunchDarkly Terraform v2.x setup to v3 end-to-end, and try/verify the v3 provider's new resources against a real LaunchDarkly account. Use when the user wants to (1) upgrade an entire v2.x configuration to v3 — run migrate-tf-syntax, fix the manual follow-ups, build the v3 provider, apply, and confirm an idempotent state upgrade with zero forced replacements; or (2) exercise and validate the new v3 resources (context_kind, announcement, oauth_client, ai_agent_graph, metric_group,ApplyApply LaunchDarkly SDK onboarding: install dependency (or dual-SDK pair), configure env and secrets with consent, add init at entrypoint(s), verify compile. Nested under sdk-install; next is run.Built In MetricsInstrument an existing codebase with LaunchDarkly config tracking. Walks the four-tier ladder (managed runner → provider package → custom extractor + trackMetricsOf → raw manual) and picks the lowest-ceremony option that still captures duration, tokens, and success/error.Custom MetricsCreate, track, retrieve, update, and delete custom business metrics for configs. Covers full lifecycle: define metric kinds via API, emit events via SDK, and query results.DetectDetect repository stack for LaunchDarkly SDK onboarding: languages, frameworks, package managers, monorepo targets, entrypoints, existing LD usage. Nested under sdk-install; next is plan.