Commands Reference
Commands Reference
Section titled “Commands Reference”PopKit provides 25 slash commands across 4 plugins for managing development workflows.
These /popkit-* commands are the recommended entry points. For direct primitive invocation, see Skills Reference (/pop-* layer).
popkit-core
Section titled “popkit-core”Core foundation commands for project management and orchestration.
/popkit-core:power
Section titled “/popkit-core:power”Description: Multi-agent orchestration control
Subcommands:
start- Start Power Mode (Redis or Native Async)stop- Stop Power Mode and cleanupstatus- Check Power Mode stateinit- Initialize Redis configurationmetrics- View orchestration metricswidgets- Generate dashboard widgetsconsensus- Run consensus voting
Options: --consensus, --agents N
Example:
/popkit-core:power start/popkit-core:power status/popkit-core:project
Section titled “/popkit-core:project”Description: Project initialization and analysis
Subcommands:
init- Initialize PopKit in projectanalyze- Analyze project structureboard- View project kanban boardembed- Generate project embeddingsgenerate- Generate project documentationmcp- MCP server managementsetup- Configure project settingsskills- List/manage project skillsobserve- Monitor project changesreference- Generate reference docs
Options: --power, --json
Example:
/popkit-core:project init/popkit-core:project analyze --json/popkit-core:plugin
Section titled “/popkit-core:plugin”Description: Plugin development and testing
Subcommands:
test- Run plugin validation testsdocs- Generate plugin documentationsync- Sync plugin metadatadetect- Detect plugin issuesversion- Update plugin versions
Options: --verbose, --json
Example:
/popkit-core:plugin test agents/popkit-core:plugin docs --verbose/popkit-core:account
Section titled “/popkit-core:account”Description: PopKit Cloud account management
Subcommands:
status- Check account statussignup- Create new accountlogin- Authenticatekeys- Manage API keysusage- View usage statslogout- Sign out
Example:
/popkit-core:account status/popkit-core:account usage/popkit-core:stats
Section titled “/popkit-core:stats”Description: Development efficiency metrics
Subcommands:
session- Current session statstoday- Today’s metricsweek- Weekly summarycloud- Cloud sync statusreset- Reset statistics
Example:
/popkit-core:stats today/popkit-core:stats week/popkit-core:dashboard
Section titled “/popkit-core:dashboard”Description: Multi-project management
Subcommands:
add- Register projectremove- Unregister projectrefresh- Update project datadiscover- Find projects
Example:
/popkit-core:dashboard add/popkit-core:dashboard refresh/popkit-core:bug
Section titled “/popkit-core:bug”Description: Bug reporting and tracking
Subcommands:
report- Report bug to GitHubsearch- Search existing bugsshare- Share bug pattern
Options: --issue, --share
Example:
/popkit-core:bug report/popkit-core:bug search "login error"/popkit-core:privacy
Section titled “/popkit-core:privacy”Description: Privacy settings management
Subcommands:
status- View privacy settingsconsent- Manage consentexport- Export datadelete- Delete datalevel- Set privacy level
Options: strict|moderate|minimal
Example:
/popkit-core:privacy status/popkit-core:privacy level strict/popkit-core:record
Section titled “/popkit-core:record”Description: Session recording control
Subcommands:
start- Begin recordingstop- End recordingstatus- Check recording state
Example:
/popkit-core:record start/popkit-core:record statuspopkit-dev
Section titled “popkit-dev”Development workflow commands for git, issues, and routines.
/popkit-dev:git
Section titled “/popkit-dev:git”Description: Git workflow management with smart commits, PRs, and releases
Subcommands:
commit- Smart commit with auto-generated message (default)push- Push with branch protection checkspr- Pull request managementreview- Code review with confidence filteringci- GitHub Actions workflow monitoringrelease- Release management with changelogspublish- Publish to public repoprune- Remove stale branchesfinish- Complete development flowanalyze-strategy- Analyze branching strategy
Options: --draft, --squash, --force-with-lease, --amend
Example:
/popkit-dev:git commit/popkit-dev:git pr create --draft/popkit-dev:git review --staged/popkit-dev:git analyze-strategy/popkit-dev:dev
Section titled “/popkit-dev:dev”Description: 7-phase feature development workflow
Usage: /popkit-dev:dev "feature description"
Phases:
- Discovery - Understand requirements
- Exploration - Explore codebase
- Questions - Clarify ambiguities
- Architecture - Design solution
- Implementation - Build feature
- Review - Code review
- Summary - Document completion
Options: --mode quick|full, -T, --power
Example:
/popkit-dev:dev "Add dark mode toggle"/popkit-dev:dev "OAuth2 authentication" --power/popkit-dev:next
Section titled “/popkit-dev:next”Description: Context-aware next action recommendations
Features:
- Analyzes project state (git, tests, deps, docs)
- Scores recommendations by priority
- Detects branch protection issues
- Provides actionable commands
Options: quick|verbose
Example:
/popkit-dev:next/popkit-dev:next verbose/popkit-dev:routine
Section titled “/popkit-dev:routine”Description: Morning and nightly development routines
Subcommands:
morning- Day start health checknightly- End-of-day cleanup
Options: run|quick|generate|list|set|edit|delete
Morning Routine:
- Git status check
- Dependency updates
- Test verification
- Environment validation
- “Ready to Code” score
Nightly Routine:
- Uncommitted changes check
- Test status
- Branch cleanup
- Tomorrow’s preparation
- “Sleep Score”
Example:
/popkit-dev:routine morning/popkit-dev:routine nightly quick/popkit-dev:issue
Section titled “/popkit-dev:issue”Description: GitHub issue management
Subcommands:
create- Create issuelist- List issuesview- View issue detailsclose- Close issuecomment- Add commentedit- Edit issuelink- Link to PR/commit
Options: --state, --label
Example:
/popkit-dev:issue list --label bug/popkit-dev:issue create/popkit-dev:issue view 123/popkit-dev:milestone
Section titled “/popkit-dev:milestone”Description: Milestone tracking and health reports
Subcommands:
list- List milestonescreate- Create milestoneclose- Close milestonereport- Generate status reporthealth- Check milestone health
Options: --json, --verbose
Example:
/popkit-dev:milestone list/popkit-dev:milestone health v1.0.0/popkit-dev:worktree
Section titled “/popkit-dev:worktree”Description: Worktree batch operations and health analysis
PopKit enhances git worktree workflows with batch operations and intelligent recommendations.
Subcommands:
list- List all worktrees with status (uncommitted changes, commits behind)update-all- Pull latest changes in all worktrees simultaneouslyanalyze- Health analysis with cleanup recommendationsinit- Auto-create worktrees from branch patternsprune- Remove stale worktree references
Options: --install (run npm install after update), --dry-run, --force
Example:
# See all worktrees and their status/popkit-dev:worktree list
# Update all worktrees at once/popkit-dev:worktree update-all --install
# Get health recommendations/popkit-dev:worktree analyze
# Auto-create worktrees for dev branches/popkit-dev:worktree init --pattern "dev-*"popkit-ops
Section titled “popkit-ops”Operations and quality commands for testing, debugging, and deployment.
/popkit-ops:assess
Section titled “/popkit-ops:assess”Description: AI-powered code quality assessments
Subcommands:
anthropic- Anthropic best practicessecurity- Security vulnerabilitiesperformance- Performance bottlenecksux- UX/accessibility issuesarchitect- Architecture qualitydocs- Documentation completenessall- Run all assessments
Options: --fix, --json
Example:
/popkit-ops:assess security/popkit-ops:assess all --fix/popkit-ops:audit
Section titled “/popkit-ops:audit”Description: Project health audits
Subcommands:
quarterly- Quarterly reviewyearly- Yearly reviewstale- Find stale codeduplicates- Detect duplicationhealth- Overall health scoreip-leak- Scan for IP leaks
Options: --verbose, --fix
Example:
/popkit-ops:audit health/popkit-ops:audit ip-leak --verbose/popkit-ops:debug
Section titled “/popkit-ops:debug”Description: Debugging assistance
Subcommands:
code- Debug code issuesrouting- Debug agent routing
Options: --trace, --verbose
Example:
/popkit-ops:debug code src/auth.js/popkit-ops:debug routing --trace/popkit-ops:deploy
Section titled “/popkit-ops:deploy”Description: Deployment management
Subcommands:
init- Initialize deploymentsetup- Configure deploymentvalidate- Validate deployment configexecute- Run deploymentrollback- Rollback deployment
Options: --target, --all, --dry-run
Example:
/popkit-ops:deploy validate/popkit-ops:deploy execute --target production/popkit-ops:deploy rollback/popkit-ops:security
Section titled “/popkit-ops:security”Description: Security scanning and fixes
Subcommands:
scan- Scan for vulnerabilitieslist- List findingsfix- Auto-fix issuesreport- Generate security report
Options: --dry-run, --severity, --fix
Example:
/popkit-ops:security scan/popkit-ops:security fix --severity high/popkit-ops:benchmark
Section titled “/popkit-ops:benchmark”Description: Performance benchmarking
Subcommands:
run- Run benchmarkscompare- Compare resultsreport- Generate report
Example:
/popkit-ops:benchmark run/popkit-ops:benchmark compare main feat/optimizationpopkit-research
Section titled “popkit-research”Knowledge management commands for research and notes.
/popkit-research:research
Section titled “/popkit-research:research”Description: Research capture and organization
Subcommands:
list- List research itemssearch- Search researchadd- Add research itemtag- Tag researchshow- Show research detailsdelete- Delete researchmerge- Merge research items
Options: --type, --project
Example:
/popkit-research:research add "API Design Patterns"/popkit-research:research search "authentication"/popkit-research:research tag research-123 --tag security/popkit-research:knowledge
Section titled “/popkit-research:knowledge”Description: Knowledge base management
Subcommands:
list- List knowledge itemsadd- Add knowledgeremove- Remove knowledgesync- Sync with storagesearch- Search knowledge base
Usage: /popkit-research:knowledge search <query>
Example:
/popkit-research:knowledge add docs/architecture.md/popkit-research:knowledge search "JWT tokens"/popkit-research:knowledge syncCommand Conventions
Section titled “Command Conventions”Argument Patterns
Section titled “Argument Patterns”<required>- Required argument[optional]- Optional argumentcommand|alternative- Multiple options
Common Options
Section titled “Common Options”--json- Output in JSON format--verbose- Detailed output--dry-run- Preview without executing--force- Skip confirmations--fix- Auto-fix issues
Output Formats
Section titled “Output Formats”Commands use consistent output formatting:
- Success: Green checkmark with message
- Warning: Yellow warning icon with details
- Error: Red X with error description
- Info: Blue info icon with context
Next Steps
Section titled “Next Steps”- Learn about Skills Reference
- Explore Agents Reference
- Read Command Usage Guide
- View XML Prompts Guide