# Terraform Docs Inject

> Generate Terraform docs and inject them into terraform/README.md using terraform-docs markdown table output-mode inject. Use when the user asks to refresh, regenerate, or update Terraform documentation or README.

- **Type:** Skill
- **Install:** `agentstack add skill-craigspaterson-agent-skills-terraform-docs-inject`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [craigspaterson](https://agentstack.voostack.com/s/craigspaterson)
- **Installs:** 0
- **Category:** [Cloud & Infrastructure](https://agentstack.voostack.com/c/cloud-infrastructure)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [craigspaterson](https://github.com/craigspaterson)
- **Source:** https://github.com/craigspaterson/agent-skills/tree/main/skills/terraform-docs-inject

## Install

```sh
agentstack add skill-craigspaterson-agent-skills-terraform-docs-inject
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Terraform Docs Inject

## Quick start

From the repository root:

```bash
cd terraform
terraform-docs markdown table --output-file README.md --output-mode inject .
```

## Workflow

1. Confirm a `terraform/` directory exists in the repository root — stop and report if not.
2. Check that `terraform-docs` is installed (`terraform-docs --version`). If not installed, stop and ask the user to install it before proceeding.
3. Run the command above exactly as written — do not change any arguments.
4. Report whether `terraform/README.md` was updated or was already up to date.

## Notes

- Injects content between existing `terraform-docs` markers in `terraform/README.md` — does not replace the whole file.
- Always run from the repository root so the relative path resolves correctly.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [craigspaterson](https://github.com/craigspaterson)
- **Source:** [craigspaterson/agent-skills](https://github.com/craigspaterson/agent-skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-craigspaterson-agent-skills-terraform-docs-inject
- Seller: https://agentstack.voostack.com/s/craigspaterson
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
