jeremylongshore/tons-of-skills-marketplace / plugins/community/contributing-clanker/skills/contribute-prepare
contribute-prepare
VerifiedPrepare an OSS contribution locally after a read-only contribution audit. Creates explicitly scoped candidate records, repository dossiers, worktrees, test evidence, and gate results, but never publishes to GitHub. Use when the user has selected an issue and asks to set up, research, implement, test, or draft the contribution. Trigger with "/contribute-prepare" or "prepare this contribution locally".
scripts/check.sh
View on GitHub#!/usr/bin/env bash
# Read-only readiness check for contribute-prepare.
set -euo pipefail
STATE_DIR="${CONTRIBUTE_STATE_DIR:-}"
WORKSPACE_DIR="${CONTRIBUTE_WORKSPACE_DIR:-}"
while [[ $# -gt 0 ]]; do
case "$1" in
--state-dir) STATE_DIR="${2:-}"; shift 2 ;;
--workspace-dir) WORKSPACE_DIR="${2:-}"; shift 2 ;;
*) printf 'unknown option: %s\n' "$1" >&2; exit 64 ;;
esac
done
check_path() {
local label="$1" value="$2"
[[ -n "$value" ]] || { printf '%s: unset\n' "$label"; return 1; }
[[ "$value" == /* && "$value" != "/" && "$value" != "$HOME" ]] || {
printf '%s: unsafe (%s)\n' "$label" "$value"
return 1
}
[[ -d "$value" ]] || { printf '%s: missing (%s)\n' "$label" "$value"; return 1; }
printf '%s: ok (%s)\n' "$label" "$value"
}
status=0
check_path state-dir "$STATE_DIR" || status=1
check_path workspace-dir "$WORKSPACE_DIR" || status=1
command -v git >/dev/null 2>&1 || { printf 'git: missing\n'; status=1; }
command -v jq >/dev/null 2>&1 || { printf 'jq: missing\n'; status=1; }
gh auth status >/dev/null 2>&1 || { printf 'gh: unavailable or unauthenticated\n'; status=1; }
exit "$status"
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| 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: 472k | Updated | Claude CodeCodex | Verified | Install |
| 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: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |