Feature development with multi-session harness for large features
npx claudepluginhub chuggies510/feature-dev-harnessedFeature development with integrated harness for multi-session execution. Fork of Anthropic's feature-dev with their long-running agent pattern.
Feature development with multi-session execution for large features.
A fork of Anthropic's feature-dev plugin that integrates their harness pattern for long-running agents.
Anthropic's feature-dev plugin provides a thorough 7-phase workflow for feature development. This works well for features that fit in one context window. For larger features, the exploration and architecture phases (1-4) consume significant context, leaving insufficient room for implementation.
This fork keeps phases 1-4 (planning) and 6-7 (review) exactly as Anthropic designed them. It replaces phase 5 (implementation) with a multi-session harness pattern:
feature_list.json with work itemsOne command that detects state and does the right thing across multiple sessions.
Goal: Understand what needs to be built
You: /feature-dev-harnessed:feature-dev Add CSV export for cost reports
Claude: Let me understand what you need...
- What data should be included in the CSV?
- Should users be able to select which columns to export?
- Any specific formatting requirements?
Goal: Understand relevant existing code and patterns
Launches 2-3 code-explorer agents in parallel to trace through:
Found similar features:
- PDF export (src/export/pdf.py): Uses ReportFormatter base class
- Data filtering (src/reports/filters.py): Column selection pattern
Key files to understand:
- src/export/base.py:23 - ReportFormatter interface
- src/reports/cost_report.py:45 - Cost report data structure
- src/ui/export_button.py:12 - Export button component
Goal: Fill in gaps and resolve ambiguities before designing
Before designing the architecture, I need to clarify:
1. Column selection: Include all columns or let user choose?
2. Formatting: How should currency values be formatted?
3. File naming: Auto-generate filename or prompt user?
4. Large reports: Any pagination or size limits?
Goal: Design multiple approaches with trade-offs
Launches 2-3 code-architect agents with different focuses:
I've designed 3 approaches:
Approach 1: Minimal Changes
- Add csv_export() method to existing CostReport class
- Reuse PDF export button with format parameter
Pros: Fast, minimal code
Cons: Couples CSV logic to report class
Approach 2: Clean Architecture
- New CsvFormatter implementing ReportFormatter
- Dedicated export service with format registry
Pros: Extensible, testable, follows existing patterns
Cons: More files, more abstraction
Approach 3: Pragmatic Balance
- New CsvFormatter class
- Wire into existing export button component
Pros: Clean separation, minimal refactoring
Cons: Some duplication with PDF formatter
Recommendation: Approach 3 - follows existing patterns without over-engineering.
Which approach would you like to use?
After user approves, creates feature_list.json with session-sized work items.
Each session:
Session 3: Implementation
Smoke tests: 001 PASS, 002 PASS
Working on: 003 - Wire export button to CSV formatter
Verification: python3 -m pytest tests/test_csv_export.py -v
[Implementation happens here]
Verification PASSED
Ready to commit? Proceed?
Launches 3 code-reviewer agents to check:
Code Review Results:
Official prompts.chat marketplace - AI prompts, skills, and tools for Claude Code
Open Design — local-first design app exposed to coding agents over MCP. Install once with your agent's plugin command and projects/files/skills are reachable through stdio.
Behavioral guidelines to reduce common LLM coding mistakes, derived from Andrej Karpathy's observations