Skip to content

Refactor provider-resources skill into SDK-specific guidance skills - #41

Open
bbasata wants to merge 2 commits into
mainfrom
provider-resources
Open

Refactor provider-resources skill into SDK-specific guidance skills#41
bbasata wants to merge 2 commits into
mainfrom
provider-resources

Conversation

@bbasata

@bbasata bbasata commented Feb 24, 2026

Copy link
Copy Markdown
Collaborator

Replace the single mixed-SDK provider-resources skill with three focused skills:

  • provider-resources: now a categorizer that reads go.mod to detect whether
    the provider uses terraform-plugin-mux (combined), terraform-plugin-framework
    (Framework-only), or neither (SDKv2-only), then routes to the appropriate skill
  • provider-development-with-framework: Framework-only implementation guide
    (CRUD, schema, plan modifiers, validators, state management, testing)
  • provider-development-with-sdk: SDKv2-only implementation guide
    (CRUD, schema, ForceNew, timeouts, tfawserr error handling, testing)

Co-Authored-By: Claude Opus 4.6 noreply@anthropic.com

Replace the single mixed-SDK provider-resources skill with three focused skills:

- provider-resources: now a categorizer that reads go.mod to detect whether
  the provider uses terraform-plugin-mux (combined), terraform-plugin-framework
  (Framework-only), or neither (SDKv2-only), then routes to the appropriate skill
- provider-development-with-framework: Framework-only implementation guide
  (CRUD, schema, plan modifiers, validators, state management, testing)
- provider-development-with-sdk: SDKv2-only implementation guide
  (CRUD, schema, ForceNew, timeouts, tfawserr error handling, testing)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@bbasata
bbasata requested a review from a team as a code owner February 24, 2026 17:57
@github-actions

github-actions Bot commented Feb 24, 2026

Copy link
Copy Markdown

Tessl Skill Review Results

Skill Status Review Score
terraform/provider-development/skills/provider-resources PASSED 95%
terraform/provider-development/skills/provider-resources-with-framework PASSED 77%
terraform/provider-development/skills/provider-resources-with-sdk PASSED 84%

Checks: frontmatter validity, required fields, body structure, examples, line count.
Review Score is informational — not used for pass/fail gating.

Replace AWS SDK helpers (aws.String, aws.StringValue, WithContext methods),
AWS error utilities (tfawserr), and AWS provider internals (conns.AWSClient,
tftags, verify.SetTagsDiff) with generic Go and SDK-agnostic patterns.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@AdamTylerLynch

Copy link
Copy Markdown
Contributor

Duplicate/overlap flag: #79 also rewrites this same file, terraform/provider-development/skills/provider-resources/SKILL.md, with a different design, so the two PRs will conflict on merge:

Both address the split-vs-single discussion in #14. Raising this so the two can be reconciled instead of one silently overwriting the other. Related: my #86 (provider-framework-migration) houses the SDKv2→Framework content separately, which is one way to keep this skill Framework-only without an SDK sibling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants