Index of every page on this site: llms.txt
All skills
rknall avatar

/config-generator

@ca7fbd0
by Roland Knallrknall/claude-skills93 stars
13
Run it yourself

Generates service-specific configuration files for GitLab stack projects in ./config directory, using .env as the primary configuration source. Creates nginx, PostgreSQL, Redis, and custom service configs with strict validation for secrets, paths, and Docker best practices. Use when setting up service configurations, creating config templates, or ensuring configs follow stack patterns.

  • 4 files
  • 39.5 KB
  • Updated last year
  • GitHub
Use this Skill: https://skilld.dev/gh/rknall/claude-skills/config-generator

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

validation-rules.md

≈407 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Configuration Validation Rules

Comprehensive validation rules for config-generator skill.

Critical Validation Rules

1. No Secrets in Config Files (CRITICAL)

Rule: Configuration files MUST NEVER contain secrets

Patterns to detect:

  • PASSWORD, SECRET, KEY, TOKEN, API, AUTH, CREDENTIAL
  • Long random strings (40+ chars)
  • Base64-encoded values
  • Private keys, certificates with keys

Action: If detected → Use secrets-manager skill immediately


2. .env and .env.example Synchronization (CRITICAL)

Rule: Files MUST have identical variable names

Validation:

diff <(grep -E "^[A-Z_]+" .env | cut -d'=' -f1 | sort) \
     <(grep -E "^[A-Z_]+" .env.example | cut -d'=' -f1 | sort)

Action: If mismatch → Fix synchronization before completing


3. Path Existence

Rule: All referenced paths must exist

Check:

  • Volume mounts in docker-compose.yml
  • File references in configs
  • Directory references

4. Docker Validation

Rule: Always validate Docker configs

Action: Use docker-validation skill on docker-compose.yml


5. CLAUDE.md Requirements

Must contain:

  • Statement: "NEVER mention Claude in commit messages"
  • Stack architecture overview
  • Configuration patterns
  • Secrets management rules

Validation Checklist

  • No secrets in config files
  • .env and .env.example synced
  • All paths exist
  • Docker validation passed
  • CLAUDE.md exists with commit rule
  • .gitignore has secrets/* excluded
  • .dockerignore exists

Strict validation ensures stack security and consistency.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at ca7fbd0. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub last week.

Dormantupdated last year

README badge

README badge for rknall/claude-skills/config-generator