sno-ai/sno-station-skills / skills/J-peer-review-and-audit/peer-review/skill
peer-review
VerifiedAdversarial review and fix loop for code, specs, plans, and migration manifests.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 32.7 KB |
| agents/openai.yaml | config | 216 B |
| assets/adversarial-plan-review.prompt.md | markdown | 11.0 KB |
| assets/adversarial-review.prompt.md | markdown | 12.0 KB |
| assets/adversarial-test-review.prompt.md | markdown | 3.5 KB |
| references/code-layers.md | markdown | 5.4 KB |
| references/doc-layers.md | markdown | 5.5 KB |
| references/python-advanced-patterns.md | markdown | 7.8 KB |
| references/python-standards.md | markdown | 8.3 KB |
| references/ts-standards.md | markdown | 7.1 KB |
| scripts/lib/sno-model.sh | script | 1.5 KB |
| scripts/review-backfill.shexecutable | script | 4.7 KB |
| scripts/review-findings.shexecutable | script | 11.7 KB |
| scripts/review-receipt.shexecutable | script | 5.3 KB |
| scripts/run-adversarial-review.shexecutable | script | 57.6 KB |
| scripts/selftest/cursor-process-group.t | other | 2.0 KB |
| scripts/selftest/run-cross-vendor.sh | script | 14.5 KB |
| scripts/selftest/run-model-settings.shexecutable | script | 5.1 KB |
| scripts/selftest/run-selftest.shexecutable | script | 39.2 KB |
scripts/lib/sno-model.sh
View on GitHub#!/usr/bin/env bash
# Sourced library: preserve the caller's shell options.
# Flat TOML: [models], bare role keys, single/double quoted values, inline comments.
sno_model() {
local role="${1:-}" file="${XDG_CONFIG_HOME:-$HOME/.config}/sno/models.toml"
[[ "$role" =~ ^[a-z][a-z0-9_-]*$ ]] || {
printf 'sno_model: expected a role name\n' >&2
return 2
}
[[ -f "$file" ]] || return 0
awk -v role="$role" '
/^[[:space:]]*\[/ {
models = ($0 ~ /^[[:space:]]*\[models\][[:space:]]*(#.*)?$/)
next
}
models && $0 ~ "^[[:space:]]*" role "[[:space:]]*=" {
value = $0
sub(/^[^=]*=[[:space:]]*/, "", value)
quote = substr(value, 1, 1)
if (quote != "\"" && quote != sprintf("%c", 39)) exit 2
value = substr(value, 2)
end = index(value, quote)
if (!end || substr(value, end + 1) !~ /^[[:space:]]*(#.*)?$/) exit 2
value = substr(value, 1, end - 1)
if (length(value)) print value
exit
}
' "$file" || {
printf 'sno_model: cannot read role %s from %s; check its quoted value\n' "$role" "$file" >&2
return 2
}
}
# Display helper only; callers build argument arrays to preserve word boundaries.
sno_model_flag() {
local model
[[ $# -eq 2 && -n "$2" ]] || return 2
model="$(sno_model "$1")" || return "$?"
[[ -z "$model" ]] || printf '%s %s\n' "$2" "$model"
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirements | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |
| verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always | Stars: 323k | Updated | Claude CodeCodex | Verified | Install |