agentleFS
nwiizonwiizo/tfmcp/AGENTS.md

tfmcp

AGENTS.md373 starsChanged 58 days agoMITView on GitHub

tfmcp is a Rust-based MCP server for Terraform operations using the RMCP SDK. The .agents/rules, .agents/skills, and .agents/docs directories are symlinks to the shared files under .claude/. Keep these links when updating the content. Apply the development guidelines to implementation work and the signal integrity rules to structural analysis and review.

The file

We split this AGENTS.md into the rules it gives an agent

3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    No mocks: Use real implementations only

    line 25
  2. Distinctive:

    No dead code: Remove unused code immediately

    line 26
  3. Very specific:

    No .unwrap(): Use proper error handling

    line 28

≈ “Common” is an estimate: at least 1 in 5 of the 43,423 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

AGENTS.md

tfmcp is a Rust-based MCP server for Terraform operations using the RMCP SDK.

Quick Reference

# Quality checks (run before commits)
rtk cargo fmt --all -- --check
rtk proxy env RUSTFLAGS=-Dwarnings cargo clippy --all-targets --all-features
rtk cargo test --locked --all-features

Project Structure

ModulePurpose
src/core/Main application logic
src/mcp/RMCP server, tool routing, protocol handling, and transports
src/terraform/Terraform CLI integration
src/registry/Terraform Registry API client

Key Rules

  • No mocks: Use real implementations only
  • No dead code: Remove unused code immediately
  • No warnings: RUSTFLAGS="-Dwarnings" in CI
  • No .unwrap(): Use proper error handling

Documentation

The .agents/rules, .agents/skills, and .agents/docs directories are symlinks to the shared files under .claude/. Keep these links when updating the content. Apply the development guidelines to implementation work and the signal integrity rules to structural analysis and review.

FileContents
rules/quality-commands.mdBuild, test, CI commands
rules/development-guidelines.mdCode style, security rules
rules/grading-integrity.mdComparable diagnostics and evidence-based interpretation
docs/architecture.mdModule structure, features
docs/configuration.mdEnvironment variables, Docker
docs/mcp-tools.mdTool and resource reference
docs/troubleshooting.mdKnown issues, debugging
skills/release/SKILL.mdRelease process

Development Skills

SkillUse
analyzeCoupling reports, health, hotspots, and comparisons
reviewModule boundaries and shared-knowledge review
refactorBehavior-preserving structural changes
similarityDuplicate-code assessment
e2e-testIsolated MCP and Terraform verification

Environment Variables

VariableDescription
TERRAFORM_DIRProject directory
TFMCP_ALLOW_DANGEROUS_OPSEnable apply/destroy
TFMCP_LOG_LEVELLogging verbosity

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.