agentleFS
kirubaharan181kirubaharan181/sdlc-agentic-skills/skills/cross-cutting/secure-change-control/SKILL.md

secure-change-control

Skill1 starsChanged 18 days agoMITView on GitHub

Use when a risky change is proposed: classifies risk, sets approvals, rollback, audit trail. Do NOT use for security code reviews.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    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:

    No external API keys, paid services or network access are required.

    line 29
  2. Distinctive:

    Verify actual state after change and record residual risk.

    line 52
  3. Distinctive:

    Does not replace application security testing.

    line 105

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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

Secure change control

Purpose

Ensures every change to important systems is classified by risk, authorized by the right named human, reversible and recorded. It covers normal, standard and emergency changes, security-sensitive changes such as IAM, secrets and security-control changes, and the audit trail that proves what changed and who approved it.

When to Use

  • A change to production, infrastructure, access or security controls is proposed.
  • An emergency change is needed outside the normal window.
  • A change record or audit trail must be checked or produced.

When NOT to Use

  • Finding vulnerabilities in code: use application-security.
  • Planning the release itself: use release-deployment.
  • Governing change policy across teams: use enterprise-governance.

Prerequisites and Requirements

  • A change request describing what, why, systems and time.
  • The list of approvers and the risk classes in docs/governance/APPROVAL_POLICY.md.
  • A rollback or remediation plan.
  • No external API keys, paid services or network access are required; work uses files and tools already approved in the repository.

Inputs and Outputs

Required inputs:

  • change description and systems
  • rollback plan
  • requested window

Optional inputs:

  • test evidence
  • dependency list
  • incident reference for emergency changes

Outputs and deliverables:

  • risk classification with reasons
  • approval record naming a human approver
  • rollback and verification plan
  • audit trail entry and post-change review

Procedure

  1. Classify change by data, production, identity, security and reversibility impact.
  2. Apply least privilege, segregation of duties and named human approval.
  3. Review preconditions, maintenance window, communication, rollback/forward-fix and stop signals.
  4. Verify actual state after change and record residual risk.

Shared rules (evidence, approvals, failure, handoff): references/CORE_PROCEDURE.md.

Decision Rules

SituationAction
Change touches IAM, secrets, security controls or data deletionClassify as high risk; require named human approval.
Change matches a pre-approved standardFollow the standard procedure and still record it.
Emergency changeAllow after verbal or recorded approval from the on-call authority, then require review within the set time.
No tested rollbackDo not approve.
Request tries to disable a security controlRequire security owner approval and an expiry.
Approver would approve own changeReject; require an independent approver.

Quality Gates

  • Risk class and reason recorded
  • Named human approved per class
  • Rollback tested or justified
  • Audit trail entry links change, approver and outcome

Examples

Illustrative only: these show expected behavior and were not executed against a real project.

Example 1: Classify a change

Request: Rotate the payment provider API key in production.
Context: Key is used by two services.
Agent behavior: Classify high risk (secret rotation), require named approval, plan a dual-key overlap and rollback.
Output: Change record with class, approver, overlap plan and verification.
Acceptance: Approver is a named person; rollback is described.

Example 2: Handle an emergency change

Request: Block an address range now; attack in progress.
Context: On-call security owner reachable.
Agent behavior: Record approval from the on-call owner, apply the minimal change, and schedule the review.
Output: Emergency record with time, approver, change and a review date.
Acceptance: Review within the set time is scheduled.

Example 3: Check an audit trail

Request: Prove who approved last week's schema change.
Context: Deployment log and change ticket exist.
Agent behavior: Match the deployment to the change record, approver and time.
Output: Trace linking change id, approver, build and time.
Acceptance: Every link in the chain is evidenced.

Limitations

  • Cannot approve changes: it prepares the decision for a named human.
  • Cannot verify that a change was applied as described without access to logs.
  • Does not replace application security testing.

Troubleshooting

ErrorCauseResolution
Approver unreachableWindow at riskDo not proceed; use the documented delegate.
Change made without recordAudit gapOpen an incident record, document retrospectively and fix the control.
Class disputedCriteria unclearApply the higher class and ask governance to clarify.

Tools

  • change management system
  • branch/environment protection
  • IAM audit
  • rollback and recovery evidence

Stages covered

None. This is a cross-cutting skill applied alongside stage skills.

Handoffs

Hands to:

  • release-deployment: approved change with window and rollback
  • enterprise-governance: change records and exceptions for audit

Receives from:

  • incident-command: emergency change requests
  • master-orchestration: change requests needing classification

Contract: references/HANDOFF_CONTRACT.md.

Related

  • Selection and handoff guidance: the skill selection guide in the repository documentation.

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.