specstory-guard
✓安装一个预提交挂钩,在提交之前扫描 .specstory/history 以获取机密。当用户说“设置秘密扫描”、“安装 Specstory Guard”、“保护我的历史记录”或“检查秘密”时运行。
SKILL.md
A pre-commit guardrail that scans .specstory/history for potential secrets and blocks commits until they are removed or redacted.
| /specstory-guard | Install the pre-commit hook | | /specstory-guard install | Install the pre-commit hook | | /specstory-guard scan | Run a manual scan without installing | | /specstory-guard check | Alias for scan |
| AWS Keys | AKIA..., awssecretaccesskey | | API Tokens | Bearer ..., token: ... | | Private Keys | -----BEGIN RSA PRIVATE KEY----- | | GitHub Tokens | ghp..., githubpat... | | Generic Secrets | password=, secret=, apikey= |
安装一个预提交挂钩,在提交之前扫描 .specstory/history 以获取机密。当用户说“设置秘密扫描”、“安装 Specstory Guard”、“保护我的历史记录”或“检查秘密”时运行。 来源:specstoryai/agent-skills。
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/specstoryai/agent-skills --skill specstory-guard- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-01
- 更新时间
- 2026-02-18
快速解答
什么是 specstory-guard?
安装一个预提交挂钩,在提交之前扫描 .specstory/history 以获取机密。当用户说“设置秘密扫描”、“安装 Specstory Guard”、“保护我的历史记录”或“检查秘密”时运行。 来源:specstoryai/agent-skills。
如何安装 specstory-guard?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/specstoryai/agent-skills --skill specstory-guard 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/specstoryai/agent-skills
详情
- 分类
- </>开发工具
- 来源
- skills.sh
- 收录时间
- 2026-02-01