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/c01-draft-first.sh
View on GitHub#!/usr/bin/env bash
# Catalog: C1 — Repo prefers draft PRs first; opening non-draft is anti-pattern
source "$(dirname "$0")/lib/preamble.sh"
gate_read_input
# Only relevant if dossier explicitly says draft_first: true
DRAFT_FIRST=$(fm_field "$GATE_DOSSIER_PATH" "draft_first")
if [[ "$DRAFT_FIRST" != "true" ]]; then
gate_skip "dossier does not require draft-first PRs"
fi
# Candidate's `draft:` field is set by the writer subagent (Slice 3)
DRAFT=$(fm_field "$GATE_CANDIDATE_PATH" "draft")
if [[ -z "$DRAFT" ]]; then
gate_skip "draft preference unknown — fill in candidate's \`draft:\` field before opening"
fi
if [[ "$DRAFT" == "false" ]]; then
gate_block "this repo prefers draft PRs first but candidate has draft: false" "this repo prefers draft PRs first; pass --draft to gh pr create OR set draft: true in the candidate"
fi
gate_pass "candidate set to open as draft (draft: true)"
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 |