mchowning/claude-code-plugins
mchowning/claude-code-plugins · 0 stars · 1 plugin
Marketplace This repository is a marketplace for Claude Code plugins. It currently contains the Workflow Tools plugin for codebase research, planning, implementation, and documentation.
Install
/plugin marketplace add mchowning/claude-code-pluginsRun inside Claude Code, then install plugins from it. Check the repo's README before you run it.
Plugins 1
After adding the marketplace, install one with /plugin install <name>@mchowning-marketplace.
- 1workflow-toolsComprehensive workflow automation for codebase research, planning, implementation, and documentation
/plugin install workflow-tools@mchowning-marketplace
Files
⚠️ This repository is no longer being updated
Claude Code Plugins Marketplace
This repository is a marketplace for Claude Code plugins. It currently contains the Workflow Tools plugin for codebase research, planning, implementation, and documentation.
Table of Contents
- Workflow Tools Plugin
- Features
- Installation
- Configuration
- Workflow Example
- Usage Philosophy & Best Practices
- Command Details
- Best Practices
- Development
- Acknowledgments
- License
- Version
Workflow Tools Plugin
The Workflow Tools plugin provides seven commands that work together with specialized research agents.
Design Philosophy: This workflow is designed to be powerful yet simple enough to easily understand and modify. As frontier AI models improve rapidly, having a straightforward system means you can easily evolve your workflow to take advantage of new capabilities rather than being locked into complex, opaque tooling.
The full flow from start to finish is:
/create-research-doc/create-plan-doc/implement-plan/create-work-summary-doc/review-code/review-doc/investigate-bug
For the full flow, each command would build off of the outputs of the previous commands. This helps to keep the agent's context window as free as possible during each step in the process. For example, the idea behind creating such detailed implementation plan documents is that the actual implementation should be very straightforward.
Although these commands will often work well enough as one-shots, they are intended to be a starting point from which to iteratively build up the relevant research/plan/implementation/summary.
Features
Commands
1. /create-research-doc
Compile comprehensive research across the codebase and the internet using parallel sub-agents.
What it does:
- Spawns multiple specialized agents to research different aspects concurrently
- Locates relevant files and components across the codebase
- Analyzes how code works with precise file:line references
- Searches for similar implementations and patterns
- Discovers relevant notes and documentation
- Fetches external resources and Jira context
- Generates timestamped research documents with YAML frontmatter
- Automatic quality check: If
CLAUDE_EXTERNAL_REVIEW_COMMANDis configured, runs sequential external reviews and silently incorporates critical feedback before presenting the document to you
Output: Research document in working-notes/{date}_research_{topic}.md
2. /create-plan-doc
Create detailed implementation plans through an interactive, iterative process.
Often you will want to provide a research document from /create-research-doc when this command asks for context.
What it does:
- Reads any provided files for context
- Spawns research tasks to gather implementation details
- Presents design options and gathers user feedback iteratively
- Creates comprehensive implementation plans with success criteria
- Writes detailed plans to
working-notes/for later execution - Automatic quality check: If
CLAUDE_EXTERNAL_REVIEW_COMMANDis configured, runs sequential external reviews and silently incorporates critical feedback before presenting the plan to you
Output: Plan document in working-notes/{date}_plan_{topic}.md
3. /implement-plan
Follow an approved plan with TDD practices and progress tracking.
What it does:
- Follows plans from
working-notes/step-by-step - Enforces Test-Driven Development (red-green-refactor cycle)
- Tracks progress with checkmarks directly in the plan document
- Handles implementation phase-by-phase
- Verifies success criteria are met
4. /create-work-summary-doc
Generate comprehensive implementation summaries documenting what changed and why.
What it does:
- Checks for uncommitted code changes
- Analyzes git diffs across commits
- Gathers git metadata and commit information
- Fetches Jira details if applicable
- Creates standalone implementation summaries with GitHub permalinks
Output: Summary document in notes/{date}_{topic}.md
5. /review-code
Obtain external review of code changes or implementation plans using another AI model for a fresh perspective. This command must be explicitly invoked—Claude will not trigger it automatically.
What it does:
- Prompts you to select a document or specify code changes to review
- Requires
CLAUDE_EXTERNAL_REVIEW_COMMANDenvironment variable- Single reviewer:
"opencode --model github-copilot/gpt-5 run" - Multiple reviewers:
'["opencode --model github-copilot/gpt-5 run", "opencode --model github-copilot/gemini-3-pro-preview run"]' - Multiple reviewers run in parallel and their feedback is synthesized into a unified review
- Single reviewer:
- Sends comprehensive review prompt covering technical accuracy, project alignment, and risk analysis
- Critically filters the external feedback to identify truly actionable items
- Presents categorized recommendations (Implement/Consider/Discard) with reasoning
- Shows common themes and conflicting views when multiple reviewers are used
6. /review-doc
Obtain external review of research documents or general documents using another AI model for a fresh perspective. This command must be explicitly invoked—Claude will not trigger it automatically.
What it does:
- Prompts you to select a document (prioritizes recently created documents)
- Requires
CLAUDE_EXTERNAL_REVIEW_COMMANDenvironment variable (same configuration as/review-code) - Sends comprehensive review prompt covering completeness, accuracy, and clarity
- Critically filters the external feedback to identify truly actionable items
- Presents categorized recommendations (Implement/Consider/Discard) with reasoning
- Shows common themes and conflicting views when multiple reviewers are used
7. /investigate-bug
Systematically investigate bugs using the scientific method to identify root causes rather than symptoms.
What it does:
- Guides you through systematic hypothesis formation and testing
- Spawns specialized research agents to gather context about the bug
- Creates investigation documents in
working-notes/tracking hypotheses and test results - Enforces minimal testing approach (smallest possible change per hypothesis)
- Records all findings, tests, and conclusions
- Produces a proposed fix implementation once root cause is identified
Output: Investigation document in working-notes/{date}_bug-investigation_{description}.md
Specialized Agents
The plugin includes eight specialized agents that are automatically invoked by the slash commands:
- codebase-locator - Finds WHERE files, directories, and components live by topic/feature
- codebase-analyzer - Analyzes HOW code works with precise file:line references and data flow
- codebase-pattern-finder - Locates similar implementations and usage patterns as templates
- notes-locator - Discovers relevant notes/documents in
working-notes/andnotes/ - notes-analyzer - Analyzes notes documents and extracts insights
- web-search-researcher - Conducts web research for external documentation and resources
- jira-searcher - Searches Jira for issues and historical context
- git-history - Searches git history, PRs, and PR comments for implementation context
Additionally, the frontmatter skill provides git metadata collection (date/time, commit, branch, repository) for documentation templates.
Installation
Prerequisites
The plugin requires these external tools to be installed:
git- Version controlgh- GitHub CLI (for GitHub permalinks and repo information)acli- Atlassian CLI (optional, required for Jira integration via jira agent)
Installation from GitHub
-
Add the plugin marketplace:
/plugin marketplace add mchowning/claude-code-plugins
-
Install the plugin:
/plugin install workflow-tools
-
Restart Claude Code to load the plugin
Project-Level Auto-Install
To automatically install the plugin, add to .claude/settings.json:
{
"extraKnownMarketplaces": {
"mchowning-marketplace": {
"source": {
"source": "github",
"repo": "mchowning/claude-code-plugins"
}
}
},
"enabledPlugins": {
"workflow-tools@mchowning-marketplace": true
}
}
Team members will auto-install the plugin when they trust the repository.
Local Development
For local plugin development:
-
Add your local marketplace directory:
/plugin marketplace add /path/to/claude-code-plugins
-
Install the plugin:
/plugin install workflow-tools
-
Restart Claude Code to load the plugin
Alternative: Configure in .claude/settings.json for local development:
{
"extraKnownMarketplaces": {
"mchowning-marketplace": {
"source": {
"source": "directory",
"path": "/absolute/path/to/claude-code-plugins"
}
}
},
"enabledPlugins": {
"workflow-tools@mchowning-marketplace": true
}
}
Configuration
Directory Structure
The plugin uses the following directory structure:
working-notes/- Temporary research documents and plans (not committed to git)notes/- Implementation summaries and permanent documentation (committed to git)
No manual configuration is required - the plugin expects these directories to exist at the project root.
Recommended: Add working-notes/ to your .gitignore file since these are temporary research and planning documents. The notes/ directory should be committed to git as permanent documentation.
External Review Configuration (Optional)
To enable automatic quality checks for research and plan documents, plus the /external-review command, set the CLAUDE_EXTERNAL_REVIEW_COMMAND environment variable:
Single reviewer:
export CLAUDE_EXTERNAL_REVIEW_COMMAND="opencode --model github-copilot/gpt-5 run"
Multiple reviewers (JSON array):
export CLAUDE_EXTERNAL_REVIEW_COMMAND='["opencode --model github-copilot/gpt-5 run", "opencode --model github-copilot/gemini-3-pro-preview run"]'
With Nix (in your home.nix or similar):
sessionVariables = {
# Single reviewer
CLAUDE_EXTERNAL_REVIEW_COMMAND = "opencode --model github-copilot/gpt-5 run";
# Or multiple reviewers with builtins.toJSON
CLAUDE_EXTERNAL_REVIEW_COMMAND = builtins.toJSON [
"opencode --model github-copilot/gpt-5 run"
"opencode --model github-copilot/gemini-3-pro-preview run"
];
};
Behavior:
- create-research-doc and create-plan-doc: Run reviews sequentially (each reviewer sees the document improved by previous reviewers), silently incorporate critical feedback
- external-review: Run reviews in parallel, synthesize feedback showing common themes and conflicting views
Workflow Example
Here's the main workflow, which uses four commands:
-
Research the codebase to understand how a feature works:
/create-research-doc How does user authentication work in this codebase?
-
Create an implementation plan based on research:
/create-plan-doc Improve auth by [...]. Look at @working-notes/2025-01-15_research_authentication-setup.md
-
Implement the plan with TDD:
/implement-plan @working-notes/2025-01-15_plan_auth-improvements.md
-
Summarize the work for documentation:
/create-work-summary-doc
Usage Philosophy & Best Practices
Philosophy & Core Principles
I get the most out of this plugin by:
- Working slowly and deliberately - Let Claude take time to think through problems rather than rushing to implementation
- Managing context carefully - Clear Claude's context frequently to maintain performance and clarity
- Questioning unexpected behavior - When Claude does something that seems unusual, ask "why did you do X?" This often leads Claude to discover better approaches even when its original approach wasn't wrong
Context Management Strategy
One of the key benefits of this file-based workflow is the ability to clear Claude's context between phases:
- Clear between major phases - After completing research, clear context before planning. After planning, clear before implementation.
- Clear during long phases - If a phase is taking a long time or producing extensive discussion, clear context and restart with just the relevant documents
- Why this matters - Fresh context helps Claude focus on what's most relevant and prevents performance degradation from overly long conversations
- File-based workflow enables this - Because research, plans, and progress are all written to files, you can safely clear context and have Claude pick up where it left off
Review Process & Priorities
Not all review effort is equal. I try to focus my attention where it matters most:
Early-stage reviews are critical - Mistakes in research or planning compound into bigger problems later:
- If research misunderstands the system, the plan will be wrong
- If the plan is misguided, the implementation will be wrong
- If implementation is wrong but research and plan were right, fixes are usually straightforward
Review priorities:
- Research documents (highest priority) - Verify understanding of the problem and codebase is correct
- Implementation plans - Ensure the approach is sound before writing code
- Tests - If tests verify the right behavior, implementation is more likely correct
- Implementation code (lowest priority) - If earlier stages were right, implementation issues are usually minor
This prioritization may feel counterintuitive since you naturally want to skim pretty markdown documents and focus on code, but investing review effort early prevents compounding mistakes.
Building Project Context with Summaries
The /create-work-summary-doc command creates committed documentation that builds institutional knowledge:
- notes/ summaries are committed - Unlike temporary research in working-notes/, summaries in notes/ are permanent project documentation
- Searchable by future developers and agents - When working on related features later, you or Claude can search these summaries to understand WHY decisions were made
- Builds institutional knowledge - Over time, you accumulate a searchable history of implementation decisions, technical trade-offs, and architectural patterns
- Complements code and tests - While code shows WHAT and tests show BEHAVIOR, summaries explain WHY and document the thinking behind changes
Think of work summaries as first-class project documentation, not just an optional final step.
When to Use This Workflow
The full 4-command workflow is powerful but not always necessary:
Use the full workflow for:
- Complex features requiring deep codebase understanding
- Changes touching unfamiliar areas of the codebase
- Features with multiple viable implementation approaches
- Work requiring coordination across multiple systems/components
Skip research when:
- You already understand the relevant codebase areas well
- The change is localized to code you recently worked on
- The feature is straightforward with an obvious implementation
Skip planning when:
- The task is simple with a clear, single approach
- You're making minor tweaks or bug fixes
- The change is very small in scope
Jump straight to implementation for:
- Trivial changes (typo fixes, simple refactoring)
- Well-understood, repetitive tasks
- Changes that don't require architectural decisions
Rule of thumb: If you find yourself uncertain about how to approach a task, step back and use /create-research-doc or /create-plan-doc before continuing.
Limitations & Trade-offs
This plugin represents one approach to working with Claude, not the only approach:
- Can be overkill - For simple tasks, this structured workflow adds overhead that may not be worth it
- Requires discipline - The workflow works best when you actually review each phase carefully and clear context appropriately
- Not always faster - The emphasis on research and planning means you move slower initially, but ideally avoid costly mistakes later
- Works for some personalities - This approach fits those who enjoy refactoring and reviewing more than initial implementation; others may prefer different workflows
The goal is not to use this workflow for everything, but to have it available when tackling complex problems that benefit from structured research, planning, and documentation.
Command Details
Research Documents
Research documents include:
- YAML frontmatter with metadata (date, git commit, branch, repository)
- Research question and high-level summary
- Detailed findings organized by component/area
- Code references with file:line notation
- Architecture insights and patterns discovered
- Historical context from notes and Jira
- Related research documents
- Open questions for further investigation
Plan Documents
Plan documents include:
- YAML frontmatter with metadata
- Problem statement and context
- Design options considered
- Detailed implementation steps with checkboxes for progress tracking
- Testing strategy
- Success criteria
- Rollback plan
Summary Documents
Summary documents include:
- YAML frontmatter with metadata
- High-level overview of changes
- Technical details explaining WHY changes were made
- Git references with full commit messages
- GitHub permalinks to specific code changes
- Testing and verification approach
Metadata Collection
The plugin includes a frontmatter skill that collects git metadata and timestamps for documentation frontmatter. This skill executes a shell script to gather metadata (date/time, git commit, branch, repository) for use in document YAML frontmatter.
Best Practices
- Start with research - Use
/create-research-docto understand before making changes - Plan before implementing - Use
/create-plan-docto think through the approach - Follow TDD strictly - The
/implement-plancommand strongly encourages red-green-refactor - Document your work - Use
/create-work-summary-docto create searchable implementation records - Iterate on plans - The planning process is interactive; provide feedback and refine
- Keep documents updated - Research and plans can and should be updated with follow-up information. This does not happen automatically so when there is a change in direction, it's a good idea to prompt claude to update the research and plan docs.
Development
Areas For Improvement
Keeping documents up-to-date
The agent frequently needs to be prompted to update the various documents as decisions are made and implemenation is done. It would be great if the agent was better about doing this automatically.
Repository Structure
claude-code-plugins/ # Marketplace root
├── .claude-plugin/
│ └── marketplace.json # Marketplace manifest
└── workflow-tools/ # Plugin directory
├── .claude-plugin/
│ └── plugin.json # Plugin manifest
├── commands/ # Slash commands
│ ├── create-research-doc.md
│ ├── create-plan-doc.md
│ ├── implement-plan.md
│ ├── create-work-summary-doc.md
│ ├── review-code.md
│ ├── review-doc.md
│ └── investigate-bug.md
├── scripts/ # Shell scripts
│ └── external-review.sh
├── agents/ # Specialized agents
│ ├── codebase-locator.md
│ ├── codebase-analyzer.md
│ ├── codebase-pattern-finder.md
│ ├── notes-locator.md
│ ├── notes-analyzer.md
│ ├── web-search-researcher.md
│ ├── jira-searcher.md
│ └── git-history.md
├── skills/ # Skills
│ └── frontmatter/
│ └── SKILL.md
└── CLAUDE.md
Acknowledgments
This plugin takes significant inspiration from the Human Layer team's excellent Claude Code setup, particularly their approach to structured workflow commands and research agents. Check out their setup at humanlayer/humanlayer/.claude/commands.
For a great introduction to the ideas behind this workflow, watch this video from Devin (dexhorthy) of the Human Layer team.
License
MIT
Version
1.0.0
{
"name": "mchowning-marketplace",
"owner": {
"name": "Matt Chowning",
"email": "mchowning@gmail.com"
},
"plugins": [
{
"name": "workflow-tools",
"source": "./workflow-tools",
"description": "Comprehensive workflow automation for codebase research, planning, implementation, and documentation",
"version": "1.0.0"
}
]
}Facts
- Kind
- Marketplace
- Repo
- mchowning/claude-code-plugins
- Group
- Uncategorized
- Stars
- 0
- Marketplace name
- mchowning-marketplace
- Owner
- Matt Chowning
- Language
- Shell
- Created
- 2025-10-29
- Last push
- 2026-03-06
- Plugins
- 1
Next on this shelf
- 2374mconcat/mastermindmconcat/mastermind0
- 2375MemberJunction/co-work-pluginsMemberJunction/co-work-plugins0
- 2376memcoai/marketplacememcoai/marketplace0
- 2377memorysaver/looplia-skillsmemorysaver/looplia-skills0
- 2378michaelmilton/pe-exec-pluginmichaelmilton/pe-exec-plugin0
- 2379mihir-s-05/claude-code-discord-windows-rich-presencemihir-s-05/claude-code-discord-windows-rich-presence0