skills/code-review-standard/SKILL.md
Evaluation criteria for code review: test quality, implementation quality, naming, consistency, scope and PR descriptions. Use when reviewing code or a pull request. Pairs with comment-format for review comment structure.
npx skillsauth add jitsusama/agentic-harness.pi code-review-standardInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Tests should verify what the code does, not how it does it. Some red flags to watch for:
Good tests describe a behaviour: "returns error when input is empty", "retries on transient failure", "caches result for subsequent calls."
Tests should follow the project's existing patterns. Look for:
For new code:
Code is read far more often than it's written. Check:
Names should come from the problem domain rather than the implementation domain:
processData, handleStuff, doThingvalidateOrder, resolveConflict, applyDiscountremainingAttempts not nSearch the codebase for similar patterns and ask:
Use rg to find similar patterns:
rg "similar_function_name" --type ts
rg "class.*Service" --type ts
rg "export function" path/to/similar/module.ts
Check project-specific conventions:
Large PRs are harder to review well. Some guidelines:
Size alone doesn't determine quality though; a 400-line PR adding a new feature with tests may be perfectly appropriate, while a 100-line PR touching 15 files may be too scattered.
The description should answer these questions for future readers:
Not all feedback is equally important. Here's the priority order:
development
Structure of a quest README and the documents that live under it: frontmatter shape, the four core and four optional body sections, emoji glyphs, ID format, alias notation, Cast bullets and Journey entries. Use when writing or editing a quest README, a plan, research, brief or report document under a quest. Pairs with quest-convention for choices like kind, promotion and reordering. Follow the prose-standard for voice.
tools
Operational conventions for the quest system: when to use a quest versus a subquest versus a sidequest, when to scaffold a plan or research document, how to reorder priorities, when to add optional sections, when to conclude versus retire, the resuscitate pattern. Use when driving the quest tool, deciding kind, promoting or parking work, or organising a project as quests. Pairs with quest-format for the on-disk shape.
development
Markdown structure rules: Title Case headings with their exceptions, the line-width target and its legitimate exceptions, reference-style links, fenced code blocks with language tags, tables and lists. Use when writing or editing any markdown file (README, AGENTS, docs, plans, skill files), or when adding a heading, link, table or code block. Owns markdown structure; pairs with prose-standard, which owns voice, grammar, spelling and punctuation.
tools
How to measure whether convention corrections keep recurring in the pi session logs, by category and by week. Use to record a baseline before the convention gates take effect and to re-run afterwards to confirm the recurring categories bend down. Pairs with the convention gates (pr-guardian, issue-guardian, commit-guardian, slack-integration) and the convention-context extension.