Conversation
Tessl Skill Review Results
Detailed Reviewterraform/code-generation/skills/terraform-search-import — 92% (PASSED)Suggestions:
terraform/code-generation/skills/terraform-tidy-before-import — 92% (PASSED)Suggestions:
Checks: frontmatter validity, required fields, body structure, examples, line count. |
Document that terraform-tidy-before-import removes only computed attributes that are not optional, and preserves computed+optional attributes unless they are explicitly set to null. Assisted-by: Copilot <[email protected]> Co-authored-by: Copilot <[email protected]>
terraform-tidy-before-import: extract from terraform-search-import
| value = null # sensitive | ||
| value_wo = null # sensitive |
There was a problem hiding this comment.
curious: is the # sensitive generated by Terraform?
There was a problem hiding this comment.
It is not. It was likely generated by an agent/model that assisted in writing this. Maybe it's better to remove it.
| "evals": [ | ||
| { | ||
| "id": 1, | ||
| "prompt": "Tidy the generated Terraform in aws_thorough_before_cleanup.tf so it is ready for import and safe to commit. Use the default thoroughness level, keep valid import blocks intact, preserve Terraform language meta-arguments and nested language blocks, and organize the finished configuration into appropriate Terraform files before you wrap up. Keep terraform.tf in any terraform working directories for base provider configuration. Make a best effort: if the final file does not validate or does not meet all criteria, the computer should still present it as output for evaluation.", |
There was a problem hiding this comment.
How much instruction normally goes into the prompt vs into the skill?
How does it perform if this was just Tidy the generated Terraform config in aws_thorough_before_cleanup.tf?
There was a problem hiding this comment.
Right on, super helpful feedback. I think this prompt needs to be lighter. Agent fatigue. Time to edit.
There was a problem hiding this comment.
I can't seem to find a schema for this filetype?
I looked at the docs of tessl, which is used in a Github Action of this repo, and I can only find different files: https://docs.tessl.io/evaluate/evaluating-your-codebase#file-formats
How to run this eval?
There was a problem hiding this comment.
Yes, spot-on observation! 😃 I took a speculative leap in this pull request.
For the eval, I chose the format described on agentskills.io. I ran it locally (WORKS ON MY MACHINE 😃) with the skill-creator skill from anthropics/skills.
It would be Really Useful to include some output, would it not? 🙃
| "expected_output": "A cleaned AWS configuration as close to aws_thorough_after_cleanup.tf as possible. Expect absence of provider-defined computed attributes and top-level timeout blocks while preserving valid import blocks, lifecycle/meta-arguments, and connection timeouts.", | ||
| "files": [ | ||
| "evals/files/aws_thorough_before_cleanup.tf", | ||
| "evals/files/aws_thorough_after_cleanup.tf", |
There was a problem hiding this comment.
As Anthropic denotes these files as input files, do we need to somehow assert that the agent (while using the skill) does not read this file? Else it might be relatively easy to get to this result 🥷

cc: @quixoticmonk @ansgarm @ewbankkit