/contributing-clanker:contribute-prepare [owner/repository#issue]from contributing-clanker
Prepares an OSS contribution locally after a read-only audit. Creates candidate records, repository dossiers, worktrees, test evidence, and gate results without publishing to GitHub. Use when the user has selected an issue and asks to set up, research, implement, test, or draft a contribution.
Ships in contributing-clanker. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Prepare and validate contribution work locally. This skill does not post a comment, open or edit an issue, open a pull request, submit a review, push a branch, or merge anything.
Before any write, require both environment variables:
test -n "$CONTRIBUTE_STATE_DIR"
test -n "$CONTRIBUTE_WORKSPACE_DIR"
Do not supply defaults. Ask the user to choose profile-scoped absolute paths, then have them run the explicit setup command:
bash <contribute-prepare-skill-dir>/scripts/setup.sh \
--state-dir "$CONTRIBUTE_STATE_DIR" \
--workspace-dir "$CONTRIBUTE_WORKSPACE_DIR"
Setup is never automatic at install, activation, or prompt load. The script
rejects /, the home directory, relative paths, identical paths, and paths that
contain newline characters.
CONTRIBUTE_STATE_DIR or inside a repository explicitly
cloned or selected below CONTRIBUTE_WORKSPACE_DIR.gh session.gh is read-only here: allow GET APIs, auth status, issue list/view, pr list/view/checks, repo view/clone, and search. Never call GitHub mutation
verbs in this skill.agents/ are optional adapters. Perform the work inline when
the active host does not support them.ready-to-prepare audit result or repeat the read-only checks.scripts/check.sh with both configured paths.$CONTRIBUTE_STATE_DIR/candidates/.$CONTRIBUTE_STATE_DIR/research/ using read-only GitHub requests.$CONTRIBUTE_WORKSPACE_DIR.$CONTRIBUTE_STATE_DIR/test-logs/ and drafts in the
candidate file.scripts/transition.sh ... --dry-run before declaring the work ready.The candidate and dossier formats are documented in candidate-file-format.md and workflow-guide.md.
Return:
No external action has been taken.The next action is an explicit invocation of contribute-publish.
/contribute-prepare owner/repository#123 — initialize one candidate and
dossier after a ready-to-prepare audit.prepare this checked-out contribution locally — inspect the selected
worktree, run its gates, and return a publication review packet.draft the Design Issue but do not post it — create only the local draft and
evidence packet.| Condition | Response |
|---|---|
| Either path variable is unset | Stop before writing and request explicit configuration |
| A configured path fails safety validation | Stop; do not create or remove anything |
| Repository policy is missing or ambiguous | Keep preparation local and report the missing evidence |
| Tests fail | Preserve logs, report failures, and do not route to publication |
| A GitHub write is requested | Stop and route to contribute-publish |
scripts/setup.sh — explicit, path-validated initializationscripts/check.sh — read-only readiness checkscripts/transition.sh — local gate and candidate transition engineagents/ — optional host adaptersassets/ — local draft and evidence templatesagents/draft-writer.md (opens in a new tab)agents/repo-analyzer.md (opens in a new tab)agents/researcher.md (opens in a new tab)agents/scout.md (opens in a new tab)agents/test-runner.md (opens in a new tab)assets/claim-template.md (opens in a new tab)assets/evidence-template.md (opens in a new tab)assets/pr-template.md (opens in a new tab)references/candidate-file-format.md (opens in a new tab)references/workflow-guide.md (opens in a new tab)scripts/audit-overrides.sh (opens in a new tab)scripts/catalog-coverage.sh (opens in a new tab)scripts/check.sh (opens in a new tab)scripts/gate-runner.sh (opens in a new tab)scripts/gates/a01-already-assigned.sh (opens in a new tab)scripts/gates/a02-already-shipped.sh (opens in a new tab)scripts/gates/a03-duplicate-flagged.sh (opens in a new tab)scripts/gates/a04-issue-age.sh (opens in a new tab)scripts/gates/a05-issue-still-open.sh (opens in a new tab)scripts/gates/a06-claim-etiquette-required.sh (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
inherithighThree short reads, in order
oss, contribution-preparation, github-cli, local-development
3 skills in this plugin
/contributeRead-only OSS contribution audit and routing skill. Inspects public GitHub
issues, pull requests, repository policy, duplicate work, and contribution
readiness without creating files or changing GitHub state. Use when a user
asks what is in flight, whether an issue is suitable, or wants a safe first
look before preparing or publishing a contribution. Trigger with
"/contribute", "audit my contributions", or "qualify this issue".
/contribute-publishPublish one prepared OSS contribution action to GitHub after a fresh human
approval boundary. Shows the exact target, content, command, commit, and test
evidence before any mutation. Use when local preparation is complete and
the user explicitly asks to post a claim, create a Design Issue, comment, push
a branch, or open a pull request. Trigger with "/contribute-publish" or
"publish this prepared contribution".
npx claudepluginhub jeremylongshore/tons-of-skills-marketplace --plugin contributing-clankerOther plugins' skills for the same job