一键导入
spok-self-learn
Produce an advisory post-commit review of workflow friction, issues, weak evidence, and improvement opportunities for a completed Spok flow chunk.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Produce an advisory post-commit review of workflow friction, issues, weak evidence, and improvement opportunities for a completed Spok flow chunk.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
end-to-end problem validation → research → design → plan → implement → review → commit workflow for a single chunk, with an optional post-commit self-learn gate. Driven by spok-apply.
first step of planning
convert structure outline into a detailed implementation plan
generate research questions based on a task, spec, or ticket
research the codebase
create a phased implementation plan based on research and design decisions
| name | spok-self-learn |
| description | Produce an advisory post-commit review of workflow friction, issues, weak evidence, and improvement opportunities for a completed Spok flow chunk. |
| license | MIT |
| metadata | {"author":"spok","version":"1.0"} |
You are running after the commit step in spok-flow. This gate is advisory.
It must not fail, amend, or rewrite the commit.
The argument is the absolute path to a task directory:
<task-dir>
The directory already exists and contains ticket.md, workflow-state.json,
and the artifacts produced by earlier flow steps.
<task-dir>/ticket.md and every non-empty Markdown artifact in the task directory.<task-dir>/workflow-state.json to understand step order, summaries, and the commit SHA.git status --shortgit show --stat --oneline --decorate --no-renames <commit-sha> when a commit SHA is available<task-dir>/self-learn.md.Write a Markdown file at <task-dir>/self-learn.md with this shape:
# Self-Learn
## Verdict
advisory
## Evidence Used
- ticket: <path>
- workflow state: <path>
- commit: <sha or unavailable>
- artifacts reviewed: <count/list>
- visible thread context: <used/not available>
## Friction
- <specific friction, or "None observed.">
## Issues
- <specific workflow issue, or "None observed.">
## Weak Evidence
- <missing or weak proof, or "None observed.">
## Suggested Updates
- Add: <instruction/process/documentation update, or "None.">
- Remove: <outdated or harmful guidance, or "None.">
- Change: <adjustment, or "None.">
## Follow-Ups
- <follow-up candidate, or "None.">