编码会话启动规范
session-start-protocol
在缺陷修复/功能开发会话开始时使用。编写代码前先明确主要交付物(文件 + 行为);将 CI 门禁工作限定在 30 分钟内。
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 6
- Forks
- 0
01 前言 Front Matter
- name
- session-start-protocol
- description
- Use at the start of bug-fix/feature sessions. State primary deliverable (file + behavior) before code; time-box CI gate work to 30 min.
03 SKILL.md 正文
Session start — declare primary deliverable first
At the start of any bug-fix or feature session, state the primary deliverable (specific file + behavior to change) before writing any code or creating any PR. PR lifecycle work (CI fixes, harness PRs, review responses) is secondary — it must never displace the primary deliverable.
CI gate time-box: If fixing gate failures on any PR (including prerequisite/harness PRs) consumes >30 min and the primary deliverable (production code in the target files) has zero commits, surface the gap immediately: "Primary deliverable not yet written — pausing gate work." Do not continue chasing CI on secondary PRs at the expense of the session's core goal.
Governing doc first: For multi-PR feature work, read the governing roadmap/design doc before executing. The doc owns the file-exclusive ownership map, prerequisite gates, and concurrency constraints. Improvising without it is a harness violation.
04 同仓库更多 Skills
disk-reclaim-playbook
Use Disk Magician to diagnose disk growth or qualify cleanup on macOS or Linux.
claudea-bench
Compare `claudea` and normal `claude` on a fair split of comparable work by default; use `--strict` for duplicate runs of the exact same task.
pr
Alias for the canonical pr-lifecycle PR workflow skill (/pr-workflow, /prw).
whisper
OpenAI's general-purpose speech recognition model. Supports 99 languages, transcription, translation to English, and language identification. Six model sizes from tiny (39M params) to large (1550M params). Use for speech-to-text, podcast transcription, or multilingual audio processing. Best for robust, multilingual ASR.
webapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
pr-report
This skill should be used when the user asks for a PR report, PR audit, PR delta analysis, /pr-report, or wants per-PR summary with delta files/lines. Generates a structured report for one or more open PRs covering purpose, files changed, +/− line counts, /code-standards + /thermo review findings, /ponytail simplification opportunities, file-overlap combination candidates, and /green status per pr-green-definition. Output: machine-readable JSONL + human-readable markdown. Read-only by default; can apply simplifications if user opts in.