Files
holocron/docs/issues/0023-review-skills.md
Defame1297 9457efff36 docs: Chunk 3 issues 0015-0028 and doc updates
14 issues created covering AGENTS.md refactor prerequisite, skill
implementation workflow grill, bootstrap skills (write-eval, write-skill),
remaining factory skills, and one issue per skill category group through
to chunk closure. All HITL; acceptance criteria for 0017-0028 to be
refined after 0016 grill session.

Doc updates: CONTEXT.md PRD/issue scope clarified (HOW distribution
across architecture-review and issue design notes); ROADMAP.md housekeeping
updated with bootstrap order and issue range; spec/overview.md recent
changes entry added; PRD updated (skills-index: delete → update).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-17 15:18:36 +00:00

59 lines
3.4 KiB
Markdown

# 0023 — Review skills + cliff.toml: code-review, security-review, pr-description, changelog-entry
**Type:** HITL
**Parent PRD:** `docs/prd/chunk-3-skills-library.md`
## What to build
The 4 review phase skills plus the `cliff.toml` changelog config. All skills are new. Authored via `write-skill` (0018), evals via `write-eval` (0017). `cliff.toml` is a deterministic config file added to the repo root (no skill implementation required for the config itself).
**Skills and trigger descriptions:**
| Flat name | Trigger description |
|---|---|
| `code-review` | Review this code, check this diff, pre-commit review |
| `security-review` | Security review, OWASP check, pre-merge security scan |
| `pr-description` | Write PR description, describe this change |
| `changelog-entry` | Write changelog entry, add to CHANGELOG, release notes |
**Key constraints per skill:**
- `code-review`: severity-rated findings (critical/high/low); auto-fixes obvious style issues; flags architectural concerns for human review
- `security-review`: OWASP LLM Top 10 + Agentic AI Top 10 for application code; AST03/04/06/07/09 categories for self-authored factory skills (AST01 excluded — requires attacker-controlled content, does not apply to self-authored skills); includes credential and licence checks
- `pr-description`: derives from diff; covers what changed, why, and what to review carefully
- `changelog-entry`: conventional changelog format; derives from PR description and diff; designed for git-cliff consumption
**cliff.toml:**
- Config file at repo root for git-cliff deterministic changelog generation
- Selected over release-please (GitHub-only, incompatible with Gitea) and conventional-changelog (Node.js dependency, less actively maintained)
- CI integration is Chunk 6; this issue only adds the config
## Implementation notes
Follow the per-skill workflow defined in `docs/notes/skill-implementation-workflow.md` (produced by issue 0016).
**Known upstream sources to review:**
- `mattpocock/skills` — check for code-review or security-review skills
- `bmad-method/bmad-method` — BMAD reviewer and security role patterns
- OWASP LLM Top 10 (current published version) and Agentic AI Top 10 (current published version) as authoritative checklists for `security-review`
- OWASP Agentic Skills Top 10 (AST10) — incubator draft; use AST03/04/06/07/09 only for self-authored skills
- git-cliff documentation for `cliff.toml` format
## Acceptance criteria
- [ ] All 4 SKILL.md files exist at `.agents/skills/<skill-name>/SKILL.md`; `metadata.category: review`; authoring standard met
- [ ] `security-review` uses correct OWASP checklist per context (LLM Top 10 + Agentic AI Top 10 for app code; AST03/04/06/07/09 for self-authored factory skills)
- [ ] `changelog-entry` produces output compatible with git-cliff conventional format
- [ ] `cliff.toml` exists at repo root with conventional commits config; `git-cliff` runs against repo history without error
- [ ] `source:` fields populated for any adopted upstream content
- [ ] Each skill has a co-located eval at `.agents/evals/review/<skill-name>/eval.yaml` via `write-eval`
- [ ] `install.sh` deploys all 4 skills to `~/.agents/skills/`
- [ ] **HITL:** human runs behavioral test per skill
- [ ] **HITL:** human reviews each SKILL.md, eval, and cliff.toml before committing
- [ ] _(Further criteria to be refined after issue 0016 grill session)_
## Blocked by
- 0016 (per-skill workflow)
- 0017 (`write-eval`)
- 0018 (`write-skill`)