googlecloudplatform/cloud-foundation-fabric · Archived

fabric-builder

Generates idiomatic Cloud Foundation Fabric (CFF) Terraform code using CFF modules. Use when users ask to create GCP resources, use Fabric modules, or generate Terraform code for Google Cloud.

First seen May 24, 2026

Installation

$ npx skills add googlecloudplatform/cloud-foundation-fabric --skill fabric-builder

Stronger alternatives

This repository is archived — consider an actively maintained alternative.

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from googlecloudplatform/cloud-foundation-fabric.

npx skills add googlecloudplatform/cloud-foundation-fabric

Browse all from googlecloudplatform/cloud-foundation-fabric

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 2.1K
License LICENSE
Default branch master
Open issues 7
Status Archived

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,789 B
  • docs SUMMARY.md 214 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 95 installs

SKILL.md

Fabric Builder

This skill generates idiomatic Terraform code using Cloud Foundation Fabric (CFF) modules, following established best practices and conventions.

Core Workflow

  1. Understand Request: Identify the GCP resources and relationships requested by the user.
  2. Fetch Module Info: Identify the relevant CFF module(s) from the modules/ folder on GitHub (GoogleCloudPlatform/cloud-foundation-fabric).
  3. Generate Terraform: Output an idiomatic Terraform root module that consumes the CFF modules according to [conventions.md](references/conventions.md).

Important Guidance

  • Conventions & Best Practices: Consult [conventions.md](references/conventions.md) for guidelines on how to consume Fabric modules and write high-quality, idiomatic Terraform code (including module sources, version constraints, and provider configuration).
  • Fetching Modules: Do not invent module inputs or outputs. Use the fabric.py script to pull exact details (README, variables, examples) for a specific module from GitHub before using it.

- To list available modules: python3 scripts/fabric.py modules - To fetch details for a module (README): python3 scripts/fabric.py fetch readme <modulename> - To fetch variables files: python3 scripts/fabric.py fetch variables <modulename> - To fetch outputs files: python3 scripts/fabric.py fetch outputs <modulename> - To fetch schema files (useful for factories): python3 scripts/fabric.py fetch schemas <modulename> - To fetch the latest release version: python3 scripts/fabric.py release - SSL Certification Verification: If you run into SSL certificate issues on your host machine, use the --no-ssl-verify flag (e.g., python3 scripts/fabric.py --no-ssl-verify fetch readme <module_name>).

Guidelines for Output

  • Root Module Output: Your output must be a complete Terraform root module that calls the appropriate CFF modules to fulfill the user's requirements.
  • Follow Conventions: Strictly adhere to [conventions.md](references/conventions.md) for module sources, version constraints, provider configuration, and coding style.
  • Use Fabric Modules: Rely on CFF modules instead of raw google_ resources whenever possible.
  • Example-based Learning: Always refer to the module's README (fetched via scripts/fabric.py) for correct usage examples.
  • Formatting & Validation: Ensure the generated code is properly formatted. If possible, run terraform fmt, terraform validate, and terraform plan to check your work.