e2e-test
Skill373 starsChanged 2 months agoMITView on GitHub
Verify tfmcp MCP lifecycle, transports, and local Terraform operations end to end with real implementations and isolated fixtures.
9 other projects use a version of this.
Adopted by
Most recently taken up by
- maximhq/bifrosttheir own version, first seen Sep 29, 2026
- sherparc/Sherpatheir own version, first seen Sep 19, 2026
- korya/swd-skillstheir own version, first seen Sep 9, 2026
- liaohch3/claude-taptheir own version, first seen Aug 25, 2026
- addisonk/skillstheir own version, first seen Aug 5, 2026
- hideki5123/agent-skill-settheir own version, first seen Jul 9, 2026
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- maximhq/bifrost★ 8.6ksame name
- liaohch3/claude-tap★ 3.3ksame name
- fimoklei/pm-ai-playbook★ 42same name
- DongDuong2001/pudo-code-system★ 5same name
- hideki5123/agent-skill-set★ 2same name
- korya/swd-skills★ 2same name
- sherparc/Sherpa★ 2same name
- addisonk/skills★ 1same name
- ijufumi/claude-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/000_general.mdcCursor rule
- .cursor/rules/001_rust.mdcCursor rule
- .cursor/rules/002_terraform.mdcCursor rule
- .cursor/rules/003_mcp.mdcCursor rule
- .cursor/rules/project.jsonCursor rule
- .cursor/rules/README.mdCursor rule
- .cursor/rules/rust.jsonCursor rule
- .cursor/rules/terraform.jsonCursor rule
- analyzeSkill
- refactorSkill
- releaseSkill
- reviewSkill
- similaritySkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 0 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 8 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 22
Before the first run, isolate test processes from the user's home and credentials.
- Very specific: line 23
Use tempfile or mktemp -d for fixture directories.
- Very specific: line 29
Prefer local terraform_data fixtures with no remote backend or cloud access.
“Common” is measured: kept by at least 6 in 10 of the 8 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Verify tfmcp End to End
Select coverage for the requested behavior using the existing tests:
| Test target | Primary coverage |
e2e_mcp_test | RMCP lifecycle, discovery, tools/resources, raw protocol, and Streamable HTTP |
local_execution | Real stdio subprocess and local Terraform saved-plan operations |
mcp_integration | Supporting MCP schema and integration checks; inspect conditional shortcuts |
Inspect the selected test and setup before running it. Confirm the Terraform binary is available and compatible with the CI baseline. Some tests return early when Terraform is missing or use CI shortcuts; a successful exit alone does not prove the requested behavior ran.
Before the first run, isolate test processes from the user's home and credentials.
Use tempfile or mktemp -d for fixture directories; set subprocess home,
Terraform CLI configuration, audit paths, and state paths inside them. Remove
inherited HCP/TFE credentials, TF_TOKEN_*, and Terraform CLI argument overrides
from the test process. Inspect in-process fixtures too; a temporary project alone
does not isolate home-directory access. Keep the shell's own home unchanged.
Prefer local terraform_data fixtures with no remote backend or cloud access.
Enable apply/destroy gates only for the owned disposable fixture when that
behavior is under test. Real-account verification requires a separate explicit
request. Use real RMCP clients, Terraform, and files; do not introduce mocks.
Once isolation is established, run the relevant target and optional test filter:
rtk cargo test --locked --all-features --test e2e_mcp_test
rtk cargo test --locked --all-features --test local_executionAssert observable protocol responses, error mapping, redaction, saved-plan/state effects, and applicable operation gates. Use loopback and disposable ports for HTTP checks. Stop only processes started by the test and remove only its own fixtures; retain artifacts when requested.
Report exercised scenarios, skips, failures, and retained paths. Fix failures caused by an implementation in scope and rerun affected checks. Follow the repository's required checks for implementation work; a focused smoke test does not establish full-suite coverage.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

