idea-analogist
想法群聊室 — 类比者角色。被 idea-team 主编排器调用,或用户单独说"类比一下"、"别的行业有没有"、"yes-and 扩展"、"X…
End-to-end open source contribution workflow: from scanning issues to submitting PRs. Use this skill whenever the user wants to contribute to an open source project, find issues to fix, submit a pull request, fork a repo to contribute, fix a GitHub issue, or mentions 'open
$ npx -y skills add majiayu000/spellbook --skill contributor --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/contributorContext preview
The summary Claude sees to decide when to auto-load this skill.
End-to-end open source contribution workflow: from scanning issues to submitting PRs. Use this skill whenever the user wants to contribute to an open source project, find issues to fix, submit a pull request, fork a repo to contribute, fix a GitHub issue, or mentions 'open
name: contributor description: "End-to-end open source contribution workflow: from scanning issues to submitting PRs. Use this skill whenever the user wants to contribute to an open source project, find issues to fix, submit a pull request, fork a repo to contribute, fix a GitHub issue, or mentions 'open source contribution'. Also trigger when they provide a GitHub repo URL and ask about contributing, say things like 'help me submit a PR', 'find good first issues', 'I want to contribute to X', or mention fixing bugs in someone else's project."
Automated open source contribution workflow that takes you from a GitHub repo URL to merged PRs, with built-in safeguards against common contribution failures.
Open source contributions fail for predictable reasons: fixing in the wrong layer (your PR gets closed because the maintainer preferred an upstream fix), colliding with other contributors, not following project conventions, or over-engineering a simple fix. This workflow prevents each of those failures through systematic pre-checks.
Before writing any code, gather intelligence about the project and its contribution landscape.
Ask the user for:
Use `gh` CLI to find issues worth contributing to:
# Get open issues with metadata gh issue list -R <owner>/<repo> --state open --limit 50 \ --json number,title,labels,assignees,comments # Check for competing PRs on each candidate gh pr list -R <owner>/<repo> --state open \ --search "<issue_number> in:title,body"
**Filter criteria** (apply in order): 1. No assignee 2. No open PR already fixing it (check both linked PRs and title/body search) 3. Fewer than 5 competing PRs 4. Prefer labels: `bug`, `good first issue`, `help wanted` 5. Prefer issues with maintainer comments suggesting a fix direction
For each candidate issue, read the full comment thread:
gh issue view <number> -R <owner>/<repo> --json body,comments
Extract:
This is the single most common failure mode. Before committing to any fix:
# Check if maintainers reference another repo gh issue view <number> -R <owner>/<repo> --json comments \ | grep -i "upstream\|genai-prices\|separate repo\|other repo" # Check related repos for recent PRs mentioning this issue gh pr list -R <owner>/<related-repo> --state open --limit 10 \ --json title,body | grep -i "<issue_number>\|<issue_keywords>"
If there's any signal the fix belongs elsewhere, stop and ask the user before proceeding.
Never submit a PR cold. Always communicate your intent first.
Before writing code, leave a comment on the issue with your proposed approach. This serves two purposes: it claims the work (politely), and it gives maintainers a chance to redirect you before you waste effort.
**Template:**
Hi, I've been looking into this and traced the root cause to <X>. Before I open a PR, I wanted to confirm the preferred approach: A) <approach A — e.g., fix in this repo by modifying X> B) <approach B — e.g., upstream fix in related-repo> I can implement either direction. Happy to adjust based on your preference.
Wait for maintainer response before proceeding to code. If no response after 24-48 hours on an active project, proceed with the most conservative approach (smallest scope fix in the current repo).
Plan to open as a Draft PR first. Convert to ready-for-review only after:
gh repo fork <owner>/<repo> --clone --remote cd <repo>
Don't assume `main`. Check what recent merged PRs target:
gh pr list -R <owner>/<repo> --state merged --limit 10 \ --json baseRefName,mergedAt
Use the most common `baseRefName` from recent merges.
Check these files in order (read whichever exist):
CONTRIBUTING.md .github/CONTRIBUTING.md .github/PULL_REQUEST_TEMPLATE.md .github/PULL_REQUEST_TEMPLATE/
Extract:
ls .github/workflows/
Read the CI config to know what checks will run on your PR. Identify the commands for:
Follow the project's documented setup process. Run the full test suite once to establish a passing baseline before making any changes.
git checkout -b fix/issue-<number>-<short-desc> <base-branch>
Cross-runtime skills for Claude Code, Codex, and multi-agent workflows.
Repo: majiayu000/claude-arsenal
想法群聊室 — 类比者角色。被 idea-team 主编排器调用,或用户单独说"类比一下"、"别的行业有没有"、"yes-and 扩展"、"X…
想法群聊室 — 反方角色。被 idea-team 主编排器调用,或用户单独说"反方意见"、"挑这个想法的刺"、"为什么会失败"、"找漏洞 / 反例"、"devil's…
想法群聊室 — 调研员角色。被 idea-team 主编排器调用,或用户单独说"调研一下 X"、"X 的现状/竞品/数据"、"找 2026 数据"、"事实底"时触发。**用…
端到端产品教练 — 把一句话想法走到 PRD + 可点击 HTML 原型。会顶嘴、强制砍功能、用 Nielsen + Norman 做友好性硬检。Use when user…
Mobile app UI design expert for iOS and Android. Use when designing app interfaces, creating…