chore(git): move pc skills from kyberforge to git plugin

This commit is contained in:
2026-07-04 12:23:28 +00:00
parent 31e11e7969
commit 77dedc3735
11 changed files with 2 additions and 2 deletions

View File

@@ -0,0 +1,23 @@
# 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 |