Skip to main content

safeguard

Required before non-trivial features, builds, or refactors unless the user supplied a detailed plan or opted out.

来源信息

仓库
devinat1/agent-ready-codebase-templates
最近来源活动
2026年6月30日 18:40
检测到的 SKILL.md 语言
英语
星标
0
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
safeguard
description
Required before non-trivial features, builds, or refactors unless the user supplied a detailed plan or opted out.
# Safeguard Interview before implementation so the change fits the company, product, and codebase before files are edited. ## Hard Gate Do not write code, scaffold, edit files, or produce implementation plans until this skill completes with a Build Brief or the user opts out. ## Skip When - The user explicitly says to skip safeguard. - The user already supplied a detailed plan or issue that covers why, what, affected areas, risks, done criteria, and non-goals. - The work is a bounded review-comment fix. - The work is a clear, local bug fix with obvious scope. ## Workflow 1. Read project guidance such as `AGENTS.md`, README files, and relevant architecture docs. 2. Identify affected systems, files, schemas, workflows, and user paths. 3. Ask one question at a time until the four pillars are concrete: - company necessity; - what is being built and why; - codebase or system impact; - scope boundaries and non-goals. 4. Stop as soon as the change is safe to build. 5. Deliver a Build Brief. ## Build Brief Format ```md ## Build Brief **Why:** [problem and why now] **What:** [exact behavior or artifact to build] **Affected areas:** [paths, services, schemas, workflows] **Risks:** [what could go wrong] **Done when:** - [criterion] **Out of scope:** - [non-goal] ```
在 GitHub 查看