Skip to content
Agentmart
Submit a tool

generate-infra-code

Generate Kubernetes manifests, Terraform modules, Helm charts and the quality-gate CI workflow into generated/.

Skill by wfukatsu

IndexedMIT★ 13
Write a review

Chalk Labs

Need help deploying generate-infra-code?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/wfukatsu-generate-infra-code

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Generate Kubernetes manifests, Terraform modules, Helm charts and the quality-gate CI workflow into generated/. For merge-bound code in a real infrastructure repository, use /infra:implement.

Use cases: devops, productivity

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/generate-infra-code

What's inside

Skill name
generate-infra-code
Description
Generate Kubernetes manifests, Terraform modules, Helm charts and the quality-gate CI workflow into generated/. For merge-bound code in a real infrastructure repository, use /infra:implement.
License
MIT
Instructions
91 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • name: missing

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Infrastructure Code Generation

Shared files: a path written `@rules/…`, `@skills/…`, `@templates/…` or `@docs/…` is relative to the
plugin root, `${CLAUDE_PLUGIN_ROOT}` — not to the project being worked on. Read it from there.

## Desired Outcome

Generate IaC code based on the infrastructure design:
- Kubernetes manifests (Kustomize base + overlays)
- Terraform modules (multi-cloud support)
- Helm values (for ScalarDB Cluster)
- NetworkPolicy and PodDisruptionBudget
- Multi-environment configuration (dev/staging/prod)
- **The CI workflow that runs the quality gate** (see below)

## Quality Gate CI

The in-session gate that `implement-backlog` runs (@rules/ai-code-quality-gate.md) is fast feedback.
**The CI run is the one that is actually enforced** — it holds for hand-written changes, for changes
made months later, and for the times nobody thought to run it. A gate that exists only as a checklist
a model is asked to follow is the weakness this pipeline is closing, so emit the CI half whenever the
project has CI.

Generate a workflow for the project's platform (GitHub Actions / GitLab CI — detect it from the repo,
never assume), running the eight stages as jobs:

| Job | Runs |
|-----|------|
| build | The project's real build target |
| unit | The unit test task with coverage verification (`jacocoTestCoverageVerification`), and the mutation run (`pitest`) scoped to `domain/` — thresholds per @rules/ai-code-quality-gate.md §Test quality, read from the build files, never re-typed in the workflow |
| contract | The named contract-test task `generate-contract-tests` wired into the build |
| integration | The integration test task, including the transaction scenarios (OCC conflict, cross-service transaction failure, saga compensation) |
| sast | Semgrep, or the project's configured scanner |
| dependency-scan | OSV-Scanner / Dependency-Check / `npm audit`, plus Gitleaks over the change |
| image-scan | Trivy, when the pipeline builds an image |

Rules the generated workflow must satisfy:

- **A stage that cannot run fails loudly.** Never emit `continue-on-error` or `|| true` on a gate job —
  a green pipeline that skipped its scanners is worse than a red one, because it is read as evidence.
- **Never invent a command.** Every task named in the workflow is verified to exist in the project's
  build files first; a missing target is reported as a gap, not papered over with a command that
  happens to work.
- **Pin the actions and tool versions** per @rules/dependency-versions.md — a floating action tag is
  an unpinned dependency in the security path.
- **Publish the evidence.** Each job uploads its report so the gate result is inspectable after the
  fact, which is what makes stage evidence meaningful rather than ceremonial.

Stages 7–8 (API security, design↕code conformance) are model-driven and are **not** emitted as CI
jobs; the workflow records that they are covered in-session by
`/architect:verify-implementation --gate`, so their absence from CI is visible rather than silent.

## Dependency Versions

IaC is almost entirely version pins — Kubernetes `apiVersion` and cluster version, Terraform
`required_version` and provider constraints, Helm chart versions, container image tags. Follow
@rules/dependency-versions.md: resolve each from its registry (Terraform registry, chart repo, image
registry, `endoflife.date` for the supported Kubernetes window), pin **stable, non-EOL, mutually
compatible** versions, never leave a moving `:latest`/`stable` image tag in a manifest, and honour
what the target environment already runs over what is newest. Confirm the version decision table per
`--confirm-versions` / `--no-confirm-versions` / `options.confirm_versions`, and record it with the
generated IaC plus `work/version-decisions.json`.

## Prerequisites

| File | Required/Recommended | Source |
|------|---------------------|--------|
| reports/08_infrastructure/ | Required | /architect:design-infrastructure |
| reports/03_design/target-architecture.md | Recommended | /architect:design-microservices |

## Output

Output language and frontmatter: @rules/output-conventions.md.

| File | Content |
|------|---------|
| `generated/infrastructure/k8s/` | Kubernetes manifests |
| `generated/infrastructure/terraform/` | Terraform modules |
| `generated/infrastructure/helm/` | Helm values |
| `generated/infrastructure/ci/` | The quality-gate workflow for the detected CI platform |

## Related Skills

| Skill | Relationship |
|-------|-------------|
| /architect:design-infrastructure | Input source |
| /architect:generate-contract-tests | Input source — the named contract-test task the CI workflow invokes |
| /architect:verify-implementation | Related — runs the same gate in-session; the CI workflow is its enforced half |
| /architect:generate-docs | Downstream — run after generation to write the README and the `operations` docs for the emitted IaC |

From wfukatsu/nexus-architect, MIT.

More from wfukatsu/nexus-architect

Compare and alternatives

    Featured in

    Signals

    Stars
    13
    Forks
    1
    Open issues
    0
    Last commit (this folder)
    Oct 8, 2026 (23 days ago)
    Last release
    Oct 9, 2026 (22 days ago)

    From GitHub (fetched Oct 24, 2026).

    Details

    License
    MIT
    First seen
    Oct 24, 2026
    Last checked
    Oct 24, 2026

    More from wfukatsu

    Done for you

    Rather not set it up yourself?

    Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

    See how we build AI agents →Read the case studies

    Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

    launches shipped
    50+
    launches shipped
    media placements
    500+
    media placements
    founders on every account
    2
    founders on every account

    Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

    Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

    Get generate-infra-code running in your business

    Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

    Goes to the Chalk Labs founders, not the newsletter. Privacy

    Need help deploying generate-infra-code?

    CallGet help
    Cite this page

    generate-infra-code skill. Agent Mart. https://agentmart.dev/skills/wfukatsu-generate-infra-code (last updated 2026-10-24)