360 Secure SkillHub
360 安全技能中心

Don't Edit - prevents premature file edits

该 Skill 仅在用户主动触发时启用只读与建议模式,禁止创建、覆盖、编辑或删除文件,也禁止执行会改变文件系统的命令;允许查看文件、搜索代码库或外部文档,并要求在修改代码前先以文字说明方案并获得用户明确确认。

tobiaswestholm
tobiaswestholm
热度 8.83
最近更新 2026-08-12 19:28:07
分类:安全依赖:纯提示词应用场景:工作流

安装技能

复制下面的话术发给你的 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.