# Tfdc Guide Module Dev

> Fetch the Terraform module development guide using tfdc. Use when you need guidance on building, structuring, publishing, or refactoring Terraform modules. Supports fetching specific sections like composition, structure, or providers. Use when this capability is needed.

- Skill: `tomevault-io/tfdc-guide-module-dev` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/tfdc-guide-module-dev`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/tfdc-guide-module-dev/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/tfdc-guide-module-dev

---


# tfdc guide module-dev

Fetch the Terraform module development guide from HashiCorp docs.

## Usage

```bash
tfdc guide module-dev [-section all] [-format text]
```

## Flags

| Flag | Required | Default | Description |
|---|---|---|---|
| `-section` | No | `all` | Section to fetch (see below) |
| `-format` | No | `text` | Output format: `text`, `json`, `markdown` |

## Sections

| Section | Description |
|---|---|
| `all` | Fetch all sections concatenated |
| `index` | Overview and introduction |
| `composition` | Module composition patterns |
| `structure` | Directory and file structure |
| `providers` | Provider configuration in modules |
| `publish` | Publishing modules to the registry |
| `refactoring` | Refactoring and versioning modules |

## Examples

```bash
# Fetch entire module development guide
tfdc guide module-dev

# Fetch only the structure section
tfdc guide module-dev -section structure

# Fetch composition guide as JSON
tfdc guide module-dev -section composition -format json
```

## JSON output

```json
{
  "id": "module-dev/structure",
  "content": "# Module Structure\n\n...",
  "content_type": "text/markdown"
}
```

When `-section all` is used, the `id` field is `"module-dev"`.

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/mkusaka) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-16 -->

