modular-agentic-dev
Structured session framework that guides agent-driven development with human audit checkpoints.
- CCM score
- 39 of 100
- GitHub stars
- 29
Own this plugin? Claim it
What it does
- Adds the
/session-plan,/session-scaffold,/session-simulate,/session-cleanup, and/session-finalizecommands for the full session lifecycle - Provides
planner,coder,reviewer,tester, andresearcheragents, each with a defined role in the development flow - Enforces a human review checkpoint before
/session-finalizeand a maturity threshold set throughMATURITY_THRESHOLD - Designed for teams that want auditable AI-assisted development with logged transcripts and test-driven simulation harnesses
Structured framework for session-based, agent-driven development with modular prompts and audit checkpoints
Add marketplace
/plugin marketplace add jmanhype/claude-code-plugin-marketplaceRun it inside Claude Code once, then install the plugin below.
Install
/plugin install modular-agentic-dev@multi-agent-intelligence-marketplaceRun it inside Claude Code after adding the marketplace.
Files
Discovered from sourceModular Agentic Development
Structured framework for session-based, agent-driven development with modular prompts, audit checkpoints, subagent roles, and simulation harnesses.
Inspired by Mitchell Hashimoto's Ghostty workflow and extended for full end-to-end code generation and review cycles.
π― Philosophy
The Modular Agentic Development plugin embodies four core principles:
- β³οΈ Sessions are modular and auditable - Each AI session is self-contained with complete audit trails
- β³οΈ Final human audit is sacred - Human developers review and approve all critical changes
- β³οΈ Simulations and tests guide the AI - Test-driven development with simulation harnesses
- β³οΈ Clean data => clean code - Normalized, well-structured data leads to better outputs
π¦ What's Included
Session Lifecycle Commands
/session-plan- Initialize a new development session with structured planning/session-scaffold- Generate project structure from session plan/session-simulate- Run simulations and test harness against current code/session-cleanup- Clean and normalize session outputs/session-finalize- Finalize session with human review checkpoint
Specialized Agents
planner- High-level task decomposition and strategic planningcoder- Clean, efficient code implementationreviewer- Code quality and architecture reviewtester- Comprehensive testing and QAresearcher- Deep research and information gathering
Automated Hooks
pre_prompt_validator- Validate and normalize prompts before processingpost_diff_tester- Run tests after code generationsession_logger- Maintain complete audit trail of all interactions
Workflows
agentic-development- Complete development lifecycle workflowsession-lifecycle- Session management with checkpoints and audits
π Quick Start
Installation
# Add marketplace
/plugin marketplace add https://github.com/jmanhype/claude-code-plugins
# Install plugin
/plugin install modular-agentic-dev
Basic Usage
-
Start a New Session
/session-plan "Build a user authentication system"Creates session directory, initializes metadata, generates task breakdown
-
Scaffold the Structure
/session-scaffoldGenerates directory structure and boilerplate from plan
-
Implement with Agents
/task --subagent_type=coder "Implement JWT authentication"Use specialized agents for focused tasks
-
Run Simulations
/session-simulateExecute test harness and validate behavior
-
Review and Finalize
/session-finalizeHuman review checkpoint before committing changes
π§ Configuration
Optional environment variables:
# Session configuration
export SESSION_DIR=".claude/sessions" # Session log directory
export AUDIT_LEVEL="standard" # Audit verbosity (minimal/standard/full)
export SIMULATION_MODE="true" # Enable simulation harness
# Quality gates
export MATURITY_THRESHOLD="80" # Minimum maturity score for finalization
export REQUIRE_TESTS="true" # Enforce test coverage
π Session Structure
Each session creates a structured workspace:
.claude/sessions/<session-id>/
βββ _meta/
β βββ session.yaml # Session metadata
β βββ spec-map.yaml # Specification tracking
β βββ maturity.md # Quality checklist
βββ transcripts/
β βββ planning.md # Planning phase transcript
β βββ implementation.md # Implementation transcript
β βββ review.md # Review phase transcript
βββ artifacts/
β βββ generated/ # AI-generated code
β βββ approved/ # Human-approved code
βββ simulations/
βββ test-vectors.json # Test inputs
βββ results.json # Simulation results
π§ Agent Roles Explained
Planner
- Purpose: Strategic decomposition of complex tasks
- When to use: Start of new features, architectural decisions
- Output: Task breakdown, dependency graph, implementation sequence
Coder
- Purpose: Clean, efficient code implementation
- When to use: After planning, for focused implementation tasks
- Output: Production-ready code with inline documentation
Reviewer
- Purpose: Code quality and architectural review
- When to use: After implementation, before finalization
- Output: Quality assessment, improvement suggestions, approval
Tester
- Purpose: Comprehensive testing and validation
- When to use: Throughout development, especially before review
- Output: Test suites, coverage reports, bug findings
Researcher
- Purpose: Deep research and information gathering
- When to use: When exploring new libraries, patterns, or domains
- Output: Research summary, recommendations, best practices
π¬ Example Workflows
Feature Development
# 1. Plan the feature
/session-plan "Add OAuth2 social login"
# 2. Research best practices
/task --subagent_type=researcher "Research OAuth2 best practices for Express.js"
# 3. Scaffold structure
/session-scaffold
# 4. Implement
/task --subagent_type=coder "Implement Google OAuth2 provider"
# 5. Test
/session-simulate
# 6. Review
/task --subagent_type=reviewer "Review OAuth2 implementation"
# 7. Finalize
/session-finalize
Bug Fix
# 1. Start session
/session-plan "Fix memory leak in WebSocket handler"
# 2. Research the issue
/task --subagent_type=researcher "Analyze WebSocket memory patterns"
# 3. Implement fix
/task --subagent_type=coder "Fix WebSocket memory leak"
# 4. Test thoroughly
/task --subagent_type=tester "Create test suite for WebSocket lifecycle"
/session-simulate
# 5. Finalize
/session-finalize
Refactoring
# 1. Plan refactoring
/session-plan "Refactor authentication module for testability"
# 2. Code review first
/task --subagent_type=reviewer "Review current authentication implementation"
# 3. Implement refactoring
/task --subagent_type=coder "Refactor auth module with dependency injection"
# 4. Ensure tests pass
/session-simulate
# 5. Final review
/task --subagent_type=reviewer "Verify refactoring maintains behavior"
/session-finalize
π‘οΈ Quality Gates
The plugin enforces quality through automated checks:
Pre-Finalization Checklist
- β All tests passing
- β Code coverage meets threshold
- β No critical security issues
- β Documentation complete
- β Maturity score β₯ threshold
- β Human review completed
Maturity Scoring
Each session tracks maturity across dimensions:
maturity:
code_quality: 85/100 # Code structure, patterns, readability
test_coverage: 90/100 # Test completeness and quality
documentation: 75/100 # Inline docs, READMEs, comments
security: 95/100 # Security best practices
performance: 80/100 # Performance considerations
maintainability: 85/100 # Long-term maintainability
overall: 85/100 # Weighted average
π Audit Trail
Every session maintains a complete audit trail:
What's Logged
- All prompts and responses
- Agent invocations and results
- Code generations and modifications
- Test results and simulations
- Human review decisions
- Configuration changes
Accessing Audit Logs
# View current session log
cat .claude/sessions/<session-id>/transcripts/implementation.md
# Check maturity score
cat .claude/sessions/<session-id>/_meta/maturity.md
# Review test results
cat .claude/sessions/<session-id>/simulations/results.json
π― Advanced Features
Custom Simulation Harnesses
Create custom simulation scenarios:
# Define test vectors
echo '[
{"input": "user@example.com", "expected": "valid"},
{"input": "invalid-email", "expected": "error"}
]' > .claude/sessions/<session-id>/simulations/test-vectors.json
# Run simulations
/session-simulate
Integration with External Tools
The plugin integrates with:
- Conductor - State management and coordination
- JIDO - Workflow orchestration
- Custom MCP Servers - Your own tool integrations
Extending the Plugin
Add custom commands by creating markdown files:
<!-- my-custom-command.md -->
# My Custom Command
## Purpose
Describe what this command does
## Usage
/my-custom-command [args]
## Implementation
Script to execute: ./scripts/my-command.sh
π€ Best Practices
Do's β
- Always start with
/session-plan - Use specialized agents for focused tasks
- Run simulations before finalizing
- Maintain clean session boundaries
- Review maturity scores regularly
- Keep audit trails for compliance
Don'ts β
- Don't skip planning phase
- Don't finalize without human review
- Don't mix multiple concerns in one session
- Don't ignore test failures
- Don't bypass quality gates
π Resources
- Full Documentation: Agentic Development Workflow
- Session Lifecycle: Session Management
- Source Repository: multi-agent-system
π Troubleshooting
Session won't finalize
Check maturity score:
cat .claude/sessions/<session-id>/_meta/maturity.md
Ensure all quality gates pass:
/task --subagent_type=tester "Verify all quality gates"
Simulations failing
Review test vectors:
cat .claude/sessions/<session-id>/simulations/test-vectors.json
Check simulation results:
cat .claude/sessions/<session-id>/simulations/results.json
Hooks not executing
Verify hook permissions:
chmod +x .claude/hooks/*.sh
Check hook logs:
tail -f .claude/hooks/logs/*.log
π License
MIT License - see LICENSE
π Credits
Inspired by Mitchell Hashimoto's Ghostty development workflow and the principles of agentic engineering.
Built with π§ by @jmanhype
Readme
Modular Agentic Development
Structured framework for session-based, agent-driven development with modular prompts, audit checkpoints, subagent roles, and simulation harnesses.
Inspired by Mitchell Hashimoto's Ghostty workflow and extended for full end-to-end code generation and review cycles.
π― Philosophy
The Modular Agentic Development plugin embodies four core principles:
- β³οΈ Sessions are modular and auditable - Each AI session is self-contained with complete audit trails
- β³οΈ Final human audit is sacred - Human developers review and approve all critical changes
- β³οΈ Simulations and tests guide the AI - Test-driven development with simulation harnesses
- β³οΈ Clean data => clean code - Normalized, well-structured data leads to better outputs
π¦ What's Included
Session Lifecycle Commands
/session-plan- Initialize a new development session with structured planning/session-scaffold- Generate project structure from session plan/session-simulate- Run simulations and test harness against current code/session-cleanup- Clean and normalize session outputs/session-finalize- Finalize session with human review checkpoint
Specialized Agents
planner- High-level task decomposition and strategic planningcoder- Clean, efficient code implementationreviewer- Code quality and architecture reviewtester- Comprehensive testing and QAresearcher- Deep research and information gathering
Automated Hooks
pre_prompt_validator- Validate and normalize prompts before processingpost_diff_tester- Run tests after code generationsession_logger- Maintain complete audit trail of all interactions
Workflows
agentic-development- Complete development lifecycle workflowsession-lifecycle- Session management with checkpoints and audits
π Quick Start
Installation
# Add marketplace
/plugin marketplace add https://github.com/jmanhype/claude-code-plugins
# Install plugin
/plugin install modular-agentic-dev
Basic Usage
-
Start a New Session
/session-plan "Build a user authentication system"Creates session directory, initializes metadata, generates task breakdown
-
Scaffold the Structure
/session-scaffoldGenerates directory structure and boilerplate from plan
-
Implement with Agents
/task --subagent_type=coder "Implement JWT authentication"Use specialized agents for focused tasks
-
Run Simulations
/session-simulateExecute test harness and validate behavior
-
Review and Finalize
/session-finalizeHuman review checkpoint before committing changes
π§ Configuration
Optional environment variables:
# Session configuration
export SESSION_DIR=".claude/sessions" # Session log directory
export AUDIT_LEVEL="standard" # Audit verbosity (minimal/standard/full)
export SIMULATION_MODE="true" # Enable simulation harness
# Quality gates
export MATURITY_THRESHOLD="80" # Minimum maturity score for finalization
export REQUIRE_TESTS="true" # Enforce test coverage
π Session Structure
Each session creates a structured workspace:
.claude/sessions/<session-id>/
βββ _meta/
β βββ session.yaml # Session metadata
β βββ spec-map.yaml # Specification tracking
β βββ maturity.md # Quality checklist
βββ transcripts/
β βββ planning.md # Planning phase transcript
β βββ implementation.md # Implementation transcript
β βββ review.md # Review phase transcript
βββ artifacts/
β βββ generated/ # AI-generated code
β βββ approved/ # Human-approved code
βββ simulations/
βββ test-vectors.json # Test inputs
βββ results.json # Simulation results
π§ Agent Roles Explained
Planner
- Purpose: Strategic decomposition of complex tasks
- When to use: Start of new features, architectural decisions
- Output: Task breakdown, dependency graph, implementation sequence
Coder
- Purpose: Clean, efficient code implementation
- When to use: After planning, for focused implementation tasks
- Output: Production-ready code with inline documentation
Reviewer
- Purpose: Code quality and architectural review
- When to use: After implementation, before finalization
- Output: Quality assessment, improvement suggestions, approval
Tester
- Purpose: Comprehensive testing and validation
- When to use: Throughout development, especially before review
- Output: Test suites, coverage reports, bug findings
Researcher
- Purpose: Deep research and information gathering
- When to use: When exploring new libraries, patterns, or domains
- Output: Research summary, recommendations, best practices
π¬ Example Workflows
Feature Development
# 1. Plan the feature
/session-plan "Add OAuth2 social login"
# 2. Research best practices
/task --subagent_type=researcher "Research OAuth2 best practices for Express.js"
# 3. Scaffold structure
/session-scaffold
# 4. Implement
/task --subagent_type=coder "Implement Google OAuth2 provider"
# 5. Test
/session-simulate
# 6. Review
/task --subagent_type=reviewer "Review OAuth2 implementation"
# 7. Finalize
/session-finalize
Bug Fix
# 1. Start session
/session-plan "Fix memory leak in WebSocket handler"
# 2. Research the issue
/task --subagent_type=researcher "Analyze WebSocket memory patterns"
# 3. Implement fix
/task --subagent_type=coder "Fix WebSocket memory leak"
# 4. Test thoroughly
/task --subagent_type=tester "Create test suite for WebSocket lifecycle"
/session-simulate
# 5. Finalize
/session-finalize
Refactoring
# 1. Plan refactoring
/session-plan "Refactor authentication module for testability"
# 2. Code review first
/task --subagent_type=reviewer "Review current authentication implementation"
# 3. Implement refactoring
/task --subagent_type=coder "Refactor auth module with dependency injection"
# 4. Ensure tests pass
/session-simulate
# 5. Final review
/task --subagent_type=reviewer "Verify refactoring maintains behavior"
/session-finalize
π‘οΈ Quality Gates
The plugin enforces quality through automated checks:
Pre-Finalization Checklist
- β All tests passing
- β Code coverage meets threshold
- β No critical security issues
- β Documentation complete
- β Maturity score β₯ threshold
- β Human review completed
Maturity Scoring
Each session tracks maturity across dimensions:
maturity:
code_quality: 85/100 # Code structure, patterns, readability
test_coverage: 90/100 # Test completeness and quality
documentation: 75/100 # Inline docs, READMEs, comments
security: 95/100 # Security best practices
performance: 80/100 # Performance considerations
maintainability: 85/100 # Long-term maintainability
overall: 85/100 # Weighted average
π Audit Trail
Every session maintains a complete audit trail:
What's Logged
- All prompts and responses
- Agent invocations and results
- Code generations and modifications
- Test results and simulations
- Human review decisions
- Configuration changes
Accessing Audit Logs
# View current session log
cat .claude/sessions/<session-id>/transcripts/implementation.md
# Check maturity score
cat .claude/sessions/<session-id>/_meta/maturity.md
# Review test results
cat .claude/sessions/<session-id>/simulations/results.json
π― Advanced Features
Custom Simulation Harnesses
Create custom simulation scenarios:
# Define test vectors
echo '[
{"input": "user@example.com", "expected": "valid"},
{"input": "invalid-email", "expected": "error"}
]' > .claude/sessions/<session-id>/simulations/test-vectors.json
# Run simulations
/session-simulate
Integration with External Tools
The plugin integrates with:
- Conductor - State management and coordination
- JIDO - Workflow orchestration
- Custom MCP Servers - Your own tool integrations
Extending the Plugin
Add custom commands by creating markdown files:
<!-- my-custom-command.md -->
# My Custom Command
## Purpose
Describe what this command does
## Usage
/my-custom-command [args]
## Implementation
Script to execute: ./scripts/my-command.sh
π€ Best Practices
Do's β
- Always start with
/session-plan - Use specialized agents for focused tasks
- Run simulations before finalizing
- Maintain clean session boundaries
- Review maturity scores regularly
- Keep audit trails for compliance
Don'ts β
- Don't skip planning phase
- Don't finalize without human review
- Don't mix multiple concerns in one session
- Don't ignore test failures
- Don't bypass quality gates
π Resources
- Full Documentation: Agentic Development Workflow
- Session Lifecycle: Session Management
- Source Repository: multi-agent-system
π Troubleshooting
Session won't finalize
Check maturity score:
cat .claude/sessions/<session-id>/_meta/maturity.md
Ensure all quality gates pass:
/task --subagent_type=tester "Verify all quality gates"
Simulations failing
Review test vectors:
cat .claude/sessions/<session-id>/simulations/test-vectors.json
Check simulation results:
cat .claude/sessions/<session-id>/simulations/results.json
Hooks not executing
Verify hook permissions:
chmod +x .claude/hooks/*.sh
Check hook logs:
tail -f .claude/hooks/logs/*.log
π License
MIT License - see LICENSE
π Credits
Inspired by Mitchell Hashimoto's Ghostty development workflow and the principles of agentic engineering.
Built with π§ by @jmanhype
Details
- Marketplace
- jmanhype/claude-code-plugin-marketplace
- Source
- plugins/modular-agentic-dev
- Category
- Community
- Listed since
- Apr 7, 2026
Questions
What does the modular-agentic-dev plugin add to Claude Code?
It adds session lifecycle commands such as /session-plan, /session-scaffold, /session-simulate, /session-cleanup and /session-finalize. It also includes specialized agents named planner, coder, reviewer, tester and researcher, plus hooks like pre_prompt_validator, post_diff_tester and session_logger that keep an audit trail.
Which other plugins lead the Agent Workflow & Planning category?
modular-agentic-dev sits in the Agent Workflow & Planning category on Claude Marketplaces, alongside superpowers, ecc, mattpocock-skills, discernment-nudge and feature-dev. It covers session-based, agent-driven development with modular prompts, audit checkpoints, subagent roles and simulation harnesses.
How do I install the modular-agentic-dev plugin?
Run /plugin marketplace add jmanhype/claude-code-plugin-marketplace first, then /plugin install modular-agentic-dev@multi-agent-intelligence-marketplace inside Claude Code. The install adds the session commands, agents and hooks to your Claude Code setup.
Who is modular-agentic-dev for, and what does a session look like?
It suits developers who want each AI session to be self-contained, with planning, scaffolding, simulation and a human review step before finalizing. A session writes its metadata, transcripts, generated artifacts and simulation results into a .claude/sessions directory.
More from jmanhype/claude-code-plugin-marketplace
All 22- performance-optimization
- quant-trading-system
- repo-management-tools
- research-execution-pipeline
- safety-compliance
- sparc-methodology
- swarm-coordination
- testing-qa-framework
- ace-context-engineeringv1.0.0
- api-docs-generator
- architecture-design
- base-template-generator
- cicd-automation
- code-safety-monitor
- consensus-protocols
- core-dev-suite
- github-automation-suite
- hive-mind-orchestration
- market-intelligence
- memory-coordination
- mobile-automation
Similar to modular-agentic-dev
More Agent Workflow & Planningshipshitdev-ai-agentsshipshitdev/library39 starsAI agent development and prompt engineering
agent-deckasheshgoplani/agent-deck1.3K starsComplete guide for managing AI coding agent sessions via agent-deck CLI - session lifecycle, MCP management, groups, profiles, and automation
agents-courseundefined-ui/second-brain-os1.6K starsTools from the agents course: audit your context, write done as a script, bootstrap your eval suite, and a loop critic agent.
atomic-agentsanthropics/claude-plugins-official48.1K starsComprehensive development workflow for building AI agents with the Atomic Agents framework. Includes specialized agents for schema design, architecture planning
agent-alchemy-sdd-toolssequenzia/agent-alchemy46 starsAgent Alchemy SDD Tools β Spec Driven Development tools for AI agents
agent-alchemy-tdd-toolssequenzia/agent-alchemy46 starsAgent Alchemy TDD Tools β Test Driven Development tools for AI agents