CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

terraform-cc008-migration

Migrates Terraform charm and product modules to the CC008 Charm Terraform Standards, enforcing the required file layout, variable and output contracts, MAJOR_VERSION markers, module tests and the operator-workflows reusable CI workflows. Use whenever a repository's Terraform modules must be brought to (or audited against) CC008.

Quality

94%

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

92%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 excellent operational skill body: concrete, executable rules with a strong validation loop and a clean split between the overview and the spec asset. The only blemishes are the garbled 'DO - Every files' section and some repetition of the SHA-pinning rules across sections.

Suggestions

Rewrite or delete the incoherent '## DO - Every files' section ('Newly added file to the repository containing a copyright header, should be updated to refer to the current year') — state the rule in imperative form, e.g. 'DO update the copyright header year on every file the migration touches', and fold it into 'DO — Every Module' or Repository Housekeeping.

State the SHA-pinning requirement once (CI Workflows) and have the DON'T and Quality Bar entries reference it rather than restate it, trimming the conciseness drag.

Fix the grammar slip in the final DON'T ('This will be handle by the automated doc generation workflow' → 'handled') to keep the rule set uniformly crisp.

DimensionReasoningScore

Conciseness

The body is a lean, imperative rule set with no Terraform tutorials, but there is trimmable material: SHA-pinning guidance is repeated across the CI Workflows section, the DON'T list and the Quality Bar, and the two-line '## DO - Every files' section ('Newly added file to the repository containing a copyright header, should be updated to refer to the current year') is garbled and redundant. Mostly efficient with minor instances that could be trimmed fits the 4 anchor.

4 / 5

Actionability

Guidance is copy-paste ready throughout: exact file names ('terraform.tf, variables.tf, outputs.tf, main.tf and README.md'), executable commands ('find . -type f -name \'main.tf\' -not -path \'*/.terraform/*\'', 'tflint --init && tflint --recursive', 'terraform -chdir=<module-dir> init -backend=false && terraform -chdir=<module-dir> test', 'git ls-remote https://github.com/canonical/operator-workflows.git main'), a concrete YAML permissions block, and the compliance-checker invocation. Specific examples cover the common migration cases, matching the 5 anchor.

5 / 5

Workflow Clarity

The multi-step process is clearly sequenced — module discovery, classification before applying rules, category-specific contracts, CI wiring, housekeeping — with an explicit validation feedback loop for this batch operation: 'Do not guess at compliance. Run the checker against every discovered module and iterate until it passes clean', followed by tflint/fmt/test gates and a Quality Bar checklist. This matches the 5 anchor including its error-recovery iteration.

5 / 5

Progressive Disclosure

The body is a well-signaled operational overview that deliberately defers detail: 'assets/cc008.spec.md is the specification... This skill does not restate the spec; it only reinforces the parts that are most often missed'. Both referenced bundle files (assets/cc008.spec.md, scripts/check_cc008.sh) exist, secondary references are one level deep and ranked 'in order of authority', and section headers make navigation easy — matching the 5 anchor.

5 / 5

Total

19

/

20

Passed

Description

92%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 strong description: concrete third-person capability list plus an explicit 'Use whenever' trigger clause tied to the CC008 standard. Trigger-term coverage is good but could add synonyms such as 'Juju' or 'compliance check' for broader natural-language matching.

DimensionReasoningScore

Specificity

The description lists multiple concrete, comprehensive actions — 'enforcing the required file layout, variable and output contracts, MAJOR_VERSION markers, module tests and the operator-workflows reusable CI workflows' — in third-person voice, with no vague filler. Coverage is comprehensive rather than having only minor gaps, so it matches the top anchor.

5 / 5

Completeness

Both halves are explicit: the 'what' is 'Migrates Terraform charm and product modules to the CC008 Charm Terraform Standards, enforcing...' and the 'when' is 'Use whenever a repository's Terraform modules must be brought to (or audited against) CC008'. This clearly matches the 5 anchor; the 'when' clause also prevents the score-3 cap.

5 / 5

Trigger Term Quality

Natural trigger terms like 'Terraform', 'charm', 'CC008', 'migrate' and 'audited against' are present and would be said by a user needing this skill, but common synonyms and variations (e.g. 'Juju', 'terraform standards', 'compliance check fails in CI') are missing. Good coverage with a few natural terms absent fits the 4 anchor.

4 / 5

Distinctiveness Conflict Risk

'CC008 Charm Terraform Standards' and 'charm and product modules' define a clear niche with distinct triggers, making it very unlikely to fire for an unrelated skill. Minimal conflict risk matches the top anchor.

5 / 5

Total

19

/

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

canonical/copilot-collections

Path

groups/platform-engineering/skills/terraform-cc008-migration/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.