一键导入
scratchpad
Persistent iteration memory — prevents Groundhog Day loops by recording what was tried, what failed, and what to try next.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Persistent iteration memory — prevents Groundhog Day loops by recording what was tried, what failed, and what to try next.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Recognizing context pressure before it degrades output quality.
Writing implementation plans — small testable steps, dependency ordering, upfront risk identification.
Evidence before claims, always — run verification commands and confirm output before making any completion or success claims.
Generate Architecture Decision Records — use when asked to document a decision, create an ADR, record why we chose X, or capture architectural rationale.
Generate a structured changelog from git history — use when asked to create a changelog, release notes, or summarize what changed between versions/tags/branches.
How to write pikit workflow YAML files — steps, loops, branches, interpolation.
| name | scratchpad |
| description | Persistent iteration memory — prevents Groundhog Day loops by recording what was tried, what failed, and what to try next. |
Use scratchpads in any iterative loop to prevent repeating failed approaches.
.pikit/scratchpads/current.md — active scratchpad for the current task.
Create .pikit/scratchpads/ if it doesn't exist. Only one active scratchpad at a time.
Read .pikit/scratchpads/current.md if it exists. Check:
Do not repeat a failed approach. If you're about to try something already listed as failed, stop and pick a different strategy.
Append to .pikit/scratchpads/current.md:
## Iteration {N} — {timestamp}
**Approach:** What you tried (one sentence)
**Result:** pass | fail
**Details:** What happened — error message, unexpected behavior, or success details
**Next:** What to try next if this failed, or "N/A" if it passed
When the task succeeds or the workflow ends, delete .pikit/scratchpads/current.md.
Don't leave stale scratchpads — they'll confuse the next task.
If .pikit/scratchpads/current.md shows 3+ failed iterations: