Skip to content

docs(tofu): add README + examples + experimental banner (QoL sweep)#11

Merged
intel352 merged 3 commits into
mainfrom
chore/qol-sweep-2026-05-19
May 19, 2026
Merged

docs(tofu): add README + examples + experimental banner (QoL sweep)#11
intel352 merged 3 commits into
mainfrom
chore/qol-sweep-2026-05-19

Conversation

@intel352
Copy link
Copy Markdown
Contributor

Summary

  • Authors README.md from scratch with experimental status banner, full step-type listing (iac_generate_hcl, tofu_init/plan/apply, state import/export), install instructions, and OpenTofu prerequisite note
  • Adds examples/minimal/config.yaml — validated with wfctl validate --skip-unknown-types
  • Adds CONTRIBUTING.md from shared plugin template
  • Adds .github/ issue templates and PR template

Test plan

  • GOWORK=off go build ./... passes
  • GOWORK=off go vet ./... passes
  • wfctl validate --skip-unknown-types examples/minimal/config.yaml passes

Related

Part of the 2026-05-19 multi-repo OSS-readiness QoL sweep.
See: GoCodeAlone/workflow#714

🤖 Generated with Claude Code

- Authors README.md from scratch with experimental status banner,
  step capabilities (iac_generate_hcl, tofu_init/plan/apply, state import/export),
  install instructions, and OpenTofu prerequisite note
- Adds examples/minimal/config.yaml (wfctl validate --skip-unknown-types ✅)
- Adds CONTRIBUTING.md from shared plugin template
- Adds .github/ issue templates and PR template

Part of 2026-05-19 multi-repo OSS-readiness QoL sweep.
See: GoCodeAlone/workflow#714

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR improves OSS/readability ergonomics for workflow-plugin-tofu by adding top-level documentation, a minimal validated example config, contribution guidance, and GitHub community templates.

Changes:

  • Add a new README.md with an experimental-status banner, step-type list, prerequisites, install snippet, and links to upstream docs.
  • Add examples/minimal/config.yaml demonstrating HCL generation + init/plan/apply wiring.
  • Add CONTRIBUTING.md plus GitHub PR/issue templates to standardize contributions and reports.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
README.md Introduces project overview, step inventory, prerequisites, and installation instructions.
examples/minimal/config.yaml Adds a minimal workflow example demonstrating typical step chaining.
CONTRIBUTING.md Adds contribution guidelines referencing upstream workflow conventions.
.github/PULL_REQUEST_TEMPLATE.md Adds a PR template with test plan + checklist.
.github/ISSUE_TEMPLATE/feature_request.md Adds a feature request issue template.
.github/ISSUE_TEMPLATE/bug_report.md Adds a bug report issue template.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md Outdated
version: 1
plugins:
- name: workflow-plugin-tofu
version: 0.1.3
Comment on lines +26 to +31
- name: plan
type: step.tofu_plan
config:
working_dir: /tmp/tofu-out
out_file: /tmp/tofu-out/plan.tfplan

Comment thread CONTRIBUTING.md
## Pull requests

- One feature or bugfix per PR.
- Update CHANGELOG.md with a Keep-a-Changelog entry.

## Checklist

- [ ] CHANGELOG.md updated (Keep-a-Changelog format)
intel352 and others added 2 commits May 19, 2026 11:26
…weep)

- Pin install snippet to v0.1.2 (latest stable release per plugin.json)
- Add CHANGELOG.md (Keep-a-Changelog format)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
step.tofu_plan has no out_file config — plan_file is implicitly
generated as <working_dir>/plan.tfplan and returned in step output.
Also adds config key documentation as comments.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@intel352 intel352 merged commit d33e22a into main May 19, 2026
4 checks passed
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