feat: add code-review-checklist skill for code review guidance - #1172
feat: add code-review-checklist skill for code review guidance#1172AbhijitK20 wants to merge 1 commit into
Conversation
|
Thanks for the follow-up on #903 and for narrowing scope to a single skill — that's the right instinct. The problem is substance, not format: this checklist asserts specific facts about the codebase (e.g. the Separately, most of sections 1, 2, 4, and 5 (no If you want to make this land, the path is: verify every concrete claim (file paths, the import cycle, the session state machine) against actual current source, cite them accurately, and drop the generic boilerplate so the skill is dense with things a generic checklist wouldn't already tell a reviewer. As it stands, this risks pointing reviewers at files or invariants that may not exist or may be stale, which is worse than no checklist at all. |
Adds a structured review checklist specific to the freebuff codebase. Covers correctness, TypeScript conventions, security, testing, freebuff-specific invariants, and key files to watch. This is a single skill (not the three-skill bundle from the original PR CodebuffAI#903) and references actual repo conventions from AGENTS.md.
936ef89 to
fa4d4f1
Compare
|
Thanks for the direct feedback. Rewrote the skill from scratch based on your two main points: 1. Verified every claim against current source
2. Removed generic boilerplateDropped sections on "no What's left is dense, verified, and specific:
Every claim now has a verified source path. No generic advice remains. |
Summary
Adds a single
code-review-checklistskill to the initial agents directory. This is a recreation of #903 (auto-closed by history rewrite), addressing the feedback from that PR.What changed from #903
code-review-checklist(the original bundled 3 unrelated skills)AGENTS.md, known import cycles, free session invariants, and key files to watchproject-files → auth → logger → project-files)" and "bun:test, not jest"Skill content
The checklist covers:
IS_FREEBUFFguards, session state transitions, one-instance-per-accountauth.ts,freebuff-session-store.ts,use-freebuff-session.ts, etc.Location
common/src/templates/initial-agents-dir/skills/code-review-checklist/SKILL.mdFollows the existing
example-skillconvention with YAML frontmatter matching theSKILL.mdschema documented in the skills README.Links to original PR: #903