一键导入
pwrl-end-session-commit
Draft commit message, handle version bumps, and create the session commit.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Draft commit message, handle version bumps, and create the session commit.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Extract, classify, deduplicate, structure, and save learnings from code, commits, tasks, and documentation
Create structured implementation plans with three tiers (Fast/Standard/Deep). Pure skill pipeline orchestrator—no agent routing.
Review code changes through 4-phase micro-skill pipeline (scope, prepare, analyze, report)
Execute implementation work efficiently through 4-phase micro-skill pipeline
Verify repository state and confirm session completion before committing.
Create a clear session commit with state and next steps. Orchestrates checkpoint and commit micro-skills, optionally chains to pwrl-learnings.
| name | pwrl-end-session-commit |
| description | Draft commit message, handle version bumps, and create the session commit. |
| argument-hint | [Input: checkpoint artifact from Phase 1] |
| user-invocable | false |
Draft a descriptive commit message and create the session commit with proper attribution.
ask_user_question, ask_user, ask_user_input, vscode/askQuestions or any available extension/tool for user interaction for all decisionsCommit is the second phase of session cleanup. It takes the checkpoint artifact from Phase 1, crafts a meaningful commit message that explains the session's work and next steps, detects version changes, and creates the commit:
CHANGELOG.md if needed# Typically invoked by /pwrl-end-session after checkpoint succeeds
# Direct usage for testing or recovery:
/pwrl-end-session-commit [checkpoint-artifact-path]
This is the second phase of /pwrl-end-session orchestrator, executed after Phase 1 (checkpoint) completes.
references/commit-protocol.md — Message drafting rules and version bump handlingreferences/commit-examples.md — Examples for different session completion typesFor complete step-by-step instructions, see commit-protocol.md.
This SKILL.md provides an overview. The detailed workflow document contains:
After completing this phase, run quality gate validation:
/pwrl-phase-checkpoint end-session 2 [artifact-path]
See pwrl-phase-checkpoint for validation rules.
Create a meaningful commit message with subject and body.
See detailed workflow: commit-protocol.md
Detect and process version changes with CHANGELOG.md updates.
See detailed workflow: commit-protocol.md
Get explicit approval of commit message before staging/committing.
See detailed workflow: commit-protocol.md
Stage files and create the commit with proper git handling.
See detailed workflow: commit-protocol.md
git add [files...]git statusgit commit -m "[subject]" -m "[body]"[AGENT: ...] trailerdocs/tasks/to-do/U1-feature.md")