{"id":46292075,"url":"https://github.com/propstreet/claude-powerpack","last_synced_at":"2026-04-02T00:53:05.665Z","repository":{"id":324023359,"uuid":"1095642724","full_name":"propstreet/claude-powerpack","owner":"propstreet","description":"Essential productivity tools for Claude Code: expert consultation docs, code extraction, and more","archived":false,"fork":false,"pushed_at":"2026-03-13T10:53:13.000Z","size":85,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-13T22:51:33.996Z","etag":null,"topics":["claude-code","claude-plugin","code-extraction","developer-tools","expert-consultation","productivity"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/propstreet.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-13T10:22:26.000Z","updated_at":"2026-03-13T10:50:00.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/propstreet/claude-powerpack","commit_stats":null,"previous_names":["propstreet/claude-powerpack"],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/propstreet/claude-powerpack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/propstreet%2Fclaude-powerpack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/propstreet%2Fclaude-powerpack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/propstreet%2Fclaude-powerpack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/propstreet%2Fclaude-powerpack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/propstreet","download_url":"https://codeload.github.com/propstreet/claude-powerpack/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/propstreet%2Fclaude-powerpack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30623653,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-17T11:26:08.186Z","status":"ssl_error","status_checked_at":"2026-03-17T11:24:37.311Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["claude-code","claude-plugin","code-extraction","developer-tools","expert-consultation","productivity"],"created_at":"2026-03-04T08:32:03.242Z","updated_at":"2026-04-02T00:53:05.428Z","avatar_url":"https://github.com/propstreet.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Claude Powerpack\n\n\u003e Essential productivity tools for Claude Code: deep codebase analysis agent, expert consultation docs, code extraction, PR workflows, and more\n\n[![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n[![Version](https://img.shields.io/badge/version-2.1.0-green.svg)](https://github.com/propstreet/claude-powerpack/releases)\n\n## Features\n\n### Code Researcher Agent\n\nDeep codebase analysis specialist for answering complex questions about code:\n\n- **Execution Flow Tracing**: Follows call chains across frontend/backend boundaries through every layer\n- **Usage Pattern Finding**: Quantified counts with file:line references\n- **Architecture Mapping**: Full hierarchies with ASCII diagrams\n- **Inconsistency Auditing**: Severity-rated findings across all consumer layers\n- **Structural Search**: ast-grep for AST-level pattern matching\n- **Git Investigation**: History, blame, evolution tracking\n\n### Debrief Skill\n\nEnd-of-session learning capture with progressive disclosure:\n\n- **Session Analysis**: Scans conversation for mistakes, corrections, discoveries, and decisions\n- **Doc Audit**: Checks CLAUDE.md, .claude/rules/, and project docs to avoid duplicates\n- **Progressive Disclosure**: High-signal one-liners to CLAUDE.md, detailed knowledge to .claude/rules/\n- **Stale Entry Pruning**: Identifies entries duplicated by docs, enforced by toolchain, outdated, or left as session debris\n- **Token Discipline**: Enforces CLAUDE.md under 300 lines, routes domain knowledge to scoped rules\n- **User Approval**: Presents all proposed changes before writing anything\n\n### Deep Interview Skill\n\nStructured requirements gathering via interactive interviews:\n\n- **7-Phase Process**: Context → Scope → Approach → Priority → Details → Technical → Timeline\n- **GitHub Integration**: Pulls issue context before asking questions\n- **PRD Generation**: Auto-generates PRD with decision log and implementation checklist\n- **Best Practices**: Multi-select questions, tradeoff presentation, stakeholder probing\n\n### Trim PR Skill\n\nPre-merge PR cleanup to trim accumulated complexity:\n\n- **Cruft Detection**: Debug logging, commented code, unused imports, TODOs for done work\n- **Over-Engineering Check**: Premature abstractions, dead code paths, speculative features\n- **Framework-Agnostic**: Auto-detects Node.js, Python, Go, Rust for verification\n- **Risk-Rated Output**: Change summary with Low/Medium/High risk assessment\n\n### Update PR Skill\n\nCreate comprehensive PR descriptions that document every meaningful change:\n\n- **Systematic Review**: Inventories ALL changed files and commits\n- **Multi-Category**: Features, bug fixes, tests, docs, config - nothing missed\n- **Structured Output**: Organized sections for user impact and technical details\n- **GitHub Integration**: Updates PR via `gh pr edit`\n\n### Analyze Dependencies Skill\n\nChangelog analysis for dependency updates with actionable recommendations:\n\n- **Multi-Mode**: Preflight (before updating), post-update (after), or specific package research\n- **Ecosystem Support**: npm and NuGet (auto-detected from project files)\n- **Multi-Source Research**: Context7, GitHub Releases API, WebSearch, WebFetch\n- **Codebase Cross-Reference**: Greps for actual usage of deprecated/changed APIs\n- **Structured Report**: Breaking changes, new features, deprecations, security fixes, recommendations\n\n### Ask Expert Skill\n\nCreate comprehensive technical consultation documents for external expert review:\n\n- **Code Extraction**: Full files, line ranges, or git diffs\n- **Size Tracking**: Real-time progress with 125KB limit warnings\n- **Multi-file Support**: Batch multiple files in single command\n- **Section Organization**: Structured markdown headers\n- **Git Integration**: Extract changes between branches/commits\n- **Config Files**: Reusable extraction plans via JSON\n\n## Installation\n\n### Quick Install\n\n1. **Add the marketplace**:\n```shell\n/plugin marketplace add propstreet/claude-powerpack\n```\n\n2. **Install the plugin**:\n```shell\n/plugin install claude-powerpack@propstreet\n```\n\nOr use the interactive menu:\n```shell\n/plugin\n```\nThen browse and select `claude-powerpack` from the available plugins.\n\nAfter installation, restart Claude Code to activate the plugin.\n\n### Verify Installation\n\nCheck that the plugin is installed:\n\n```shell\n/plugin\n```\n\nYou should see `claude-powerpack` in the list of installed plugins.\n\n## Usage\n\n### Code Researcher Agent\n\nThe code-researcher agent activates when Claude Code spawns a sub-agent for deep codebase analysis. It's used automatically by the Agent tool when research questions match its description. See [Skills Included](#agents--skills-included) for example prompts.\n\n### Debrief Skill\n\nRun at the end of a session to capture learnings. Claude reviews the conversation, identifies what was learned, audits existing docs, and proposes targeted updates. See [Skills Included](#agents--skills-included) for example prompts.\n\n### Deep Interview Skill\n\nAsk Claude to interview you about a feature before implementation. Claude will research context, ask structured questions, and generate a PRD. See [Skills Included](#agents--skills-included) for example prompts.\n\n### Trim PR Skill\n\nAsk Claude to trim your PR before merging. Claude will identify accumulated cruft, over-engineering, and suggest cleanups with risk ratings. See [Skills Included](#agents--skills-included) for example prompts.\n\n### Update PR Skill\n\nAsk Claude to update or prepare a PR description. Claude will systematically inventory all changes, categorize them, and create a structured summary. See [Skills Included](#agents--skills-included) for example prompts.\n\n### Analyze Dependencies Skill\n\nAsk Claude to analyze dependency updates or run a preflight check before upgrading. Claude researches changelogs, cross-references your codebase, and generates a structured report. See [Skills Included](#agents--skills-included) for example prompts.\n\n### Ask Expert Skill\n\nAsk Claude to create consultation documents for external expert review. Claude will structure the problem, extract relevant code with size tracking, and format everything within the 125KB token limit. See [Skills Included](#agents--skills-included) for example prompts.\n\n### Manual Code Extraction\n\nYou can also use the extraction script directly:\n\n**Basic extraction:**\n```bash\nnode scripts/extract-code.js \\\n  --track-size --output=doc.md \\\n  src/Component.vue tests/Component.test.ts\n```\n\n**With sections:**\n```bash\nnode scripts/extract-code.js \\\n  --track-size --output=doc.md \\\n  --section=\"What Changed\" \\\n  src/Service.cs:diff \\\n  --section=\"Implementation\" \\\n  src/Service.cs src/Model.cs\n```\n\n**Git diffs:**\n```bash\nnode scripts/extract-code.js \\\n  --track-size --output=doc.md \\\n  src/Service.cs:diff=master..feature-branch\n```\n\n**Using config file:**\n```bash\nnode scripts/extract-code.js \\\n  --config=extraction-plan.json\n```\n\nSee [skills/ask-expert/EXAMPLES.md](skills/ask-expert/EXAMPLES.md) for complete usage examples.\n\n## Requirements\n\n- **Claude Code** with plugin support\n- **Node.js** 18+ (for code extraction script)\n- **Git** (for diff functionality)\n- **gh CLI** (for update-pr skill) - [Install](https://cli.github.com/)\n\n## Team Setup\n\nConfigure repository-level plugin installation by adding to your project's `.claude/settings.json`:\n\n```json\n{\n  \"plugins\": [\n    \"propstreet/claude-powerpack\"\n  ]\n}\n```\n\nTeam members who trust the repository folder will automatically have the plugin installed.\n\n## Documentation\n\n### Code Researcher Agent\n- **[Agent Definition](agents/code-researcher.md)** - Full agent prompt with methodology, tool guidance, and output calibration\n\n### Debrief Skill\n- **[SKILL.md](skills/debrief/SKILL.md)** - Complete debrief workflow\n- **[EXAMPLES.md](skills/debrief/EXAMPLES.md)** - Good vs bad examples, routing decisions\n- **[README](skills/debrief/README.md)** - Quick reference\n\n### Deep Interview Skill\n- **[SKILL.md](skills/deep-interview/SKILL.md)** - Complete interview workflow\n\n### Trim PR Skill\n- **[SKILL.md](skills/trim-pr/SKILL.md)** - Complete cleanup workflow\n\n### Update PR Skill\n- **[SKILL.md](skills/update-pr/SKILL.md)** - Complete workflow for Claude\n- **[EXAMPLES.md](skills/update-pr/EXAMPLES.md)** - Good vs bad PR examples\n- **[README](skills/update-pr/README.md)** - Quick reference\n\n### Analyze Dependencies Skill\n- **[SKILL.md](skills/analyze-deps/SKILL.md)** - Complete analysis workflow\n- **[README](skills/analyze-deps/README.md)** - Quick reference\n\n### Ask Expert Skill\n- **[SKILL.md](skills/ask-expert/SKILL.md)** - Complete workflow for Claude\n- **[EXAMPLES.md](skills/ask-expert/EXAMPLES.md)** - Usage patterns and workflows\n- **[README](skills/ask-expert/README.md)** - Quick reference\n\n## Agents \u0026 Skills Included\n\n### code-researcher (v1.7.0)\n\n**Example prompts:**\n```\n\"Research how the auth flow works end-to-end\"\n\"Find all error handling patterns and check for inconsistencies\"\n\"Map the test infrastructure architecture\"\n\"Trace the execution flow from the API endpoint to the database query\"\n```\n\n**What it does:**\n- Deep codebase analysis using ast-grep, ripgrep, git, and native Claude Code tools\n- Traces execution flows across frontend/backend boundaries\n- Finds usage patterns with quantified counts\n- Audits for inconsistencies with severity-rated findings\n- Maps architecture hierarchies with ASCII diagrams\n\n**Model guidance:** Use Sonnet for fast lookups and pattern counting; use Opus for deep architecture mapping and multi-layer flow tracing.\n\n**Allowed tools:** Bash(ast-grep, rg, grep, find, git, jq, wc, head, tail, cat, sort, uniq, cut, tr, xargs, sed, awk, diff), Read, Glob, Grep\n\n### debrief (v1.5.0)\n\n**Example prompts:**\n```\n\"Debrief this session\"\n\"Capture learnings from what we just did\"\n\"Update project knowledge with what we learned\"\n\"What did we learn? Save it.\"\n```\n\n**What it does:**\n- Reviews session for mistakes, corrections, discoveries, and decisions\n- Audits CLAUDE.md, .claude/rules/, and project docs for existing coverage\n- Proposes targeted updates with progressive disclosure\n- Enforces CLAUDE.md token discipline (under 300 lines, high-signal only)\n- Gets user approval before writing any changes\n\n**Allowed tools:** Bash(git), Read, Edit, Write, Glob, Grep, AskUserQuestion\n\n### deep-interview (v1.4.0)\n\n**Example prompts:**\n```\n\"Interview me about this feature before we start\"\n\"Let's do a deep interview for issue #531\"\n\"Help me gather requirements for the new authentication flow\"\n\"Start a structured interview for this PRD\"\n```\n\n**What it does:**\n- Gathers context from GitHub issues and existing docs\n- Asks structured questions through 7 phases\n- Generates PRD with decision log and implementation checklist\n- Probes for existing patterns and stakeholder knowledge\n\n**Allowed tools:** Bash(git, gh), Read, Glob, Grep, AskUserQuestion, Write, Agent\n\n### trim-pr (introduced as simplify in v1.4.0, renamed in v1.8.0)\n\n**Example prompts:**\n```\n\"Trim this PR before merging\"\n\"Clean up the accumulated cruft in this branch\"\n\"Check for over-engineering before I merge\"\n\"Review this PR for unnecessary complexity\"\n```\n\n**What it does:**\n- Identifies debug logging, commented code, unused imports\n- Detects over-engineering and premature abstractions\n- Auto-detects project type for verification commands\n- Outputs risk-rated change summary table\n\n**Allowed tools:** Bash(git, gh), Read, Edit, Glob, Grep\n\n### update-pr (v1.1.0)\n\n**Example prompts:**\n```\n\"Update the PR description\"\n\"Prepare this PR for review\"\n\"Document the changes in this branch\"\n\"Write a comprehensive PR summary\"\n```\n\n**What it does:**\n- Inventories ALL changed files and commits systematically\n- Categorizes changes: features, bug fixes, tests, docs, config\n- Creates structured PR description with user impact section\n- Saves to `/tmp/pr-summary.md` and updates PR via `gh pr edit`\n\n**Allowed tools:** Bash, Read, Write, Edit, Glob, Grep\n\n### analyze-deps (v1.9.0)\n\n**Example prompts:**\n```\n\"Analyze what changed after the dependency update\"\n\"Run a preflight check before updating packages\"\n\"What breaking changes are in vue 3.5 to 3.6?\"\n\"Analyze deps for frontend only\"\n```\n\n**What it does:**\n- Detects npm and NuGet ecosystems from project files\n- Preflight mode: checks what's outdated and researches before you update\n- Post-update mode: detects changes via git diff and analyzes changelogs\n- Fetches release notes from Context7, GitHub Releases, WebSearch\n- Cross-references breaking changes against your actual codebase usage\n- Generates structured report with recommendations\n\n**Allowed tools:** Bash(git, ncu, npm, dotnet, gh, ls, find), Read, Glob, Grep, Agent, WebSearch, WebFetch, Context7\n\n### ask-expert (v1.0.0)\n\n**Example prompts:**\n```\n\"Create an expert consultation document for our authentication refactor\"\n\"Prepare code for expert review about our API design\"\n\"I need to ask an expert about our database schema\"\n```\n\n**What it does:**\n- Structures consultation documents with problem context\n- Extracts code with real-time size tracking (125KB limit)\n- Supports full files, line ranges, and git diffs\n- Formats everything for external expert review\n\n**Allowed tools:** Bash, Read, Write, Edit\n\n## Troubleshooting\n\n### Plugin not activating\n\n1. Verify installation: `/plugin`\n2. Restart Claude Code after installing\n3. Try explicit activation phrases: \"create an expert consultation document\"\n\n### Script not found\n\n```bash\n# Verify script exists\nls scripts/extract-code.js\n\n# Check Node.js version\nnode --version  # Should be 18+\n```\n\n### File not found errors\n\n```bash\n# Check current directory\npwd\n\n# Use absolute paths for files in your repo\nnode scripts/extract-code.js \\\n  /absolute/path/to/file.cs\n```\n\nSee [skills/ask-expert/README.md](skills/ask-expert/README.md#troubleshooting) for complete troubleshooting guide.\n\n## Support\n\n- **Issues**: [GitHub Issues](https://github.com/propstreet/claude-powerpack/issues)\n- **Discussions**: [GitHub Discussions](https://github.com/propstreet/claude-powerpack/discussions)\n\n## Contributing\n\nContributions welcome! Please see [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.\n\n## License\n\nMIT - See [LICENSE](LICENSE) for details.\n\n## Credits\n\nCreated by [Propstreet](https://github.com/propstreet) for the Claude Code community.\n\nInspired by the need to effectively communicate complex technical context to external experts and AI consultants while respecting token limits.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpropstreet%2Fclaude-powerpack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpropstreet%2Fclaude-powerpack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpropstreet%2Fclaude-powerpack/lists"}