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/sdd-workspace

View on GitHub
#!/bin/sh
# sdd-workspace — ensures a self-ignoring scratch dir for ephemeral briefs/diffs/reports
# and prints its absolute path to stdout. Idempotent.
#
# Usage: sdd-workspace [DIR_OVERRIDE]
#   $1  optional explicit dir override; if provided, use that dir instead of auto-detecting.
#
# Auto-detection: if a 02-DOCS dir exists at repo root, use 02-DOCS/wiki/sdd/.scratch/
# Otherwise fall back to ${TMPDIR:-/tmp}/rsc-sdd-<pid>.

set -e

if [ -n "$1" ]; then
  SCRATCH="$1"
else
  # Walk up from cwd to find repo root (where 02-DOCS lives), or just use cwd.
  _find_repo_root() {
    _dir="$PWD"
    while [ "$_dir" != "/" ]; do
      if [ -d "$_dir/02-DOCS" ]; then
        printf '%s' "$_dir"
        return 0
      fi
      _dir="$(dirname "$_dir")"
    done
    # Not found; return empty
    printf ''
  }

  _ROOT="$(_find_repo_root)"

  if [ -n "$_ROOT" ] && [ -d "$_ROOT/02-DOCS" ]; then
    SCRATCH="$_ROOT/02-DOCS/wiki/sdd/.scratch"
  else
    # Use a fixed stable name under TMPDIR so repeated calls return the same path.
    SCRATCH="${TMPDIR:-/tmp}/rsc-sdd-scratch"
  fi
fi

mkdir -p "$SCRATCH"

# Drop a self-ignoring .gitignore so nothing in this dir is ever tracked.
if [ ! -f "$SCRATCH/.gitignore" ]; then
  printf '*\n' > "$SCRATCH/.gitignore"
fi

printf '%s\n' "$SCRATCH"
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: 469kUpdated 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: 469kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 469kUpdated 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