plugins/commventional/skills/strip-pr-body/SKILL.md
Fetch a GitHub PR body, strip engineering-ownership trailers/footers, write the cleaned body back via gh pr edit. Consumer-invoked per-call.
npx skillsauth add acostanzo/quickstop strip-pr-bodyInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Convenience capability for the GitHub-PR-body case of trailer-stripping. Wraps :strip-trailers with a gh pr view / gh pr edit --body-file round-trip, so the consumer can clean a single PR's body on demand.
This is the consumer-invoked equivalent of commventional v1.x's PostToolUse hook (hooks/pr-ownership-check.sh), preserved as a capability per ADR-006 §1. Removed: the v1.x trigger that fired this on every gh pr (create|edit) Bash call. Preserved: the trailer-stripping behaviour, idempotent and read-then-write-back on a specific PR.
Parse $ARGUMENTS for --pr-url <url>. If missing or malformed, ask the user for the PR URL.
Run the canonical script and emit its stdout/stderr verbatim:
bash "${CLAUDE_PLUGIN_ROOT}/bin/strip-pr-body.sh" --pr-url "<https://github.com/owner/repo/pull/N>"
The script exits cleanly when the body is already clean (no gh pr edit call is made). When changes happen, it prints "Updated PR body: <url>" to stderr and exits 0.
This skill writes to the GitHub PR body the consumer named in --pr-url, and only that. No other consumer artefact is touched. ADR-006 §2 (no silent mutation of consumer artefacts) is satisfied because the consumer typed the slash command and supplied the target URL — the directing act is explicit.
/commventional:strip-pr-body --pr-url <url>.gh pr list and call this skill (or the underlying bin/strip-pr-body.sh script) per URL — that loop lives in the consumer's surface, not commventional's./commventional:install-trailer-stripper --target pr-cleanup-hook-user (or pr-cleanup-hook-project) — the install helper writes the equivalent hook into the consumer's chosen Claude Code settings scope.bin/strip-pr-body.sh — the script this skill invokes.bin/strip-trailers.sh — the underlying capability the script wraps.documentation
Surface (and optionally fix) doc-tree drift — duplicates, dead links, stale docs, template non-compliance, missing `## Related` blocks. Read-only by default; `--apply` does mechanical fixes; `--apply-semantic` emits diffs for human review.
documentation
Full-text search over the repo's `docs/` tree (FTS5-backed). Returns ranked hits with file paths, tags, and matching snippets.
testing
Retrieval-augmented Q&A over the repo's `docs/` tree. Returns a one-paragraph synthesis plus citations (doc path + heading anchor) and per-citation corroboration verdicts. Field shape and ordering are locked at M3; M5 populates the verdicts.
documentation
Scaffold a new doc under `docs/` from a Diátaxis template, or update an existing one and bump its `updated:` date. Suggests `## Related` candidates and refreshes the FTS5 index on write.