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/gates/c02-pr-title-format.sh
View on GitHub#!/usr/bin/env bash
# Catalog: C2 — PR title violates repo-required regex
# Mitigates: maintainer immediately requests rename, signals "didn't read CONTRIBUTING".
source "$(dirname "$0")/lib/preamble.sh"
gate_read_input
if [[ -z "$GATE_DOSSIER_PATH" || ! -f "$GATE_DOSSIER_PATH" ]]; then
gate_skip "no dossier — cannot determine pr_title_regex"
fi
REGEX=$(fm_field "$GATE_DOSSIER_PATH" "pr_title_regex")
if [[ -z "$REGEX" ]]; then
gate_skip "dossier has no pr_title_regex"
fi
# Try frontmatter first
TITLE=$(fm_field "$GATE_CANDIDATE_PATH" "pr_title")
# Fall back to ## PR title section (single line content)
if [[ -z "$TITLE" ]]; then
TITLE=$(/usr/bin/awk '/^## PR title/{flag=1;next} /^## /{flag=0} flag' "$GATE_CANDIDATE_PATH" 2>/dev/null \
| /usr/bin/grep -m1 -v '^[[:space:]]*$' \
| /usr/bin/sed 's/^[[:space:]]*//;s/[[:space:]]*$//' \
|| /usr/bin/echo "")
fi
if [[ -z "$TITLE" ]]; then
gate_skip "no PR title in candidate (frontmatter or ## PR title section)"
fi
if /usr/bin/printf '%s' "$TITLE" | /usr/bin/grep -qE "$REGEX"; then
gate_pass "PR title matches required regex"
fi
gate_block "PR title '$TITLE' does not match required regex /$REGEX/" "rename PR title to match /$REGEX/ per CONTRIBUTING.md"
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 |