Agent skill

Safe Edit Simulator

by pilinux in pilinux/gorest

Produce a dry-run diff plus a risk checklist and rollback plan for any potentially disruptive change.

MITAuto-check passedDatabases

Install Safe Edit Simulator

skills CLI
$ npx skills add pilinux/gorest --skill safe-edit-simulator -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install pilinux/gorest safe-edit-simulator --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/pilinux/gorest.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/safe-edit-simulator .claude/skills/safe-edit-simulator && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
safe-edit-simulator
GitHub stars
506
Token cost
~233 tokens
SKILL.md length
87 words
Files
1
Skills in repo
20
Repo updated
First seen
Licence
MIT

At a glance

Produce a dry-run diff plus a risk checklist and rollback plan for any potentially disruptive change.

  • Databases work in your project
  • SKILL.md covers When to Use, Responsibilities, Rules and Output, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Safe Edit Simulator is an agent skill from pilinux/gorest. Produce a dry-run diff plus a risk checklist and rollback plan for any potentially disruptive change.

Its SKILL.md is about 230 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Databases. The repository describes itself as: Go RESTful API starter kit with Gin, JWT, GORM (MySQL, PostgreSQL, SQLite), Redis, Mongo, 2FA, email verification, password recovery. The licence is MIT.

When your agent uses it

  • Databases work in your project

Example prompts

  • “/safe-edit-simulator”

What it can do on your machine

Read from SKILL.md and the folder at commit 38aab64. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Safe Edit Simulator loads about 233 tokens when it runs. Until then it costs about 30 tokens; SKILL.md has 87 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~30
When it runs · the whole SKILL.md, loaded when a task matches
~233

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from pilinux/gorest at commit 38aab64, republished under its MIT licence (© pilinux). 87 words, ~233 tokens.

Download SKILL.mdSave it as .claude/skills/safe-edit-simulator/SKILL.md (or your agent's skills folder).
name
safe-edit-simulator
description
Produce a dry-run diff plus a risk checklist and rollback plan for any potentially disruptive change.
license
MIT
metadata.mode
planning
metadata.purpose
safety

Safe Edit Simulator

When to Use

  • Before applying changes that affect auth, security, DB migrations, middleware, or deployment behavior.

Responsibilities

  • Produce a readable dry-run diff and summarize changed hunks.
  • Enumerate risks and mitigation steps.
  • Provide a concise rollback plan and verification commands.

Rules

  • Do not apply changes; only simulate and document.
  • Call out impacts on authentication, token validation, env/config, and data integrity.

Output

  • Dry-run diff: summary of files and hunks.
  • Risk checklist: 3-8 items with severity.
  • Rollback: single-line plan.
  • Verify: 1-3 commands.
  • fix-suggester, patch-applier, qa-orchestrator

© pilinux, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/safe-edit-simulator of pilinux/gorest.

Open the folder on GitHubat commit 38aab64

Compare with similar skills

Safe Edit Simulator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Safe Edit Simulator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Safe Edit Simulator this skillpilinux/gorest506—~233Automated safety check: PassMIT
Mail Timeveliovgroup/mail-time143—~1kAutomated safety check: PassBSD-3-Clause
Tgf Server Devthkhxm/tgf128—~1.3kAutomated safety check: NotesMIT
Azure Storagemicrosoft/GitHub-Copilot-for-Azure2552 repos~1.3kAutomated safety check: PassMIT
Commandkit Cacheneplexlabs/commandkit165—~506Automated safety check: PassMIT
Hackernews IntelVarnan-Tech/opendirectory6741 repos~1.4kAutomated safety check: NotesMIT

Similar skills

  • Mail Time

    veliovgroup/mail-time

    A skill your agent uses when building, wiring, reviewing, or debugging MailTime and ostrio:mailer email queues for horizontally scaled Node.js, Bun, or Meteor apps.

    143 GitHub stars~1k tokensUpdated yesterday
    DatabasesAuto-check passed
  • Tgf Server Dev

    thkhxm/tgf

    基于 tgf v2(github.com/thkhxm/tgf/v2)用确定性的 tgfctl 工作流创建、验证和维护 Go 游戏服务器项目。

    128 GitHub stars~1.3k tokensUpdated 2 mo ago
    DatabasesAuto-check: notes
  • Azure Storage

    microsoft/GitHub-Copilot-for-Azure

    Official

    Azure Storage Services including Blob Storage, File Shares, Queue Storage, Table Storage, and Data Lake.

    255 GitHub starsUsed in 2 repos~1.3k tokens
    DatabasesAuto-check passed
  • Commandkit Cache

    neplexlabs/commandkit

    Implement deterministic caching with @commandkit/cache. An agent skill from neplexlabs/commandkit.

    165 GitHub stars~506 tokensUpdated 12 days ago
    DatabasesAuto-check passed
  • Hackernews Intel

    Varnan-Tech/opendirectory

    Monitors Hacker News for user-configured keywords, deduplicates against a local SQLite cache, and sends Slack alerts for new matching posts.

    674 GitHub starsUsed in 1 repo~1.4k tokens
    DatabasesAuto-check: notes
  • AWS CLI Beast

    giuseppe-trisciuoglio/developer-kit

    Provides advanced AWS CLI patterns for managing EC2, Lambda, S3, DynamoDB, RDS, VPC, IAM, and CloudWatch.

    355 GitHub stars~1.7k tokensUpdated 28 days ago
    DatabasesAuto-check: notes

More from pilinux/gorest

All 20 skills in this repo
  • Config Loader Helper

    pilinux/gorest

    Diagnoses configuration failures in the gorest project by listing the required environment variables grouped by feature and giving minimal commands for a safe local test setup.

    506 GitHub stars~441 tokensUpdated 13 days ago
    Auto-check passed
  • Enumerates Go declarations and signatures from the syntax tree, then proposes small, mechanically safe refactors with file and line citations.

    506 GitHub stars~414 tokensUpdated 13 days ago
    Auto-check passed
  • Local Build and Run

    pilinux/gorest

    Builds and runs a Go project locally to reproduce compile or runtime problems safely, using test environment variables and mocks instead of production credentials.

    506 GitHub stars~362 tokensUpdated 13 days ago
    Auto-check passed
  • Code Navigation

    pilinux/gorest

    Rapid, focused navigation to locate definitions/usages and map the impact of proposed changes.

    506 GitHub stars~354 tokensUpdated 13 days ago
    Auto-check passed
  • Cited Code Explainer

    pilinux/gorest

    Explains how a module behaves in a few short, read-only sections, with a path-and-line citation behind every non-trivial claim.

    506 GitHub stars~244 tokensUpdated 13 days ago
    Auto-check passed
  • Cited File Reader

    pilinux/gorest

    Reads only the lines needed from a source file and answers with a short summary and path:line citations, without changing anything.

    506 GitHub stars~250 tokensUpdated 13 days ago
    Auto-check passed

Questions about Safe Edit Simulator

What does Safe Edit Simulator do?

Produce a dry-run diff plus a risk checklist and rollback plan for any potentially disruptive change. Safe Edit Simulator is an agent skill from pilinux/gorest. Produce a dry-run diff plus a risk checklist and rollback plan for any potentially disruptive change.

When should I use Safe Edit Simulator?

Safe Edit Simulator fits situations like: databases work in your project.

How do I install Safe Edit Simulator in Claude Code?

Run `npx skills add pilinux/gorest --skill safe-edit-simulator -a claude-code`. Or copy the skill folder (.agents/skills/safe-edit-simulator in pilinux/gorest) into .claude/skills/safe-edit-simulator in your project. Claude Code loads it when a task matches its description.

How do I install Safe Edit Simulator in Codex?

Run `npx skills add pilinux/gorest --skill safe-edit-simulator -a codex`. Or copy the skill folder (.agents/skills/safe-edit-simulator in pilinux/gorest) into .agents/skills/safe-edit-simulator in your project. Codex loads it when a task matches its description.

Can I use Safe Edit Simulator in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add pilinux/gorest --skill safe-edit-simulator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/safe-edit-simulator, .gemini/skills/safe-edit-simulator, .github/skills/safe-edit-simulator and .opencode/skills/safe-edit-simulator in your project.

What does Safe Edit Simulator need to run?

SKILL.md names no scripts, command-line tools or credentials: Safe Edit Simulator is instructions for the agent only.

Does Safe Edit Simulator access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Safe Edit Simulator safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Safe Edit Simulator use?

Safe Edit Simulator is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Safe Edit Simulator use?

About 233 tokens (SKILL.md is roughly 932 characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Safe Edit Simulator?

Skills that share tags, products or a category with Safe Edit Simulator: Mail Time (veliovgroup/mail-time, 143 stars), Tgf Server Dev (thkhxm/tgf, 128 stars), Azure Storage (microsoft/GitHub-Copilot-for-Azure, 255 stars) and Commandkit Cache (neplexlabs/commandkit, 165 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Safe Edit Simulator?

pilinux (a GitHub user) maintains it in pilinux/gorest, which has 506 GitHub stars. The repository holds 20 skills in this directory. The repository was last updated on September 25, 2026.

Source: pilinux/gorest on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.