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/c16-no-self-merge.sh
View on GitHub#!/usr/bin/env bash
# Catalog: C16 — author attempts to merge their own PR
# Mitigates: bypassing maintainer review on a contribution is a hard etiquette violation.
source "$(dirname "$0")/lib/preamble.sh"
gate_read_input
PR_NUM=$(fm_field "$GATE_CANDIDATE_PATH" "pr_number")
if [[ -z "$PR_NUM" || -z "$GATE_REPO" ]]; then
gate_skip "no pr_number or repo in candidate"
fi
PR_AUTHOR=$(gh_safe pr view "$PR_NUM" --repo "$GATE_REPO" --json author --jq '.author.login' || /usr/bin/echo "")
ME=$(gh_safe api user --jq '.login' || /usr/bin/echo "")
if [[ -z "$PR_AUTHOR" || -z "$ME" ]]; then
gate_skip "could not resolve PR author or current user"
fi
if [[ "$PR_AUTHOR" == "$ME" ]]; then
gate_block "you ($ME) authored PR #$PR_NUM — self-merge would bypass maintainer review" "you authored this PR — wait for a maintainer to merge"
fi
gate_pass "PR author ($PR_AUTHOR) differs from current user ($ME)"
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 |