Skip to content
Back to skills

Gos Review

ASecurity

Use when reviewing completed code — two-phase review (spec compliance first, then code quality). Run gos gate coverage to audit decisions. Never skip Phase 1.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 6, 2026
ai-agentsgobashcode-reviewsecurity

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned November 6, 2026

npx -y skills add chenw521/GOS --skill gos-review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Gos Review?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Gos Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/chenw521-gos-review/badge)](https://www.skillsdirectory.com/skills/chenw521-gos-review)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: gos-review
description: "Use when reviewing completed code — two-phase review (spec compliance first, then code quality). Run gos gate coverage to audit decisions. Never skip Phase 1."
---

# GOS REVIEW — Two-Phase Code Review

<HARD-GATE>
Review spec compliance (Phase 1) BEFORE code quality (Phase 2).
It doesn't matter how good the code is if it solves the wrong problem.
</HARD-GATE>

## Quick Start

```bash
gos instructions review    # decision inventory + requirement status for audit
```

## Semantic Closure Consumption (Phase D)

When reviewing changes to `bin/gos.cjs` or any file named in a task's Files:
1. Run `gos map closure <changed-file> --semantic` — the must-check set names files whose
   correctness your reviewed change co-determines (calls/contracts/hand edges). A review
   that ignores a listed dependent is incomplete.
2. The must-run section list (hunk→fn→cmd) defines minimum test evidence: cite it in the
   review verdict. Missing runs → finding, not opinion.
3. `gos map edge verify` failing (hand edit / stale freeze) is an automatic MAJOR finding —
   integrity anchors are non-negotiable.

## Progressive Disclosure

| When | Do | Read for detail |
|:---|:---|:---|
| Entering REVIEW | Read state.json decisions + build_summary | — |
| Curated concerns | `gos context review` read_files includes non-empty `.gos/concerns.md` — READ it; stale/resolved entries → `gos concerns prune --contains <substring>` (anchored, auditable); never hand-edit (anchor locks) | — |
| Phase 1: D-NN audit | **Dispatch `prompts/spec-reviewer.md`** (fresh-context, assume omission) or run inline | `prompts/spec-reviewer.md` |
| Phase 1: R-NN audit | For each R-NN: shipped? evidence? | — |
| Phase 1: scope check | Deferred Ideas NOT implemented? | — |
| Phase 1 FAIL | Return to BUILD with specific issues | — |
| Phase 2: quality | **Dispatch `prompts/code-quality-reviewer.md`** or agents/code-reviewer | `prompts/code-quality-reviewer.md` + `reference/review-checklists.md` |
| Phase 2: severity | Critical/Major must fix; Minor can defer | `reference/review-checklists.md` |
| Phase 2 FAIL | Return to BUILD with findings | — |
| Writing review report | Use skeleton `../../templates/review-checklist.md` | — |
| Exiting REVIEW | `gos commit review` | — |

## State

**Read:** state.json (decisions, requirements, build_summary)
**Write:** state.json (review_findings: severity, issue, status)

## Exit Gate

All Critical/Major fixed → `gos commit review`.

## Anti-Rationalization (top 3)

| Excuse | Reality |
|:---|:---|
| "Code looks fine, skip to VERIFY" | Phase 1 catches wrong-thing-built. Do both. |
| "That Critical isn't really critical" | Security/spec/data = Critical. No negotiation. |
| "Minor issues can wait" | True, but log them. Unlogged = forgotten. |

Files in this skill

  • SKILL.md2.8 KB
  • agents/code-reviewer.md1.5 KB
  • prompts/code-quality-reviewer.md1.5 KB
  • prompts/spec-reviewer.md1.3 KB
  • reference/review-checklists.md1.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.