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

environment-parity-auditor

Skill0 starsChanged 19 days agoMITView on GitHub

Compare local, CI, container, and production assumptions for runtime versions, dependencies, services, paths, and build/start commands. Use when software works locally but fails elsewhere.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    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
  1. Distinctive:

    Read applicable repository instructions before edits.

    line 20
  2. Distinctive:

    Run the build/start in the cleanest available environment, preferably a container or fresh environment matching declared config.

    line 36
  3. Distinctive:

    Remove or document hidden host assumptions and pin reproducible versions where appropriate.

    line 37
  4. Distinctive:

    Run a smoke check from the built artifact rather than development server only.

    line 38
  5. Distinctive:

    Do not copy production secrets into a local parity environment.

    line 47
  6. Distinctive:

    If target-platform execution is unavailable, use CI/config evidence and mark runtime parity unverified for that platform.

    line 64

≈ “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

Expose implicit machine state before it becomes a deployment-only failure.

When to activate

A build/runtime differs across local, CI, container, or target deployment environments.

When not to activate

A self-contained script has no deployment/runtime environment variance.

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

  • Runtime/version files
  • Lockfiles/manifests
  • CI/container/deployment config
  • Local observed environment

Workflow

  1. Build a parity table for runtime versions, package manager, dependency lock mode, OS/shell, required services, filesystem/path assumptions, build command, start command, and environment variables.
  2. Compare declared versions to actual local/CI/container configuration and find unconstrained defaults.
  3. Identify dependencies on globally installed tools, writable current directory, case-insensitive paths, local ports, or undeclared services.
  4. Run the build/start in the cleanest available environment, preferably a container or fresh environment matching declared config.
  5. Remove or document hidden host assumptions and pin reproducible versions where appropriate.
  6. Run a smoke check from the built artifact rather than development server only.
  7. Separate verified parity from production settings that remain inaccessible.

Relevant tools

Version managers, containers, CI configuration, build/start commands.

Safety restrictions

Do not copy production secrets into a local parity environment.

Validation

  • Declared runtime/build requirements match the clean environment used for verification.
  • The production-style artifact starts and passes its smoke check where feasible.
  • Unverified platform assumptions are explicit.

Expected output

  • Environment parity table
  • Hidden assumptions
  • Clean-build/run evidence
  • External production checks pending

Failure handling

If target-platform execution is unavailable, use CI/config evidence and mark runtime parity unverified for that platform.

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: P040, P054. 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.