/tsh-review
Agent: Code Reviewer
File: .github/prompts/tsh-review.prompt.md
Performs a structured code review against the implementation plan and feature context.
Usage
/tsh-review <JIRA_ID or task description>
What It Does
- Understands context — Loads
.research.mdand.plan.mdfiles, reviews*.instructions.mdfor project guidelines. - Reviews implementation — Focuses on correctness, code quality, security, testing, and documentation.
- Verifies definition of done — Checks each item from the plan's task definitions; marks completed items.
- Verifies acceptance criteria — Checks each item from the plan's acceptance criteria checklist.
- Summarizes findings — Provides a summary with issues and recommendations.
- Documents results — Adds a "Code Review Findings" section to the plan file.
- Updates changelog — Records that code review was performed.
Skills Loaded
tsh-code-reviewing— Structured review covering correctness, quality, security, testing, best practices, scalability.tsh-implementation-gap-analysing— Compare implementation against the plan for completeness.tsh-technical-context-discovering— Understand project conventions and coding standards.tsh-sql-and-database-understanding— When reviewing database-related changes.
Output
- Updated plan file with checked definition-of-done and acceptance criteria items.
- "Code Review Findings" section added to the plan file.
- Changelog entry indicating code review was performed.
Review Categories
| Category | What It Covers |
|---|---|
| Correctness | Code functions as intended, meets requirements |
| Code Quality | Clean, efficient, maintainable, follows standards |
| Security | No vulnerabilities, proper security measures |
| Testing | Appropriate tests covering necessary scenarios |
| Documentation | Well-documented code with comments |
| Acceptance Criteria | Each item verified individually |