Files
holocron/plugins/kyberforge/skills
Defame1297 ec54a8100a feat(kyberforge): add pc-author and pc-run pre-commit skills
## Why
Pre-commit config management was entirely manual — no skill existed to
help create, modify, or validate `.pre-commit-config.yaml`, or to run,
install, and maintain the pre-commit setup. These two skills close that
gap with clear scope separation: authoring vs. execution.

## Implementation Notes
- `pc-author` owns `.pre-commit-config.yaml` only (no hook publishing,
  no install). Runs `pre-commit validate-config` after every write.
  Shallow file-extension scan drives proactive hook recommendations;
  rev staleness is flagged against `references/hooks-by-language.md`
  rather than hardcoded versions. Remove path reverts on failure.
- `pc-run` owns install, run, autoupdate, gc, and clean. Defaults to
  `--all-files`. Install warns about existing `.git/hooks/` files being
  overwritten by `-f`. Clean requires HITL confirmation. Failure
  interpretation delegates to `references/failure-patterns.md`.
- Provenance wired to `plugins/kyberforge/docs/research/docs/pre-commit/`.
- Both skills resolve via the existing `"skills/"` glob in `plugin.json`.

## Impact
Two new slash commands available after `claude plugin install kyberforge@holocron`:
`/pc-author` and `/pc-run`.

Refs: #12

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01P87CiC58Ru2PPWYTeXtjHT
2026-06-27 22:32:54 +00:00
..

skills/

Skills for this plugin. Each skill lives in its own subdirectory:

skills/
  <skill-name>/
    SKILL.md      # required — frontmatter + skill body
    META.md       # required — provenance and audit fields
    references/   # optional — on-demand reference docs
    scripts/      # optional — executable helper scripts
    assets/       # optional — templates, data files, lookup tables

Shared — both Claude Code and GitHub Copilot CLI read skills/<name>/SKILL.md.

To create or improve a skill, run /skill-author in a Claude Code session. To review a skill without modifying it, run /skill-audit. Do not write SKILL.md by hand without following the authoring standard — trigger descriptions and body discipline are required.