plugins/commventional/skills/strip-trailers/SKILL.md
Strip Co-Authored-By trailers and "Generated with/by Claude" footers from a text blob. Read-only capability — emits cleaned text on stdout.
npx skillsauth add acostanzo/quickstop strip-trailersInstall 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.
Engineering-ownership trailer-stripping capability. Mirrors the perl substitution chain that commventional v1.x's PreToolUse hook (hooks/enforce-ownership.sh) shipped, preserved as a consumer-invocable skill per ADR-006 §1 (capabilities, not automation).
The capability is read-only and idempotent: running twice on the same input produces identical output, and the only write is to stdout.
Run the canonical script and emit its stdout verbatim:
bash "${CLAUDE_PLUGIN_ROOT}/bin/strip-trailers.sh" --text "<text>"
Or from stdin (for piping cleaned output into another tool):
printf '%s\n' "<text>" | bash "${CLAUDE_PLUGIN_ROOT}/bin/strip-trailers.sh"
Parse $ARGUMENTS for --text "<text>" and pass it through to the script. If $ARGUMENTS is empty, read the text the user wants cleaned (their next message, the contents of a file they named, or stdin if invoked programmatically).
Emit the script's stdout verbatim — it is the source of truth for the cleaned output. Do not re-format, do not add commentary.
Co-Authored-By: trailers — case-insensitive on each word's first letter (Co-Authored-By:, co-authored-by:, Co-authored-by:, etc.)Generated with/by Claude footers — case-insensitive (Generated with Claude Code, generated by claude, etc.)The substitution preserves trailing quote characters (" / ' / \) when attribution appears inline in a shell-quoted command string, matching v1.x's behaviour exactly.
This is a capability skill per ADR-006 §1. The consumer composes the trigger:
.git/hooks/.PreToolUse hook — write a ~/.claude/settings.json entry that pipes the bash command payload through this script. The /commventional:install-trailer-stripper helper writes that wiring on demand./commventional:strip-trailers --text "..." whenever you want a one-shot clean-up.bin/strip-trailers.sh — the script this skill invokes.test-fixtures/strip-trailers/cases.json — fixture set proving byte-equivalence with v1.x's enforce-ownership.sh perl chain.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.