github-review
SKILL.md
GitHub Review Skill
github-review focuses on review quality and publishing rules.
Context acquisition details are owned by ghx.
Prerequisites
ghCLI authentication is required.- Prefer
ghxfor context and publish operations. GITHUB_TOKEN/GH_TOKENneeds permissions to read PR data and publish reviews/comments.
Runtime Paths
GITHUB_OUTPUT_DIR: output artifacts directory (caller-provided preferred; otherwise temp dir).GITHUB_CONTEXT_DIR: context directory (default${GITHUB_OUTPUT_DIR}/github-context).
Inputs (Manifest-First)
Required input:
${GITHUB_CONTEXT_DIR}/manifest.jsonfromghx context collect.
Optional inputs:
- Any context artifact listed as
status=presentinmanifest.json.
This skill must not assume fixed context filenames.
Use manifest.artifacts[] (id, path, status, description) to determine available context.
Workflow
1. Collect context
Preferred:
skills/ghx/scripts/ghx.sh context collect <pr_ref>
Fallback:
- Direct
ghcommands only ifghxis unavailable; still produce equivalent manifest contract.
2. Perform review
Generate:
${GITHUB_OUTPUT_DIR}/review.md${GITHUB_OUTPUT_DIR}/review.json${GITHUB_OUTPUT_DIR}/summary.md- Optional
${GITHUB_OUTPUT_DIR}/manifest.json(execution metadata)
3. Publish review
Preferred:
skills/ghx/scripts/ghx.sh review publish --pr=<owner/repo#num> --body-file=review.md --comments-file=review.json
Fallback:
- Direct GitHub API only when primary publish clearly failed.
Review Standards
Scope and priority
Review focus order:
- Correctness bugs
- Security/safety issues
- Performance/scalability risks
- API compatibility and error handling
- High-impact maintainability issues
Incremental-first
- Prioritize newly introduced changes (new commits and new diff hunks).
- Expand scope only when needed to validate correctness or safety.
Historical deduplication
- Check existing review threads/comments before raising findings.
- Do not repeat already-raised issues unless there is new evidence or changed impact.
- If re-raising, explain the delta briefly.
Keep signal high
- Avoid low-value style nitpicks unless they affect behavior/maintainability.
- Keep feedback concise, specific, and actionable.
- Prefer fewer high-impact findings over exhaustive noise.
Output Contract
review.md
Human-readable review summary containing:
- conclusion-first summary
- key findings ordered by severity
- actionable recommendations
review.json
Structured inline findings:
[
{
"path": "path/to/file.go",
"line": 42,
"severity": "error|warn|nit",
"message": "Issue description",
"suggestion": "Optional concrete fix"
}
]
Severity semantics:
error: must-fix before mergewarn: should-fixnit: optional improvement
summary.md
Short execution summary:
- reviewed ref/head
- context coverage summary from manifest
- number of findings and publish outcome
- explicit degradation/failure reason when context is insufficient
Degradation Rules
- If core review artifacts are missing (for example
pr_metadata,diffandfilesboth unavailable), do not fabricate certainty. - Either:
- produce summary-only review with explicit limitations and no inline comments, or
- fail with clear reason in
summary.md.
Publishing Guardrails
- Publish at most one review per execution round.
- A successful primary publish is terminal; do not run alternate publish paths.
- Before fallback publish, check whether an equivalent Holon review already exists for the same head SHA and skip if present.
Configuration
DRY_RUN=true: preview only.MAX_INLINE=N: cap inline comments.POST_EMPTY=true: allow posting empty review.
Notes
github-reviewdefines review standards and output expectations.ghxdefines context collection structure and artifact semantics.
Weekly Installs
5
Repository
holon-run/holonGitHub Stars
76
First Seen
Feb 28, 2026
Security Audits
Installed on
gemini-cli5
opencode5
codebuddy5
github-copilot5
codex5
kimi-cli5