一键导入
work
Unified entry point — auto-classifies tasks and routes to appropriate workflow. ALWAYS execute when invoked via slash command.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Unified entry point — auto-classifies tasks and routes to appropriate workflow. ALWAYS execute when invoked via slash command.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Initialize Flowbit with intelligent project analysis and documentation generation
Creates Mermaid diagrams for planning flows, component communication, and architecture views with adaptive detail selection (including C4 levels). This skill should be used when the user asks for a workflow, interaction, or architecture visualization from provided task context.
Internal engine for managing project documentation and technical standards in .flowbit/docs/. Handles file operations, INDEX.md generation, and .github/copilot-instructions.md integration. Invoked by flowbit-init, standards-update, and standards-discover skills.
Quick bug fix with TDD red/green gates and complexity escalation
Implement task directly with AI SDLC standards awareness (no planning mode)
Enter planning mode with AI SDLC standards awareness
| name | work |
| description | Unified entry point — auto-classifies tasks and routes to appropriate workflow. ALWAYS execute when invoked via slash command. |
NOTE: This is a multi-step workflow that invokes the task-classifier subagent and orchestrator skills at specific steps. The <command-name> tag refers to THIS command only — you MUST still use the Skill tool to invoke those other skills when instructed below. Follow ALL steps in order.
Auto-classifies tasks and routes to the appropriate workflow orchestrator. Supports resuming existing tasks or starting new ones.
/work [task description | task folder path | issue identifier]
| Input Type | Example |
|---|---|
| Task folder path | .flowbit/tasks/development/2025-10-23-login-timeout |
| Folder name only | 2025-10-26-user-auth (searches all task types) |
| Task description | "Fix login timeout error on mobile" |
| GitHub issue | #456, GH-456, https://github.com/owner/repo/issues/456 |
| Jira ticket | PROJ-456, https://company.atlassian.net/browse/PROJ-456 |
| Azure DevOps | AB#123, https://dev.azure.com/org/project/_workitems/edit/123 |
| No argument | Prompts for input |
# Resume existing task
/work ".flowbit/tasks/development/2025-10-23-login-timeout"
/work "2025-10-26-user-auth"
# New task (auto-classifies)
/work "Fix login timeout error on mobile devices"
/work "Add user authentication with email/password"
/work "Improve dashboard loading performance"
# From issue tracker
/work "#456"
/work "PROJ-123"
/work "AB#789"
| Classification | Routes To (Skill) |
|---|---|
| development | flowbit-development |
| performance | flowbit-performance |
| migration | flowbit-migration |
| research | flowbit-research |
| product-design | flowbit-product-design |
Check if input is an existing task folder:
.flowbit/ (relative path).flowbit/tasks/*/ for folder name matchIf folder exists AND contains orchestrator-state.yml:
If NOT a task folder:
If no argument provided:
When existing task detected:
orchestrator-state.yml from task folder| Folder | Workflow Type |
|---|---|
development/ | development |
performance/ | performance |
migrations/ | migration |
research/ | research |
product-design/ | product-design |
Extract status from state file:
completed: null = in-progress, timestamp = finishedcompleted_phases: derive active phase as first phase not in this listfailed_phases: array of failed attemptsPresent status to user with ask_user:
For In-Progress Tasks:
Options:
1. Resume from next incomplete phase
2. Restart from specific phase
3. Cancel
For Completed Tasks:
Options:
1. View task details
2. Create follow-up development task
3. Re-run verification phase
4. Cancel
For Failed Tasks:
Options:
1. Resume with fresh attempts (--reset-attempts --clear-failures)
2. Retry failed phase
3. Restart from specific phase
4. Cancel
Use Skill tool:
skill: "flowbit-[orchestrator-name]"
args: "--resume [task_path] [flags]"
Examples:
skill: "flowbit-development" with args: "--resume .flowbit/tasks/development/2025-10-23-fix"skill: "flowbit-development" with args: "--resume .flowbit/tasks/development/2025-10-26-auth --from=verify"skill: "flowbit-migration" with args: "--resume .flowbit/tasks/migrations/2025-10-20-redux --reset-attempts"Use Skill tool:
skill: "flowbit-diagrams-mermaid"
args: "Visualize routing/resume flow using current task state.
IMPORTANT: refine existing status/context only; do not invent domain details."
For new task descriptions:
Use Task tool:
subagent_type: "flowbit-task-classifier"
description: "Classify task type"
prompt: "Classify this task into a workflow type: [task description].
Return structured YAML classification result."
The subagent will:
- Detect issue identifiers (GitHub, Jira)
- Fetch issue details if available
- Analyze codebase context
- Match keywords and calculate confidence
- Confirm with user if needed
- Return classification in YAML format
classification:
task_type: [development|performance|migration|research|product-design]
confidence: [percentage]
reasoning: [explanation]
Display:
Task classified as: [task_type] ([confidence]% confidence)
Routing to [task_type] workflow...
Use Skill tool:
skill: "flowbit-[orchestrator-name]"
args: "[description]"
Routing examples:
skill: "flowbit-development" with args: "Fix login timeout error"skill: "flowbit-development" with args: "Add filtering to user table"skill: "flowbit-performance" with args: "Optimize slow dashboard queries"Use Skill tool:
skill: "flowbit-diagrams-mermaid"
args: "Visualize classification -> orchestrator routing for this task.
Use only confirmed classification data."
If task-classifier returns error:
Display:
"Unable to automatically classify this task. Please select manually:"
Use ask_user with options:
1. Development - Fix bugs, improve features, or add new capabilities
2. Performance - Optimize speed/efficiency
3. Migration - Move to new tech/pattern
4. Research - Investigate and document findings
5. Product Design - Design features or products before building them
Then route to selected workflow using Skill tool.
Display:
"Task cancelled. You can:
- Run /work again when ready
- Use specific workflow commands directly:
/flowbit-development, /flowbit-performance, etc."
| Workflow Type | Skill | Args |
|---|---|---|
| development | flowbit-development | --resume [path] [--from=PHASE] [--reset-attempts] |
| performance | flowbit-performance | --resume [path] [--from=PHASE] |
| migration | flowbit-migration | --resume [path] [--from=PHASE] |
| research | flowbit-research | --resume [path] [--from=PHASE] |
| product-design | flowbit-product-design | --resume [path] [--from=PHASE] |
The /flowbit:work command delegates classification to the task-classifier subagent via Task tool, which:
After classification/detection, this command routes to the appropriate orchestrator via Skill tool:
orchestrator-state.yml for pause/resumeUses project documentation for context:
.flowbit/docs/INDEX.md - Project overview and standards.flowbit/tasks/ - Existing task directories