360 Secure SkillHub
360 安全技能中心

Don't Edit - prevents premature file edits

核心功能是开启严格只读建议模式,禁止创建、编辑、删除文件及修改文件系统的命令;仅允许检查文件、搜索代码库或外部文档,任何改动需先提交文本方案并获用户确认。典型场景为用户需避免过早修改文件或未经请求的代码改动时使用,输入为/dont-edit指令,输出为合规响应或待确认的改动方案。

tobiaswestholm
tobiaswestholm
热度 8.59
最近更新 2026-08-12 19:28:07
分类:安全依赖:读写文件 / 联网浏览搜索应用场景:DevOps

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add dont-edit
Metadata
name
dont-edit
version
1.0.0
description
Invoked ONLY by the user with /dont-edit when they want read-only mode activated.

Don't Edit (Read-Only & Advisory Mode)

Enforces a strict Read-Only & Advisory Mode to prevent premature file edits or unsolicited code modifications.

Strict Rules

  1. NO FILE MUTATIONS: Do NOT create, overwrite, edit, or delete any files. Do NOT run shell/terminal commands that alter the filesystem. Ensure these restrictions propagate to any subagents or delegated tasks.
  2. READ-ONLY INSPECTION ALLOWED: You may inspect files, search the codebase, or search external docs to gather context.
  3. REQUIRE APPROVAL: Outline any proposed changes in text and wait for explicit user confirmation before modifying any code.