| name | code-review |
| description | Code review a pull request. Usage: /code-review <PR number> |
Code Review — Formula Boss
Review a PR for code quality and adherence to spec/plan.
Arguments
/code-review <PR number> — Review the specified pull request
Instructions
- Read the PR:
gh pr view <number> -R TagloGit/taglo-formula-boss --json title,body,url
- Find the linked issue from the PR body (look for "Closes #N")
- Read the issue:
gh issue view <number> -R TagloGit/taglo-formula-boss --json title,body
- If the issue references a spec or plan, read those files
- Review the diff:
gh pr diff <number> -R TagloGit/taglo-formula-boss
- Assess:
- Does the code match the plan?
- Are there tests? Are they meaningful?
- Does it follow .NET 6 / C# 10 conventions (file-scoped namespaces,
_camelCase fields)?
- Any ExcelDNA assembly identity issues in generated code?
- Delegate bridge pattern used correctly (no host type references in bridge classes)?
- COM objects released properly via
Marshal.ReleaseComObject()?
- Any obvious bugs or edge cases?
- Report findings
Output Format
### PR Review: #N — [title]
**Plan Compliance:** [Good/Partial/Poor] — [brief note]
**Test Coverage:** [Good/Partial/None] — [brief note]
**Code Quality:** [observations]
**Issues Found:** [list or "None"]
**Recommendation:** [Approve / Request Changes / Needs Discussion]
Behaviour Notes
- Do NOT write code or make changes
- Do NOT merge PRs
- Be constructive — flag issues but also note what's done well
Self-Improvement
When you notice a recurring problem or workflow gap:
- Create a
process issue on TagloGit/taglo-pm describing the observation
- Continue your current work