A modular development workflow suite for Claude Code inspired by Ashley Ha's workflow, adapted to work 100% locally with thoughts.
π Read more: Tu CLAUDE.md no funciona sin Context Engineering (Spanish article about Stepwise-dev)
Solves the context management problem: LLMs lose attention after 60% context usage.
Implements Research β Plan β Implement β Validate with frequent /clear and persistent thoughts/ storage.
- Keep context < 60% (attention threshold)
- Split work into phases
- Clear between phases, save to
thoughts/ - Never lose research or decisions
This repository contains 4 independent plugins that can be installed separately based on your needs:
The foundation plugin with the complete Research β Plan β Implement β Validate cycle.
Includes:
- 5 slash commands (
research_codebase,create_plan,iterate_plan,implement_plan,validate_plan) - 5 specialized agents (codebase exploration and thoughts management)
- 1 thoughts-management skill (with 3 bash scripts)
Clean git commit workflow without Claude attribution.
Includes:
- 1 slash command (
commit) - Smart staging and commit message generation
Web search and research capabilities for external context.
Includes:
- 1 specialized agent (
web-search-researcher) - Deep web research with source citations
Advanced multi-agent research system with parallel web searches and synthesis.
Includes:
- 1 slash command (
deep_research) - 3 specialized agents (research-lead, research-worker, citation-analyst)
- 1 research-reports skill (with report generation script)
- Comprehensive research reports with citations and metadata
# Add marketplace from GitHub
/plugin marketplace add nikeyes/stepwise-dev
# Install all plugins
/plugin install stepwise-core@stepwise-dev
/plugin install stepwise-git@stepwise-dev
/plugin install stepwise-web@stepwise-dev
/plugin install stepwise-research@stepwise-dev# Add marketplace
/plugin marketplace add nikeyes/stepwise-dev
# Install only the core workflow
/plugin install stepwise-core@stepwise-dev
# Optionally add git operations
/plugin install stepwise-git@stepwise-dev
# Optionally add web research
/plugin install stepwise-web@stepwise-dev
# Optionally add multi-agent deep research
/plugin install stepwise-research@stepwise-devRestart Claude Code after installation.
Don't have a project to test with? Use stepwise-todo-api-test β a sample repository designed for testing these plugins.
After running thoughts-init (from stepwise-core) in a project:
<your-project>/
βββ thoughts/
β βββ nikey_es/ # Your personal notes (you write)
β β βββ tickets/ # Ticket documentation
β β βββ notes/ # Personal notes
β βββ shared/ # Team-shared documents (Claude writes)
β β βββ research/ # Research documents
β β βββ plans/ # Implementation plans
β β βββ prs/ # PR descriptions
β βββ searchable/ # Hardlinks for grep (auto-generated)
β βββ nikey_es/ # β hardlinks to nikey_es/
β βββ shared/ # β hardlinks to shared/
βββ .gitignore # (add thoughts/searchable/ to this)
βββ ...
Key distinction:
nikey_es/: Personal tickets/notes you create manuallyshared/: Formal docs Claude generates from commands
- Fast searching: Grep one directory instead of many
- No duplication: Same file, same inode, no extra disk space
- Auto-sync: Changes in source are immediately visible
- Efficient: Better than symlinks for grep operations
/stepwise-core:research_codebase How does authentication work?Spawns parallel agents, searches codebase and thoughts/, generates comprehensive research document.
/stepwise-core:create_plan Add rate limiting to the APIIterates with you 5+ times, creates detailed phases with verification steps.
/stepwise-core:implement_plan @thoughts/shared/plans/2025-11-09-rate-limiting.mdExecutes one phase at a time, validates before proceeding.
/stepwise-core:validate_plan @thoughts/shared/plans/2025-11-09-rate-limiting.mdSystematically verifies the entire implementation.
/stepwise-git:commitCreates clean commits without Claude attribution.
# Research (core)
/stepwise-core:research_codebase Where is user registration handled?
# /clear
# Plan (core)
/stepwise-core:create_plan Add OAuth login support
# /clear
# Implement (core)
/stepwise-core:implement_plan @thoughts/shared/plans/...md
# /clear
# Validate (core)
/stepwise-core:validate_plan @thoughts/shared/plans/...md
# Commit (git)
/stepwise-git:commit# Research external best practices (web)
"What are the best practices for implementing rate limiting in REST APIs?"
# The web-search-researcher agent will be invoked automatically
# Research your codebase (core)
/stepwise-core:research_codebase Where do we handle API rate limiting?
# Continue with plan and implementation...# Check versions
/plugin list
# Update all plugins
/plugin update stepwise-core@stepwise-dev
/plugin update stepwise-git@stepwise-dev
/plugin update stepwise-web@stepwise-dev
/plugin update stepwise-research@stepwise-devGolden Rule: Never exceed 60% context capacity.
/context # Check current usage
/clear # Clear between phasesChange Username: Set export THOUGHTS_USER=your_name or edit the thoughts-init script.
make test # Run all automated tests
make test-verbose # Run tests with debug output
make check # Run shellcheck on bash scripts
make ci # Run full CI validationCommands not showing:
- Restart Claude Code
- Check plugins enabled:
/plugin list - Reinstall if needed
Plugin installation fails:
- Verify marketplace:
/plugin marketplace list - Check network connection
Hardlinks failing: Auto-falls back to symlinks
No files synced: Run THOUGHTS_DEBUG=1 thoughts-sync
- Original Article: I mastered the Claude Code workflow by Ashley Ha
- HumanLayer: Original inspiration from HumanLayer's .claude directory
Test improvements in your workflow, document changes, and share with the community.
Apache License 2.0 - See LICENSE file for details.
Derived from HumanLayer's Claude Code workflow under Apache License 2.0.
See NOTICE for detailed attribution.
Major enhancements:
- Multi-plugin architecture for modular installation
- Specialized agent system
- Local-only thoughts/ management with Agent Skill
- Automated testing infrastructure
- Enhanced TDD-focused success criteria
- Ashley Ha - Workflow documentation
- HumanLayer Team (Dex Horthy et al.) - Original commands and agents
- Anthropic - Claude Code
Happy Coding! π
Questions? Open an issue on GitHub.