pstack-tdd
Use only when the user explicitly asks for TDD, a failing test, or a regression test, OR when the bug has an obvious cheap local test target. Skip when the test path is unclear, expensive, integration-heavy, or not requested.
- License 许可
- MIT
- 最近更新
- 2026-11-11
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- pstack-tdd
- description
- Use only when the user explicitly asks for TDD, a failing test, or a regression test, OR when the bug has an obvious cheap local test target. Skip when the test path is unclear, expensive, integration-heavy, or not requested.
- disable-model-invocation
- true
02 资源文件 1
- 参考文档agents/openai.yaml198 B
03 SKILL.md 正文
Pstack TDD
Read the DiffOwl coverage contract and complete its checkpoint after the green implementation forms a coherent unit.
- Find the cheapest test surface that reproduces the requested behavior.
- Write one focused test and run it red. If a reliable red test would cost more than the fix or cannot express the failure, state why and use the nearest runtime proof.
- Implement the smallest root-cause change that makes the test green.
- Refactor only after green, preserving the observed behavior.
- Run the focused test, nearby regression tests, and required repository checks.
Completion means the failure was observed before the fix and the same proof passes afterward, or the explicit runtime substitute records both states.
04 同仓库更多 Skills
why
Why code is this way: design rationale, regressions, and history from evidence. For runtime: how.
unslop
Edit prose to remove AI writing patterns when polishing text or asked to make it sound natural.
typescript-best-practices
Use when writing or reviewing .ts/.tsx code: types, validation boundaries, and API signatures.
sync-pstack
Analyze upstream cursor/plugins pstack changes and guide semantic ports into Codex-native Jstack without overwriting local skills. Use when the user says "sync pstack", "check pstack updates", or asks to update Jstack from upstream.
swarm
Fan out N parallel workers, drain them, and return one report. Use for /swarm, 'swarm this', or parallel coverage, races, gauntlets, and exploration.
statechart
Check a finite TLA+ model and explain its paths and rule failures as a statechart.