Analyze open-source libraries for contribution readiness. Get a structured report covering codebase structure, lifecycle, issues, and recommended first contributions.
Install via hamkit:
hamkit install library-analyzer/library-analyzer:analyze facebook/react
/library-analyzer:analyze /path/to/local/repoThe skill activates automatically when you mention contribution intent:
- "I want to contribute to facebook/react"
- "Analyze this library for contribution"
- "Help me contribute to tokio-rs/tokio"
- Input parsing — accepts GitHub URL,
owner/reposhorthand, or local path - Data collection — uses
deepwiki-cli(URL mode) or static file analysis (local mode) - Issue collection — fetches open issues via
ghCLI (good-first-issue, help-wanted, recent) - Parallel analysis — 3 specialized agents analyze simultaneously:
- codebase-agent: directory structure, modules, domain keywords
- lifecycle-agent: runtime flow, extension points
- contribution-agent: contribution guide, issue landscape, first contribution recommendations
- Report generation — assembles results into
docs/library-analysis/<name>-<date>.md
The generated report includes 8 sections:
- Directory Structure
- Module Architecture
- Key Concepts
- Lifecycle
- Extension Points
- How to Contribute
- Issue Landscape
- Recommended First Contributions
- deepwiki-cli (required for URL mode):
cargo install deepwiki-cli - gh CLI (optional, for issue collection):
brew install gh && gh auth login
If deepwiki-cli is not installed, clone the repo and use local mode instead.
# Analyze a popular library
/library-analyzer:analyze facebook/react
# Analyze a Rust project
/library-analyzer:analyze tokio-rs/tokio
# Analyze a local clone
/library-analyzer:analyze ./my-local-repo