Skip to content
Skill

Safe change

Guides an agent through low-risk, minimal-diff implementation in unfamiliar or high-stakes

Safe change is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
19
Last commit
License
MIT
Listing updated

Similar skills

About Safe change

This skill sets a disciplined implementation routine for changes an agent makes in code it did not write, such as legacy systems or areas involving money, personal data, authentication or published contracts. It starts by recording a green test baseline and branching off, then reads neighbouring files to pick up the local naming, error handling, logging and test conventions before writing anything.

The workflow asks the agent to plan the diff file by file, keep it as small as possible, and avoid new dependencies without a decision record. Refactoring and behavior changes are split into separate commits, formatting of touched files is left alone, and a feature flag is considered when blast radius or rollout risk is high. Before merging, the rollback path is drafted, including any one-way steps such as destructive migrations.

The skill expects a prior feasibility write-up and blast-radius notes where they exist, plus an existing test suite and a repository with git. It produces the change itself and a change-log entry, and it has no bundled scripts; build and test commands come from the project's own environment notes.

When your agent uses it

Implement an already-specified change in an unfamiliar or high-stakes codebase with the smallest viable diff - establish a green baseline first, match the surrounding idiom rather than importing your own, separate refactor commits from behavior commits, gate behind a flag where blast radius warrants it, and draft the rollback before executing the change. Use when implementing a change that feasibility-probe already grounded, in legacy code, in anything touching money, data, auth, or a published contract, or when a change must be reviewed by a team that does not know you yet. Do not use to decide what to build, to pin untested legacy behavior (characterization-tests), or for a large extraction (refactor-seams).

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (12 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the fde-core plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add rpraharaj/forward-deployed-engineer
/plugin install fde-core@fde-skills

Or copy only this skill to ~/.claude/skills/safe-change:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/rpraharaj/forward-deployed-engineer.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/safe-change &&
cp -R "$tmp/fde-core/skills/safe-change" ~/.claude/skills/safe-change &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/safe-change inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/safe-change to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/rpraharaj/forward-deployed-engineer.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/safe-change &&
cp -R "$tmp/fde-core/skills/safe-change" ~/.agents/skills/safe-change &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/safe-change inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/safe-change to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/rpraharaj/forward-deployed-engineer.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/safe-change &&
cp -R "$tmp/fde-core/skills/safe-change" ~/.cursor/skills/safe-change &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/safe-change inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/rpraharaj/forward-deployed-engineer.git --path fde-core/skills/safe-change

Or copy the folder to ~/.gemini/skills/safe-change yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/safe-change:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/rpraharaj/forward-deployed-engineer.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/safe-change &&
cp -R "$tmp/fde-core/skills/safe-change" ~/.copilot/skills/safe-change &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/safe-change inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/rpraharaj/forward-deployed-engineer.git

Then copy forward-deployed-engineer/fde-core/skills/safe-change into your agent's skills folder as safe-change. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Green baseline first
Records the repository state and pre-existing test failures before any edits are made.
Idiom matching
Follows the naming, error handling, logging and test style already used in nearby code.
Minimal diff planning
Lists the smallest set of file changes needed to meet the acceptance criteria.
Refactor and behavior separation
Splits structural changes from functional ones into distinct commits or pull requests.
Rollback drafting
Writes down how to undo the change, flagging irreversible steps before merging.
Feature flag guidance
Decides when a flag is warranted and requires a named owner and removal date.

Good for

  • Implement a validated change in a legacy billing service with a minimal diff
  • Add a new field to an authentication flow without touching unrelated code
  • Prepare a pull request that a team unfamiliar with my work can review safely
  • Plan a rollback before shipping a database migration
  • Check acceptance criteria one by one before opening a PR

Safe change FAQ

When does Safe change trigger?

It is meant for implementing a change that has already been scoped, in legacy code, in areas touching money, data, auth or a published contract, or when a team unfamiliar with the author will review the work. It should not be used to decide what to build, to add tests for untested legacy behavior, or for large extractions.

What does Safe change need before starting?

It expects a feasibility write-up that locates the change, blast-radius notes for larger changes, and a test command and build command recorded in the environment notes. If the change site has no test coverage, the skill recommends running a characterization-tests workflow first.

Does Safe change install anything or run scripts?

The skill bundles no scripts. It instructs the agent to run the repository's own build and test commands and git commands, and it discourages adding new dependencies without a decision record.

What does Safe change change in the repository?

It makes the code change on a new branch and appends an entry to a change log file in the workspace. Commits are separated by refactor versus behavior where needed.

How do I install Safe change in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/safe-change to use it in all your projects, or to .claude/skills/safe-change in one project. Or install the fde-core plugin, which includes it: /plugin marketplace add rpraharaj/forward-deployed-engineer, then /plugin install fde-core@fde-skills.

Does Safe change run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Safe change?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Safe change?

The closest alternatives to Safe change are Develop, Refactor seams, Blast radius, Intent drift and Characterization tests.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from rpraharaj/forward-deployed-engineer

  1. Defines and tests the boundaries on what an AI agent's tool calls can do

    • Open source
    • 19 GitHub stars
    • Security
  2. Gives agents a procedure to test AI workflows against cases, thresholds and regression

    • Open source
    • 19 GitHub stars
    • Developer tools
  3. Turns access requests into a tracked, parallel critical path with workarounds

    • Open source
    • 19 GitHub stars
    • Productivity
  4. Plans how end users move to a new workflow, with barriers, pilot, support and measures

    • Open source
    • 19 GitHub stars
    • Productivity
  5. Maps what a proposed code change could break before you make it

    • Open source
    • 19 GitHub stars
    • Developer tools
  6. Maps an organization's change approval process so releases can be planned backwards from

    • Open source
    • 19 GitHub stars
    • Productivity