Skip to content

ericrisco/rsc-harness / skills/implement

implement

Verified

Use when an approved plan and task list exist and it is time to turn them into working, reviewed code — ASDD stage 4, the per-task loop after `analyze`: TDD build and self-check, `rsc risk` on the diff, review scaled by tier (0/1/3 reviewers), mandatory controls (tests, build, security, traceability), at most 3 fix rounds, then fix-and-record or park in the decision queue. Progress ledger survives compaction; disjoint tasks fan out via `parallel`. NOT spec writing (that is `specify`), NOT planning (that is `plan`), NOT the closing whole-branch gate (stage 5: `verify` + `review`).

FileKindSize
SKILL.mdskill md24.4 KB
evals/README.mdmarkdown3.1 KB
evals/cases.yamlconfig5.1 KB
references/per-task-review.mdmarkdown4.3 KB
scripts/review-packageexecutablescript1.6 KB
scripts/sdd-workspaceexecutablescript1.3 KB
scripts/task-briefexecutablescript3.4 KB

scripts/review-package

View on GitHub
#!/bin/sh
# review-package BASE HEAD
# Writes one uniquely-named file into the sdd-workspace dir containing:
#   (a) git log --oneline BASE..HEAD
#   (b) git diff --stat BASE..HEAD
#   (c) git diff -U10 BASE..HEAD
# Prints the file path to stdout.
#
# CRITICAL: uses the provided BASE..HEAD range — never HEAD~1.
# Validates that both args are valid git revisions before proceeding.

set -e

# Resolve the directory of this script portably.
_SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"

usage() {
  printf 'Usage: review-package <BASE> <HEAD>\n' >&2
  printf '  BASE and HEAD must be valid git revisions.\n' >&2
  exit 1
}

if [ $# -lt 2 ]; then
  printf 'error: review-package requires BASE and HEAD arguments\n' >&2
  usage
fi

BASE="$1"
HEAD="$2"

# Validate both revisions.
if ! git rev-parse --verify "$BASE" >/dev/null 2>&1; then
  printf 'error: BASE "%s" is not a valid git revision\n' "$BASE" >&2
  exit 1
fi
if ! git rev-parse --verify "$HEAD" >/dev/null 2>&1; then
  printf 'error: HEAD "%s" is not a valid git revision\n' "$HEAD" >&2
  exit 1
fi

# Resolve short shas for a deterministic, collision-resistant file name.
BASE_SHORT="$(git rev-parse --short "$BASE")"
HEAD_SHORT="$(git rev-parse --short "$HEAD")"

# Get the scratch workspace dir.
SCRATCH="$(sh "$_SCRIPT_DIR/sdd-workspace")"

OUT="$SCRATCH/review-${BASE_SHORT}-${HEAD_SHORT}.txt"

{
  printf '## Commits %s..%s\n\n' "$BASE" "$HEAD"
  git log --oneline "${BASE}..${HEAD}"
  printf '\n## Diff stat\n\n'
  git diff --stat "${BASE}..${HEAD}"
  printf '\n## Diff\n\n'
  git diff -U10 "${BASE}..${HEAD}"
} > "$OUT"

printf '%s\n' "$OUT"
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 470kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 470kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 470kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall