agentleFS
aradmanamnaoonaradmanamnaoon/vibe-coding-skills/skills/deployment/environment-config-auditor/SKILL.md

environment-config-auditor

Skill0 starsChanged 19 days agoMITView on GitHub

Derive required configuration keys from code and manifests, detect missing/unused/misspelled variables, and verify fail-fast behavior. Use for environment-variable or deployment configuration changes.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 9 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  • could be automatic: a setting could enforce it
  1. Distinctive:

    No runtime configuration is used in the changed scope.

    line 16
  2. Distinctive:

    Read applicable repository instructions before edits.

    line 20
  3. Distinctive:

    Use placeholders in example files.

    line 36
  4. Distinctive:

    Test missing required keys, valid minimal configuration, and malformed non-secret values.

    line 37
  5. Distinctive:

    Update documentation from the validated inventory.

    line 38
  6. Distinctive:

    Never print, commit, or validate secret values by sending them to an external service.

    line 50
  7. Distinctive:

    Every required key is documented by name/purpose and provided by deployment configuration where observable.

    line 54
  8. Distinctive:

    No secret value is committed in examples/reports.

    line 56
  9. Distinctive:

    If deployed secret/config stores are inaccessible, compare names from manifests/docs and mark values/existence externally unverified.

    line 67

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Purpose

Make configuration requirements explicit and testable without exposing secret values.

When to activate

Code reads environment/configuration or deployment manifests change.

When not to activate

No runtime configuration is used in the changed scope.

Preconditions

  • Read applicable repository instructions before edits.
  • Preserve unrelated working-tree changes and establish a baseline when the workflow can modify code.
  • Identify which tools and environments are actually available; do not claim unavailable checks ran.

Required inputs

  • Code/config sources
  • Example environment file
  • Deployment manifest/config schema

Workflow

  1. Discover configuration reads from code and framework config, then normalize them into a required/optional key inventory.
  2. Compare the inventory to example files, container/IaC manifests, CI variables by name, and documentation without printing secret values.
  3. Find misspellings, stale/unused keys, duplicated aliases, insecure defaults, and keys whose absence fails late.
  4. Centralize/validate configuration at startup when consistent with the architecture.
  5. Use placeholders in example files; never real secrets.
  6. Test missing required keys, valid minimal configuration, and malformed non-secret values.
  7. Update documentation from the validated inventory.

Relevant tools

Repository search, configuration schema, container/local startup; this library includes a key-discovery helper.

Deterministic helper

For a dependency-free inventory of common Python/JavaScript environment-variable reads, run python scripts/discover_env_keys.py <root>. Dynamic key construction still requires manual inspection.

Safety restrictions

Never print, commit, or validate secret values by sending them to an external service.

Validation

  • Every required key is documented by name/purpose and provided by deployment configuration where observable.
  • Missing critical keys fail clearly before partial startup.
  • No secret value is committed in examples/reports.

Expected output

  • Configuration key inventory
  • Missing/unused conflicts
  • Startup validation results
  • External secret-store items by name only

Failure handling

If deployed secret/config stores are inaccessible, compare names from manifests/docs and mark values/existence externally unverified.

Completion criteria

The skill is complete only when every applicable validation item above has observed evidence or is explicitly marked not executed with the concrete blocker. Do not replace missing evidence with confidence language.

Research mapping

This skill was selected from research problems: P041. See research/vibe-coding-problems.md and research/problem-evidence.csv in the Vibe Coding Skills repository.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.