agentleFS
martincjarvismartincjarvis/development-skills/skills/environment-traceability/SKILL.md

environment-traceability

Skill4 starsChanged 10 months agoMITView on GitHub

Use this skill whenever deploying or auditing environments to ensure each environment can be mapped to explicit component versions and tags, preserving immutable provenance.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    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:

    Ensure environments have an explicit, reviewable record of what component versions/tags are deployed, enabling auditability and reliable …

    line 10
  2. Distinctive:

    Before and after deployments to any environment

    line 17
  3. Distinctive:

    Implementation: Ensure deployment tools and records correctly capture and link component versions and tags.

    line 44
  4. Distinctive:

    No environment promotion without traceability evidence unless escalated

    line 85

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

Environment Deployment Traceability Review

Intent

Ensure environments have an explicit, reviewable record of what component versions/tags are deployed, enabling auditability and reliable rollbacks.


When to Use

  • Before and after deployments to any environment
  • During incident response or rollback planning
  • During compliance or audit reviews

Precondition Failure Signal

  • Environment state cannot be expressed as component versions/tags
  • Deployments are not tied to immutable release identifiers
  • Rollbacks require guesswork or manual archaeology
  • Multiple versions appear deployed without clear explanation

Postcondition Success Signal

  • Environment state lists each deployed component version and tag
  • Deployments are traceable to immutable release inputs
  • Rollback candidates are identifiable and verifiable
  • Traceability records are reproducible from source-of-truth artifacts

Process

  1. Source Review: Inspect the current environment state, deployment records, and source control tags.
  2. Implementation: Ensure deployment tools and records correctly capture and link component versions and tags.
  3. Verification: Perform an audit of an environment to prove it can be mapped back to specific source versions and tags.
  4. Documentation: Maintain a registry or record of environment versions; use an ADR if the traceability mechanism is changed.
  5. Review: Release Manager/SRE and Platform Engineer review the traceability mechanisms and records.

Example Test / Validation

  • For an environment, produce a component→version→tag mapping and verify it matches reality (conceptually)
  • Select a deployed version and verify the tag identifies the source state
  • Demonstrate rollback selection using recorded versions/tags

Common Red Flags / Guardrail Violations

  • “We’ll track it in a spreadsheet”
  • Deploying without tagging because “it’s only dev”
  • Allowing mutable references (“latest”, “main”) in deployments
  • Inconsistent component naming/versioning across environments

Recommended Review Personas

  • Platform/DevOps Engineer – validates traceability mechanisms and records
  • Tech Lead – validates alignment to release discipline and scope
  • Security/Compliance Reviewer – validates provenance and audit needs

Skill Priority

P0 – Safety & Integrity


Conflict Resolution Rules

  • Overrides all lower-priority skills
  • No environment promotion without traceability evidence unless escalated
  • Traceability cannot be traded for speed

Conceptual Dependencies

  • release-tagging-plan
  • incremental-deployment

Classification

Core
Governance


Notes

Traceability is a system property. If it’s optional, it won’t exist when needed.

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.