session-endlisted
Install: claude install-skill ostin-pil/claude-plugins
Finalize the current work session. Counterpart to `/session-start`.
This skill is the end-of-work wrap-up: record what happened, verify the
tree still builds, land the session's one PR (whether the work was in a
worktree or a `feature/*` branch in the primary tree), and prune any
stale worktrees that accumulated.
## Project configuration
The manifest is this skill's configuration. If
`$(git rev-parse --show-toplevel)/.claude/lifecycle-manifest.md` does not exist, the
project has not adopted the kit: say so, offer to create it, and stop. Never infer
the keys and run anyway. The kit ships the template as
`lifecycle-manifest.template.md`; locate the installed copy with
`find ~/.claude/plugins -path '*lifecycle-kit*' -name lifecycle-manifest.template.md | head -1`.
The marketplace's `ADOPTING.md` carries a repo-inspecting setup prompt.
Read `.claude/lifecycle-manifest.md` first (resolve via
`$(git rev-parse --show-toplevel)/.claude/lifecycle-manifest.md`). Where a
phase names a manifest key in `code font` (`code_globs`, `build_commands`,
`test_commands`, `subpkg_guard`, `log_dir`, `log_pattern`, `docs_log_branch`,
`commit_convention`, `commit_trailers`, `subject_max`, `merge_strategy`,
`scratch_paths`), use that key's value. Command bodies write these as `<key>`
substitution placeholders (`<integration_ref>`, `<local_main>`, `<remote>`,
`<build_commands>`, `<test_commands>`); replace each with the manifest value
before running. The surrounding detection prose still names `fea