Skip to main content
skill CX Codex

GitLab Stack Config Generator — Claude Code skill: install guide

GitLab Stack Config Generator writes per-service configs for a GitLab stack into ./config, reads values from .env, and checks that secrets stay out of config files.

no license 303 installs ★ 93 updated 2025-10-20

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add rknall/claude-skills --skill gitlab-stack-config-generator -a claude-code
Open on GitHub

What GitLab Stack Config Generator does

It builds per-service configs for a GitLab stack project. Each service gets a folder under ./config — nginx, PostgreSQL, Redis or your own — and the files sit flat inside it. Every value comes from .env; the config files carry no settings of their own.

The skill also lays down project meta files: CLAUDE.md, a .gitignore that keeps ./secrets and _temporary out of git, and .dockerignore. It checks that paths named in configs exist and that .env matches .env.example. Docker settings go through the docker-validation skill, secret files through secrets-manager.

A password never lands in nginx.conf: secrets stay in ./secrets and reach the container as Docker secrets, so a config only points at them. A project without the ./config and ./secrets layout has to be reshaped first.

What it helps with

  • scaffold nginx, PostgreSQL and Redis configs under ./config
  • keep stack variables in .env and mirror them in .env.example
  • move passwords out of config files into Docker secrets
  • add CLAUDE.md, .gitignore and .dockerignore to a new repo
  • verify that paths inside configs point at real files

Example prompts for the agent

  • Generate nginx and PostgreSQL configs in ./config and pull values from .env.
  • Check the configs for secrets and sync .env with .env.example.
  • Add CLAUDE.md, .gitignore and .dockerignore to this project.

How to install GitLab Stack Config Generator

1Skills CLI (Vercel)

npx skills add rknall/claude-skills --skill gitlab-stack-config-generator -a claude-code

2Manually: put the files in place

~/.claude/skills/config-generator/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/config-generator/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about GitLab Stack Config Generator

How to install GitLab Stack Config Generator in Claude Code?

Run npx skills add rknall/claude-skills --skill gitlab-stack-config-generator -a claude-code. That adds the skill to Claude Code.

What does GitLab Stack Config Generator do?

It writes service configs for a GitLab stack into ./config, sources values from .env, and keeps secrets out of the files.

Where do secrets go?

Into ./secrets, mounted as Docker secrets, so configs only reference them. The secrets-manager skill handles the secret files.

Similar skills

All skills for DevOps and infrastructure →

From the same set9

SVG Logo Designer SVG Logo Designer generates SVG logos from a brand description: several concepts, layouts and colour versions. Handy when a project needs a logo or an icon right now. CX Codex +1 9,200installs Python Backend Architecture Review Python Backend Architecture Review — a skill that reviews Python backend architecture: patterns, database, API, security, scalability. Useful when the design doc exists and you want the weak spots found before release. CX Codex +1 528installs Web Design Builder Web Design Builder turns a spec or a plain description into HTML5/CSS/JS, then checks accessibility and behaviour through Playwright MCP. CX Codex +1 432installs Docker Configuration Validator Docker Configuration Validator validates Dockerfiles and Docker Compose files for security, syntax and modern requirements. Useful before shipping to production. CX Codex +1 352installs Newt Blueprint Generator Newt Blueprint Generator is a skill for creating and validating Pangolin Newt configurations in YAML or Docker Labels. It covers proxy and client resources, access rules, and Docker Compose setups. CX Codex +1 303installs GitLab Stack Validator GitLab Stack Validator audits a GitLab stack project before deployment: directory layout, secrets, .env sync and Docker config. Reports problems; fixing them is on you. CX Codex +1 297installs GitLab Stack Secrets Manager GitLab Stack Secrets Manager keeps GitLab stack passwords and keys in ./secrets via Docker secrets, then checks permissions and hunts leaks in .env, compose files and git history. CX Codex +1 295installs GitLab Stack Creator GitLab Stack Creator scaffolds a new Docker stack project: folders, git settings, validation hooks and docs. Use it when you start a stack in the GitLab stack layout. CX Codex +1 294installs

More in the catalog

Project sponsors

Companies that keep this analytics open