Slash Command

/dev

work #N | brainstorm | plan | execute | prd | suite | "description" [--mode quick|full] [--provider auto|popkit|feature-dev] [-T, --power]

From popkit-dev
Install
1
Run in your terminal
$
npx claudepluginhub jrc1883/popkit-claude --plugin popkit-dev
Details
Argument[subcommand|description] [flags]
Command Content

/popkit-dev:dev - Development Workflows

Unified entry point for development workflows.

Intelligent routing: Auto-selects quick (5-step) or full (7-phase) workflow.

Usage

/popkit-dev:dev "add dark mode"           # Auto-routed
/popkit-dev:dev work #123                 # Issue-driven
/popkit-dev:dev brainstorm               # Idea refinement
/popkit-dev:dev plan "feature"           # Write plan
/popkit-dev:dev execute                  # Run plan
/popkit-dev:dev "task" --mode quick      # Override
/popkit-dev:dev "task" --provider feature-dev

Subcommands

SubcommandDescriptionUse Case
work #NIssue-driven devGitHub issue
brainstormSocratic questioningUnclear requirements
planImplementation planPlanning
executeExecute planImplementation
prdGenerate PRDRequirements
suiteFull doc suiteComplete docs

Modes

ModeWhenProcess
quickSimple, clear5 steps: Understand → Find → Fix → Verify → Commit
fullComplex7 phases: Discovery → Exploration → Questions → Architecture → Impl → Review → Summary

Override: --mode quick|full

Flags

FlagShortDescription
--modequick or full
--providerauto, popkit, feature-dev
--thinking-TExtended thinking
--think-budget NToken budget (10000)
--from FILEFrom design/plan
--issue NReference issue
--power-pPower Mode
--solo-sSequential

Orchestrator

Quick: Simple, greenfield, few files Full: Complex, architecture, multi-domain

Details: commands/examples/dev/routing-examples.md

Provider Strategy (Issue #218)

--provider auto (default) uses first-principles resolution:

  1. Choose the simplest provider that satisfies required capabilities.
  2. Prefer official upstream for commodity flows.
  3. Require PopKit when workflow needs PopKit-only orchestration.
  4. Reassess when failure rate or cycle time regresses.

Use explicit overrides for experimentation:

  • --provider popkit - force native PopKit orchestration
  • --provider feature-dev - force upstream workflow (fallback to PopKit if unavailable)

Implementation references:

  • packages/shared-py/popkit_shared/utils/dev_provider_resolver.py
  • packages/shared-py/popkit_shared/utils/dev_workflow_router.py

Provider Preflight (Required for quick|full|work)

Before executing implementation steps, run the provider preflight:

python packages/shared-py/popkit_shared/utils/dev_workflow_router.py \
  --task "<description>" \
  --mode <quick|full> \
  --provider <auto|popkit|feature-dev> \
  [--issue N] \
  --format display

Then route execution using preflight output:

  1. If selected provider is feature-dev, run /popkit:feature-dev and keep the printed fallback_command ready.
  2. If selected provider is popkit, continue native /popkit-dev:dev ... --provider popkit flow.
  3. Always preserve rationale in the final summary to support reassessment.

Mode: full

7-phase workflow.

PhaseGoalAgent/Skill
1. DiscoveryWhat to buildpop-brainstorming
2. ExplorationUnderstand codecode-explorer
3. QuestionsClarifypop-project-templates
4. ArchitectureDesigncode-architect
5. ImplementationBuildpop-writing-plans, pop-executing-plans
6. ReviewQualitycode-reviewer
7. SummaryCompletepop-finish-branch

Details: commands/examples/dev/full-mode-walkthrough.md


Mode: work

Issue-driven with Power Mode.

/popkit-dev:dev work #57 -p

Process

  1. Fetch issue
  2. Parse PopKit Guidance
  3. Determine mode
  4. Execute phases
  5. Complete (pop-finish-branch)
  6. Next actions (AskUserQuestion)

CRITICAL: Always present next actions (Issue #118)

Details: commands/examples/dev/work-mode-completion.md


Mode: brainstorm

Socratic design refinement via pop-brainstorming.

Details: commands/examples/dev/brainstorm-session.md


Mode: plan

Implementation plans via pop-writing-plans.

Details: commands/examples/dev/plan-structure.md


Mode: execute

Batch execution via pop-executing-plans.

/popkit-dev:dev execute --batch-size 5 --start-at 4

Details: commands/examples/dev/execute-batch-flow.md


Mode: quick

5-step minimal ceremony.

/popkit-dev:dev "fix timezone bug"

Quality Checks

Task TypeChecks
Animations/PhysicsEnergy, collision
UI ComponentsA11y, responsive
API EndpointsValidation, security
Data ProcessingEdge cases, perf
Bug FixesRegression, root cause

Details: commands/examples/dev/quick-mode-examples.md


Mode: prd

Generate PRD with Summary, Problem, Goals, Requirements (P0/P1/P2), Stories, Tech, Risks.


Mode: suite

Generate complete docs:

DocumentLocationPurpose
problem_statement.mddocs/discovery/Problem
PRD.mddocs/prd/Requirements
user_stories.mddocs/prd/Stories
ARCHITECTURE.mddocs/architecture/Design
TECHNICAL_SPEC.mddocs/architecture/Tech details

Executables

# Provider preflight (Issue #218)
python packages/shared-py/popkit_shared/utils/dev_workflow_router.py --task "<description>" --mode <quick|full> --provider <auto|popkit|feature-dev> --format display

# Full
Use Task tool (Explore|Plan|code-reviewer)
git worktree add .worktrees/feature-<name> -b feature/<name>

# Work
gh issue view <number> --json number,title,body,labels,state,author

# Skills
Use Skill tool (pop-brainstorming|pop-writing-plans|pop-executing-plans)

Migration

OldNew
/popkit:design/popkit-dev:dev brainstorm
/popkit:plan/popkit-dev:dev plan
/popkit:feature-dev/popkit-dev:dev full

Related

  • /popkit-dev:git - Version control
  • /popkit-dev:issue - Issue management
  • /popkit-dev:worktree - Worktree management
  • /popkit-core:power - Multi-agent orchestration
Stats
Parent Repo Stars5
Parent Repo Forks0
Last CommitFeb 17, 2026