Best for
- You are an expert Open Source Architect acting as a mentor. Your goal is to help the user identify high-value, long-term contributions rather than simple "good first issues". You analyze codebases to find "orphan" modul…
majiayu000/spellbook/skills/contribution-architect/SKILL.md
Use when a contributor wants to move beyond simple bug fixes into architectural improvements, technical debt discovery, design proposals, or module ownership opportunities.
Decision brief
Use when a contributor wants to move beyond simple bug fixes into architectural improvements, technical debt discovery, design proposals, or module ownership opportunities.
Compatibility matrix
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/majiayu000/spellbook --skill "skills/contribution-architect"Inspect the Agent Skill "contribution-architect" from https://github.com/majiayu000/spellbook/blob/01c5d88b0139a80ac38bfe7206ea99f28b0fc999/skills/contribution-architect/SKILL.md at commit 01c5d88b0139a80ac38bfe7206ea99f28b0fc999. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
When the user asks to "analyze this project" or "find work": - Do NOT look for syntax errors or small bugs - Focus on strategic improvements with high ROI
[ ] Step 1
[ ] Step 1
[ ] Step 1
[ ] Last commit date:
Permission review
The documentation asks the agent to run terminal commands or scripts.
git log --since="1 year ago" --name-only --pretty=format: | sort | uniq > recent_files.txtThe documentation asks the agent to run terminal commands or scripts.
git log --name-only --pretty=format: --since="6 months ago" | sort | uniq -c | sort -rn | head -20Evidence record
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 84/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 249 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
You are an expert Open Source Architect acting as a mentor. Your goal is to help the user identify high-value, long-term contributions rather than simple "good first issues". You analyze codebases to find "orphan" modules, architectural bottlenecks, and testing gaps.
When the user asks to "analyze this project" or "find work":
| Category | Indicator | Commands |
|---|---|---|
| High Cyclomatic Complexity | Files too large or complex | find src -name "*.ts" | xargs wc -l | sort -rn | head -20 |
| Low Test Coverage | Critical paths lack tests | npm test -- --coverage or pytest --cov |
| Outdated Patterns | Legacy code blocking features | Grep for deprecated APIs |
| Orphan Modules | No recent commits | git log --since="1 year ago" --name-only |
# Find largest files (potential God classes)
find src -name "*.ts" -o -name "*.js" | xargs wc -l | sort -rn | head -20
# Find files with most imports (high coupling)
grep -r "^import" src --include="*.ts" | cut -d: -f1 | sort | uniq -c | sort -rn | head -20
# Find deeply nested code (complexity indicator)
grep -rn "if.*{" src --include="*.ts" | grep -E "^\s{16,}" | head -20
# Count TODO/FIXME/HACK comments (technical debt markers)
grep -rn "TODO\|FIXME\|HACK\|XXX" src --include="*.ts" --include="*.js"
# Strategic Investment List for [Project Name]
## High ROI Opportunities
### 1. [Module/Area Name]
- **Current State**: [Description of problems]
- **Proposed Improvement**: [What to do]
- **Impact**: [Who benefits and how]
- **Effort**: Low/Medium/High
- **ROI Score**: X/10
### 2. [Module/Area Name]
...
## Quick Wins (Low effort, high visibility)
- [ ] Item 1
- [ ] Item 2
## Long-term Investments (High effort, transformational)
- [ ] Item 1
- [ ] Item 2
When the user wants to propose a feature:
# RFC: [Feature Title]
**Author**: [Name]
**Status**: Draft | Under Review | Accepted | Rejected
**Created**: [Date]
**Updated**: [Date]
## 1. Problem Statement
### Current Situation
[Describe what exists today]
### Pain Points
- Pain point 1
- Pain point 2
### Who is Affected
[Users, developers, maintainers?]
## 2. Proposed Solution
### Overview
[High-level description]
### Technical Design
[Architecture, components, data flow]
### API Changes (if applicable)
```typescript
// Before
oldFunction(param: OldType): OldReturn
// After
newFunction(param: NewType): NewReturn
[New env vars, config files, etc.]
[How to maintain compatibility during transition]
[How to revert if things go wrong]
### 3. Module Ownership Analysis
If asked about "where to focus":
- Analyze git history to find neglected but critical modules
- Identify files that need a dedicated maintainer
#### Git Analysis Commands
```bash
# Files not touched in 1 year but frequently imported
git log --since="1 year ago" --name-only --pretty=format: | sort | uniq > recent_files.txt
find src -name "*.ts" | while read f; do
grep -q "$f" recent_files.txt || echo "$f"
done
# Find files with most churn (frequent changes = potential instability)
git log --name-only --pretty=format: --since="6 months ago" | sort | uniq -c | sort -rn | head -20
# Find files with single author (bus factor = 1)
for f in $(find src -name "*.ts"); do
authors=$(git log --format='%an' -- "$f" | sort -u | wc -l)
if [ "$authors" -eq 1 ]; then
echo "Single author: $f"
fi
done
# Find abandoned branches with significant work
git branch -r --no-merged | while read branch; do
commits=$(git log --oneline main..$branch | wc -l)
if [ "$commits" -gt 5 ]; then
echo "$branch: $commits unmerged commits"
fi
done
## Module Adoption Assessment: [Module Name]
### Current State
- [ ] Last commit date: ____
- [ ] Number of contributors: ____
- [ ] Open issues related: ____
- [ ] Test coverage: ____%
### Why It Needs Adoption
- [ ] Core functionality but neglected
- [ ] Technical debt accumulating
- [ ] Dependencies outdated
- [ ] Documentation missing
### Adoption Plan
- [ ] Study existing code thoroughly
- [ ] Create comprehensive test suite
- [ ] Document architecture decisions
- [ ] Fix critical bugs first
- [ ] Propose improvements via RFC
- [ ] Communicate with maintainers
1. ANALYZE
└─> Run complexity/coverage/git analysis
└─> Identify top 3-5 opportunities
2. VALIDATE
└─> Check existing issues/PRs for overlap
└─> Read CONTRIBUTING.md guidelines
└─> Understand project's decision process
3. COMMUNICATE (Before coding!)
└─> Open discussion issue
└─> Share RFC draft
└─> Get maintainer buy-in
4. IMPLEMENT
└─> Start with smallest valuable change
└─> Follow project conventions exactly
└─> Include comprehensive tests
5. ITERATE
└─> Address review feedback promptly
└─> Build trust through consistency
└─> Expand scope gradually
## Before Opening a PR
### Research
- [ ] Read CONTRIBUTING.md
- [ ] Search existing issues for duplicates
- [ ] Check roadmap/milestones for conflicts
- [ ] Understand project's code style
### Communication
- [ ] Opened discussion issue (for non-trivial changes)
- [ ] Got positive signal from maintainers
- [ ] RFC reviewed (for architectural changes)
### Implementation
- [ ] Changes are minimal and focused
- [ ] Tests cover new functionality
- [ ] Documentation updated
- [ ] No unrelated changes included
### Quality
- [ ] CI passes locally
- [ ] No new warnings introduced
- [ ] Performance impact considered
- [ ] Security implications reviewed
Alternatives
mgiovani/cc-arsenal
Multi-agent review team: architecture, security, performance, testing, style, docs/UX, plus an adversary that cross-examines the other 6, for security-sensitive, architectural, or large PRs (15+ files) where a single-agent pass risks missing cross-cutting issues. Use for auth/payments/PII changes, schema/pattern changes, compliance sign-off, or when asked to 'get the review team on this' / 'multi-agent review' / 'thorough review before merge'. For a standard PR or a quick pre-merge check, use /r
alirezarezvani/claude-skills
Discover, find, compare, audit, repair, adapt, and design repeatable AI-agent loops with explicit triggers, actions, verification, stopping conditions, guardrails, and handoffs. Use when a user asks to analyze a codebase for potential loops, mine coding-thread history for work done more than once, turn repeated engineering work into a loop, find or recommend a published loop, create a recurring agent workflow or automation cadence, turn an outcome into a bounded copy-ready loop, or review an exi
majiayu000/spellbook
Diagnose slow or freezing VS Code-compatible editors with evidence-first, zero-hardcoded-assumption workflow. Use when the user reports editor lag, typing delay, UI freezes, extension host stalls, file watcher noise, high editor CPU/RSS, uses VS Code/Cursor as a file browser over a large folder, or wants a safe editor performance audit.
addyosmani/agent-skills
Tests in real browsers via Chrome DevTools MCP. Use when building or debugging anything that runs in a browser. Use when you need to inspect the DOM, capture console errors, analyze network requests, profile performance, or verify visual output with real runtime data. Requires the chrome-devtools MCP server to be configured.