‹ 首页

gstack-guard

@dirtytrii · 收录于 1 周前 · 上游提交 1 周前

GStack guard method for strengthening scope boundaries, forbidden actions, stop conditions, and validation gates for an agent or workstream.

适合你,如果你在构建智能体时需要定义其行为边界和验证规则。

/ 通过 npx 安装 校验哈希
npx oh-my-skill add dirtytrii/codex-skills/gstack-guard
/ 通过 bash 安装
curl -fsSL https://oh-my-skill.com/install.sh | bash -s -- dirtytrii/codex-skills/gstack-guard
/ 已经装过?验证本机副本,不用重装
npx oh-my-skill verify dirtytrii/codex-skills/gstack-guard
安装目标可用 --agent / --scope 或 --to 明确指定;省略时只会在唯一已存在的 agent 目录上自动选择,零命中或多命中会停止并提示。content_hash 缺失或不一致均拒装。
9GitHub stars
~364最小装载
~364含声明引用
~411文本包总量
索引托管

怎么用

商店整理自技能原文 · 版本 f142db6 · 表述以原文为准
它做什么

装上后,Claude 会为当前任务生成安全护栏:明确禁止操作、停止条件、验证关卡,并强化角色边界,防止越权行为。

什么时候触发

当角色提示需要更强边界、可能触碰禁止文件或操作、架构需要护栏,或用户明确说“$gstack-guard”时触发。

装好后可以这样说
Claude 会生成禁止操作和验证关卡。
Claude 会修订提示词,加入边界和停止条件。
技能原文 SKILL.md作者撰写 · MIT · f142db6

GStack Guard Adapter

This is a Codex role-system adapter for Garry Tan's gstack gstack-guard method.

When To Use

Use this when:

  • a role prompt needs stronger boundaries;
  • the agent risks touching forbidden files or actions;
  • architecture wants guardrails before delegation;
  • the user explicitly invokes $gstack-guard.
Workflow
  1. Keep the active role boundary. Do not expand scope just because this gstack method is useful.
  2. Read the relevant repo/docs/evidence first when the task depends on current state.
  3. Read ../gstack/references/methodology.md if you need the shared method map, then use the section named Engineering Execution Methods.
  4. Produce: guardrails, forbidden scope, stop conditions, validation gates, and revised prompt wording.
  5. Return the result in the active role's normal format, including boundaries, validation, and unresolved decisions when applicable.
Boundaries
  • Treat upstream gstack as external methodology, not local-owned project state.
  • Do not run upstream gstack runtime, telemetry, browser-cookie import, upgrade checks, or host routing injection automatically.
  • Do not create or edit CLAUDE.md, .claude/, .agents/, or upstream routing files unless the user explicitly asks for upstream gstack installation work.
  • Do not write files, commit, push, deploy, restart, migrate, clean, delete, or change production unless the active role prompt explicitly allows it.
  • Preserve this repository's QA versus 测试 split: formal test cases/reports belong to 测试 and $test-case-report-builder.
按 MIT 许可原样转载,未经改动 · 在 GitHub 查看 →

评论

登录即可评论;带「已验证安装」的,是发布者名下有本店的安装或持有记录。