# Safe change

> Safe change is an open-source agent skill for developer tools. Guides an agent through low-risk, minimal-diff implementation in unfamiliar or high-stakes. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/rpraharaj/forward-deployed-engineer/tree/main/fde-core/skills/safe-change
- **Repository:** https://github.com/rpraharaj/forward-deployed-engineer
- **GitHub stars:** 19
- **License:** MIT
- **Skill name:** safe-change
- **Collection:** https://github.com/rpraharaj/forward-deployed-engineer
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

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).

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/rpraharaj/forward-deployed-engineer/tree/HEAD/fde-core/skills/safe-change)
- [License: MIT](https://github.com/rpraharaj/forward-deployed-engineer/tree/HEAD/fde-core/skills/safe-change)

## Features

- **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

## Install

### Claude Code

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

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Develop](https://ai-powered.com/skills/develop): Develop is an open-source agent skill for developer tools.
- [Refactor seams](https://ai-powered.com/skills/refactor-seams): Refactor seams is an open-source agent skill for developer tools.
- [Blast radius](https://ai-powered.com/skills/blast-radius-michael-denyer): Blast radius is an open-source agent skill for developer tools.
- [Intent drift](https://ai-powered.com/skills/intent-drift): Intent drift is an open-source agent skill for developer tools.
- [Characterization tests](https://ai-powered.com/skills/characterization-tests): Characterization tests is an open-source agent skill for developer tools.
- [Change impact](https://ai-powered.com/skills/change-impact): Change impact is an open-source agent skill for developer tools.
- [Tiny stepping](https://ai-powered.com/skills/tiny-stepping): Tiny stepping is an open-source agent skill for developer tools.
- [Git](https://ai-powered.com/skills/git-jasgujral): Git is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/safe-change
