Skip to content

nikeyes/stepwise-dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

74 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Stepwise Dev - Multi-Plugin Suite

Plugin Available License Tests

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)

🎯 What This Is

Solves the context management problem: LLMs lose attention after 60% context usage.

Implements Research β†’ Plan β†’ Implement β†’ Validate with frequent /clear and persistent thoughts/ storage.

Philosophy

  • Keep context < 60% (attention threshold)
  • Split work into phases
  • Clear between phases, save to thoughts/
  • Never lose research or decisions

πŸ“¦ Available Plugins

This repository contains 4 independent plugins that can be installed separately based on your needs:

1. stepwise-core (Core Workflow)

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)

β†’ Read more

2. stepwise-git (Git Operations)

Clean git commit workflow without Claude attribution.

Includes:

  • 1 slash command (commit)
  • Smart staging and commit message generation

β†’ Read more

3. stepwise-web (Web Research)

Web search and research capabilities for external context.

Includes:

  • 1 specialized agent (web-search-researcher)
  • Deep web research with source citations

β†’ Read more

4. stepwise-research (Multi-Agent Deep Research)

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

β†’ Read more

πŸš€ Installation

Option 1: Install All Plugins (Recommended for first-time users)

# 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

Option 2: Install Only What You Need

# 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-dev

Restart Claude Code after installation.

πŸ§ͺ Try It Out

Don't have a project to test with? Use stepwise-todo-api-test β€” a sample repository designed for testing these plugins.

πŸ“ Directory Structure

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 manually
  • shared/: Formal docs Claude generates from commands

Why Hardlinks?

  • 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

πŸ”„ The Four-Phase Workflow

Phase 1: Research (stepwise-core)

/stepwise-core:research_codebase How does authentication work?

Spawns parallel agents, searches codebase and thoughts/, generates comprehensive research document.

Phase 2: Plan (stepwise-core)

/stepwise-core:create_plan Add rate limiting to the API

Iterates with you 5+ times, creates detailed phases with verification steps.

Phase 3: Implement (stepwise-core)

/stepwise-core:implement_plan @thoughts/shared/plans/2025-11-09-rate-limiting.md

Executes one phase at a time, validates before proceeding.

Phase 4: Validate (stepwise-core)

/stepwise-core:validate_plan @thoughts/shared/plans/2025-11-09-rate-limiting.md

Systematically verifies the entire implementation.

Commit (stepwise-git)

/stepwise-git:commit

Creates clean commits without Claude attribution.

πŸ’‘ Usage Examples

Example 1: Complete Feature Development

# 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

Example 2: Using Web Research

# 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...

🏷️ Version Management

# 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-dev

πŸ“ Context Management

Golden Rule: Never exceed 60% context capacity.

/context  # Check current usage
/clear    # Clear between phases

πŸ”§ Customization

Change Username: Set export THOUGHTS_USER=your_name or edit the thoughts-init script.

πŸ§ͺ Testing

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 validation

πŸ› Troubleshooting

Plugin Issues

Commands not showing:

  • Restart Claude Code
  • Check plugins enabled: /plugin list
  • Reinstall if needed

Plugin installation fails:

  • Verify marketplace: /plugin marketplace list
  • Check network connection

Workflow Issues

Hardlinks failing: Auto-falls back to symlinks

No files synced: Run THOUGHTS_DEBUG=1 thoughts-sync

πŸ“š Learn More

🀝 Contributing

Test improvements in your workflow, document changes, and share with the community.

πŸ“„ License

Apache License 2.0 - See LICENSE file for details.

πŸ”– Attribution

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

πŸ™ Credits


Happy Coding! πŸš€

Questions? Open an issue on GitHub.

About

Dev workflow for Claude Code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors