Skip to main content
skill CX Codex

GitLab Stack Creator — Claude Code skill: how to install

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.

no license 294 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-creator -a claude-code
Open on GitHub

What GitLab Stack Creator does

This skill sets up a new Docker stack project following the GitLab stack layout. It begins by asking for the project name, the services you need, an optional remote repository URL and the environment. It never guesses. If the directory or repo already exists, it asks before touching anything.

The scaffold has config, secrets (mode 700), _temporary, scripts and docs/decisions, plus docker-compose.yml, .env.example, .gitignore, .dockerignore, CLAUDE.md and README.md. Git gets main as the branch name, fast-forward-only merges and pull.rebase false. The scripts folder holds pre-commit, validate-stack.sh and setup-hooks.sh.

validate-stack.sh calls three other skills: stack-validator, secrets-manager and docker-validation. Without them the check has nothing to run. The stack counts as done only when all three report no issues. When the direct route fails, the skill stops and asks you instead of improvising.

What it helps with

  • lay out a new Docker stack with config, secrets, _temporary and docs
  • set git to branch main with fast-forward-only merges
  • generate a .gitignore that keeps secrets/* and .env out of commits
  • add a pre-commit hook and scripts/validate-stack.sh
  • start docs/setup.md and docs/services.md for a fresh stack

Example prompts for the agent

  • Create a new GitLab stack project with nginx and PostgreSQL for staging
  • Initialize a Docker stack with config, secrets and _temporary folders and set up git on main
  • Install the pre-commit hook for the new stack and run scripts/validate-stack.sh

How to install GitLab Stack Creator

1Skills CLI (Vercel)

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

2Manually: put the files in place

~/.claude/skills/stack-creator/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/stack-creator/

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

Questions about GitLab Stack Creator

How do I install GitLab Stack Creator in Claude Code?

Run npx skills add rknall/claude-skills --skill gitlab-stack-creator -a claude-code.

What does GitLab Stack Creator do?

It builds the skeleton of a new Docker stack: directories, docker-compose.yml, git configuration, .gitignore, validation scripts and documentation in docs.

When is a stack created by this skill finished?

When stack-validator, secrets-manager and docker-validation report no issues, the validation scripts run cleanly, git is configured and the docs are in docs.

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 Config Generator 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. 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

Project sponsors

Companies that keep this analytics open