Files
holocron/plugins/git/.apm/skills/pc-author
Defame1297 2c6ce438b6 refactor(git): normalize rtk-prefix usage, add metadata.version
Two bundled fixes across the same nine skills, since both touch the
same files.

Issue #113: skill prose used rtk git and bare git inconsistently for
the same operations, with no stated rule for which applied where.
Executable instructed commands (a dispatch-table "Run" cell, a fenced
code-block procedure, an imperative step) now consistently use rtk
git; illustrative or referential mentions -- naming a flag's behavior,
quoting a doc heading, warning against an anti-pattern -- stay bare
git. Documented in the new plugins/git/README.md, scoped to this
plugin only: gitea-* skills talk to the server over MCP tools and
carry no git/rtk mentions at all.

Also the git-plugin slice of #127: metadata.version added to the
eight skills that lacked it. git-commits already had one and is
untouched.

Fixes: #113
Fixes: #127
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EeH8SCbcrCAQrtymkNuhKP
2026-09-07 20:36:49 +00:00
..

pc-author

Create, add, remove, update, and configure .pre-commit-config.yaml.

What it does

Manages the pre-commit configuration file in any git repo. When invoked, it scans the repo for languages, proposes appropriate hooks with rationale, and writes or modifies .pre-commit-config.yaml. It validates every write with pre-commit validate-config and flags stale revision pins. It does not run hooks or install them into .git/hooks/ — use pc-run for that.

Usage

/pc-author

Invoke with no arguments. The skill determines from context whether to create a new config or modify an existing one.

Files

File Purpose
SKILL.md Skill instructions for agents
references/create-config.md Loaded when the repo has no .pre-commit-config.yaml — the create-from-scratch flow
references/modify-config.md Loaded when a .pre-commit-config.yaml already exists — add, remove, top-level keys, rev staleness
references/hooks-by-language.md Hook recommendations by detected language/extension
references/README.md Index of files in references/
references/sources.md Provenance — research sources that informed this skill