Skip to content

feat: enhance commands with brainstorm/design workflow and issue triage#19

Merged
dean0x merged 5 commits intomainfrom
feature/enhance-commands
Nov 16, 2025
Merged

feat: enhance commands with brainstorm/design workflow and issue triage#19
dean0x merged 5 commits intomainfrom
feature/enhance-commands

Conversation

@dean0x
Copy link
Owner

@dean0x dean0x commented Nov 16, 2025

Summary

Major enhancement of DevFlow commands focusing on structured planning and deliberate decision-making.

Key Changes:

  • Replace monolithic /research with focused /brainstorm (exploration) and /design (planning)
  • Redesign /plan for deliberate issue triage with GitHub integration
  • Rename /plan-next-steps to /breakdown for concise quick captures
  • Apply orchestration principle - commands delegate, not do heavy work
  • Remove user confirmation from /commit workflow - trust the agent

Changes

New Workflow

  • /brainstorm - Explore architectural approaches and trade-offs
  • /design - Create detailed implementation plans with integration points
  • /plan - Triage issues: implement now, defer to GitHub issue, or skip
  • /breakdown - Quick task decomposition (renamed from plan-next-steps)

Architectural Improvements

  • Commands use minimal tools (orchestration principle)
  • Agents do heavy lifting, main session stays light
  • Documentation framework with consistent timestamps (YYYY-MM-DD_HHMM)
  • Research skill updated to use brainstorm agent

Stats

  • 22 files changed
  • +1,474 / -1,814 lines (net reduction of 340 lines)
  • Removed 609-line research agent
  • Streamlined /implement from 507 to ~100 lines

Test plan

  • Run npm run build - passes
  • Test /brainstorm command launches brainstorm agent
  • Test /design command launches design agent
  • Test /plan creates GitHub issues when user defers
  • Test /breakdown saves todos without interaction
  • Test /commit executes without asking for confirmation
  • Verify CLI help output shows new command descriptions

Breaking Changes

  • /plan-next-steps renamed to /breakdown
  • /research command removed (use /brainstorm + /design)
  • /plan behavior completely changed (triage vs selection)

🤖 Generated with Claude Code

Dean Sharon and others added 5 commits November 16, 2025 20:25
The research agent and command were too heavy-handed for exploratory work.
Replace with:
- brainstorm agent: explores design decisions and approaches
- design agent: creates detailed implementation plans

Research skill now delegates to brainstorm agent for pattern discovery.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
New workflow separates concerns:
- /brainstorm: explore architectural approaches and trade-offs
- /design: create detailed implementation plans with integration points

Agents follow project documentation framework with .docs persistence.
Commands orchestrate Task tool invocations per orchestration principle.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
…breakdown

/plan now provides deliberate triage:
- Implement now: add to todos
- Defer to GitHub: create and lock issue
- Skip entirely: not worth tracking

/breakdown: quick task decomposition without interactive triage.
Commands use minimal tools (AskUserQuestion, TodoWrite, Bash only)
following the orchestration principle - no heavy codebase scanning.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Apply standardized documentation framework across all persisting agents:
- Timestamps: YYYY-MM-DD_HHMM (sortable, readable)
- Branch slugs: sanitize / to - for file paths
- Consistent .docs/ directory structure

Streamline /implement command:
- Remove interactive triage (use /plan for that)
- Focus on efficient task execution with minimal interruption
- Only stop for genuine design decisions

Update CLAUDE.md with framework documentation.
Update README.md with new command descriptions (/plan, /breakdown).
Update CLI init.ts with aligned command descriptions.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
The /commit command now executes commits immediately after safety checks
pass, without asking for user confirmation. Trust the agent's judgment.

Safety checks still abort for:
- Secrets, credentials, API keys
- Sensitive files (.env, *.key, etc.)
- Dangerous patterns

But once safe, execute without interruption.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@dean0x dean0x merged commit a122584 into main Nov 16, 2025
@dean0x dean0x deleted the feature/enhance-commands branch November 16, 2025 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant