Files
holocron/plugins/git/skills/pc-author
Defame1297 3324a73225 feat(lint): expand Vale audit prefilter into a broader plugin-content harness
Deferred item from PR #85 review. Per ADR-0013: cherry-picks two low-noise
rules from trialing write-good/alex against the real corpus (VagueQualifier,
SentenceOpenerThereIs) into styles/Kyberforge rather than adopting either
package wholesale (both are tuned for blog prose and were noisy on this
repo's terse, imperative instruction files - see the ADR's rejected-rule
list). Adds a new skill-size-check pre-commit hook enforcing agentskills.io's
500-line/5,000-token SKILL.md ceiling, currently unenforced. Fixes the 28
resulting violations across 20 existing SKILL.md/agent files so the
enforcing pre-commit hook lands clean.

governance.md/CONTROLS.md were evaluated and excluded as rule sources -
they're org/CI-infrastructure controls, not prose patterns Vale can express.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QUDczvw1H3eEeMD29Q9Lbi
2026-08-08 20:20:58 +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/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