CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

tfgen-generate-against-candidate-sdk

Use when tfgen generate must run before the management SDK is synced from a cx-management-apis PR (SDK_SYMBOL_MISSING for new contract fields). Builds a candidate SDK in a private GOMODCACHE.

69

Quality

87%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

86%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

An exceptionally dense, expert-level procedure document: every step is concrete, correctly sequenced, and loaded with hard-won operational caveats (immutable module caches, Docker $PWD mounts, visibility filters). The main gaps are minor: deferred specifics for the openapi-generator invocation and no explicit error-recovery loop around the final build.

Suggestions

Inline the actual openapi-generator flags (or give one complete example command for a single tag) in step 4 instead of deferring to 'the flags of go/scripts/generate_openapi.sh', and spell out the full tfgen generate arguments in step 6 rather than an ellipsis.

Add an explicit feedback loop after the final build (e.g., 'if go build reports missing SDK symbols, re-check that the rewritten openapi.yaml/components.schemas include those fields') so the verification step has recovery guidance for this batch generation workflow.

DimensionReasoningScore

Conciseness

Every sentence carries non-obvious operational knowledge Claude could not infer: why every other module must be reachable under GOPROXY=off, why the input spec must sit inside the SDK copy ('Docker mounts $PWD'), why a private GOCACHE is needed (Go caches module directories as immutable), and that a DEV field is not in the SDK. There is no padding, no explanation of concepts Claude already knows, and the ~20 lines fully cover a genuinely complex procedure. This matches the 'lean and efficient; every token earns its place' anchor.

5 / 5

Actionability

The guidance is concrete and mostly executable: exact script paths ('go/scripts/sanitize_openapi_for_go_codegen.py'), env vars (OPENAPI_VISIBILITY_FILTER=DEPRECATED), flags ('--provider-name coralogix'), and the final commands ('GOMODCACHE=<private> go run ./cmd/tfgen generate ...' and the go build). It falls short of 5 because several steps defer to elsewhere or trail off — 'with the flags of go/scripts/generate_openapi.sh' requires consulting another script, step 6 ends in an ellipsis, and placeholders like '<pinned version>' and '<tag>' are left unresolved — matching the anchor for mostly executable guidance with minor gaps.

4 / 5

Workflow Clarity

A clear, correctly ordered six-step sequence with a Trigger section that states the precondition ('tfgen check passes... but generate needs SDK symbols that no released SDK has yet') and a Why section explaining the mechanism; the closing 'go build ./...' acts as a natural verification checkpoint and 'Never commit a replace or a pin to the candidate' is an explicit safety guard. It is not a 5 because there is no explicit validation/feedback framing (no 'if the build fails with missing symbols, re-check the spec rewrite' loop), which matters for this batch code-generation workflow.

4 / 5

Progressive Disclosure

The skill is under 50 lines, has no bundle files (no references/, scripts/, or assets/ exist), and needs none — everything required is in well-organized sections (Trigger, Fix, Docs from a worktree, Why) with the peripheral docs procedure clearly separated from the main fix. Per the rubric's simple-skill guideline this earns the top anchor: a well-organized single file with no buried or nested references.

5 / 5

Total

18

/

20

Passed

Description

82%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A highly distinctive, niche description with an excellent explicit trigger (including the exact error code) and a clear statement of what it does. Its only weakness is that the 'what' clause covers just one action, understating the multi-step fix the skill actually walks through.

Suggestions

Expand the 'what' clause to mention one or two more of the concrete actions the skill performs (e.g., rewriting tag specs and running openapi-generator against the candidate) to lift specificity from 1-2 actions toward comprehensive coverage.

Add one or two natural phrasings users might use when asking for this ('terraform provider generation', 'openapi/swagger spec') to round out trigger term coverage.

DimensionReasoningScore

Specificity

The description states one concrete action — 'Builds a candidate SDK in a private GOMODCACHE' — within a clearly named domain (tfgen/management SDK generation), which matches the anchor for naming the domain and 1-2 concrete actions without comprehensive coverage. It is not a 4 because it omits the other actions the skill actually performs (spec rewriting, openapi-generator runs, SDK build), and not a 2 because the action given is specific rather than generic.

3 / 5

Completeness

Both 'what' and 'when' are explicitly and concretely answered: 'Builds a candidate SDK in a private GOMODCACHE' states the what, and the 'Use when tfgen generate must run before the management SDK is synced from a cx-management-apis PR (SDK_SYMBOL_MISSING for new contract fields)' clause gives a highly concrete trigger with an error code. This matches the 5 anchor; the 4 anchor's weakness (a less explicit 'when') does not apply here.

5 / 5

Trigger Term Quality

Strong natural keyword coverage for this niche: 'tfgen generate', 'SDK is synced', 'cx-management-apis PR', 'SDK_SYMBOL_MISSING for new contract fields', 'candidate SDK' — a user hitting this situation would plausibly say these. It falls short of 5 because related phrasings a user might naturally use ('terraform provider', 'openapi/swagger spec', 'module cache') are absent, and it is well above 3 because it includes the exact error code and tool names users would paste.

4 / 5

Distinctiveness Conflict Risk

The description occupies a clear niche with distinct triggers — the SDK_SYMBOL_MISSING error code, the cx-management-apis PR context, and tfgen/GOMODCACHE jargon make it very unlikely to fire for any other skill. It matches the 'clear niche with distinct triggers; minimal conflict risk' anchor exactly.

5 / 5

Total

17

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

coralogix/terraform-provider-coralogix

Path

.claude/skills/tfgen-generate-against-candidate-sdk/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.