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/hooks-by-language.md |
Hook recommendations by detected language/extension |
references/sources.md |
Provenance — research sources that informed this skill |