idea-analogist
想法群聊室 — 类比者角色。被 idea-team 主编排器调用,或用户单独说"类比一下"、"别的行业有没有"、"yes-and 扩展"、"X 让你想到什么"、"跨界启示"时触发。**专门做跨界类比 + yes-and…
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
Claude Code
$ npx -y skills add majiayu000/spellbook --skill contributor --agent claude-code
Codex
$ npx skills add majiayu000/spellbook --skill contributor -a codex -y
Cursor
$ npx skills add majiayu000/spellbook --skill contributor -a cursor -y
Gemini CLI
$ npx skills add majiayu000/spellbook --skill contributor -a gemini-cli -y
GitHub Copilot
$ npx skills add majiayu000/spellbook --skill contributor -a github-copilot -y
OpenCode
$ npx skills add majiayu000/spellbook --skill contributor -a opencode -y
Windsurf
$ npx skills add majiayu000/spellbook --skill contributor -a windsurf -y
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>
想法群聊室 — 类比者角色。被 idea-team 主编排器调用,或用户单独说"类比一下"、"别的行业有没有"、"yes-and 扩展"、"X 让你想到什么"、"跨界启示"时触发。**专门做跨界类比 + yes-and…
想法群聊室 — 反方角色。被 idea-team 主编排器调用,或用户单独说"反方意见"、"挑这个想法的刺"、"为什么会失败"、"找漏洞 / 反例"、"devil's…
想法群聊室 — 调研员角色。被 idea-team 主编排器调用,或用户单独说"调研一下 X"、"X 的现状/竞品/数据"、"找 2026 数据"、"事实底"时触发。**用 WebSearch 拉真实 2026…
想法群聊室主持人 — 把一句话想法丢给多角色 AI 团队(调研员/反方/类比者)做查漏补缺。每个角色有自己的 voice,他们互相 @ 接话;你随时插话。**这是创意扩展工具,不打分、不否决、不堵路**。Use when…
端到端产品教练 — 把一句话想法走到 PRD + 可点击 HTML 原型。会顶嘴、强制砍功能、用 Nielsen + Norman 做友好性硬检。Use when user 说"我有一个想法"、"想做一个产品"、"做 MVP"、"写…
Mobile app UI design expert for iOS and Android. Use when designing app interfaces, creating design systems, ensuring…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.