test-snapshot
Use when serialized output, generated documentation, rendered text, reports, or golden files are the behavior being protected.
- License 许可
- GPL-3.0
- 最近更新
- 2026-11-13
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- test-snapshot
- description
- Use when serialized output, generated documentation, rendered text, reports, or golden files are the behavior being protected.
03 SKILL.md 正文
Read the testing contract. Define the stable contract and normalize only intentional nondeterminism such as timestamps, paths, or ordering. Keep the fixture small and reviewable. A snapshot must fail for a meaningful user-visible change; do not approve a wholesale update without understanding the diff.
Record the generator/update command, expected output location, review rule,
and tool/version assumptions. Add focused assertions for critical semantics so
the snapshot is not the only signal. Use test-regression for a bug-specific
golden case and doc-navigation when generated links are involved.
04 同仓库更多 Skills
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment
writing-plans
Use when you have a spec or requirements for a multi-step task, before touching code
verification-before-completion
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always
using-superpowers
Use when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions
using-git-worktrees
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback
test-driven-development
Use when implementing any feature or bugfix, before writing implementation code