From rcc
Brainstorms user workflows for agent system design using role templates (developer, PM, content creator, data analyst) and step-by-step task exploration. Activates on 'explore workflows' or similar.
npx claudepluginhub wayne930242/reflexive-claude-codeThis skill uses the workspace's default tool permissions.
**Brainstorming workflows IS understanding the human before designing the system.**
Plans agent system components to create/modify/delete from analysis reports and workflows: designs DOT architecture flowcharts using Anthropic patterns, checks reuse, gets user confirmation.
Designs AI agent workflows using Meta's 9-step process and 8-layer architecture. Guides scope definition, input/output structuring, tool integration for agentic solutions.
Designs AI agent architectures by diagnosing problems on task and project axes, selecting patterns like single-agent loops, autonomous pipelines, optimization loops, or multi-agent systems, and defining workflows with phases, artifacts, gates, and tooling.
Share bugs, ideas, or general feedback.
Brainstorming workflows IS understanding the human before designing the system.
Use role templates to quickly identify the user's context, then explore their specific workflows one question at a time. Don't assume the user is a developer — they may use the agent system for project management, content creation, data analysis, or other work.
Core principle: The agent system must serve the user's actual workflows, not an imagined ideal.
Violating the letter of the rules is violating the spirit of the rules.
Pattern: Chain
Handoff: user-confirmation
Next: planning-agent-systems
Chain: main
Before ANY action, create task list using TaskCreate:
TaskCreate for EACH task below:
- Subject: "[brainstorming-workflows] Task N: <action>"
- ActiveForm: "<doing action>"
Tasks:
Announce: "Created 5 tasks. Starting execution..."
Execution rules:
TaskUpdate status="in_progress" BEFORE starting each taskTaskUpdate status="completed" ONLY after verification passesTaskList to confirm all completedGoal: If an analysis report exists, bring its findings into the conversation.
If analysis report path was provided:
If no analysis report: Skip to Task 2.
This allows skipping questions already answered by analysis. For example:
Verification: User has confirmed which findings to address (or no analysis exists).
Goal: Identify the user's primary role to guide exploration.
Present the role table:
| Role | Typical Workflows |
|---|---|
| A) Software Developer | coding, testing, code review, CI/CD, deployment |
| B) Project Manager | task tracking, reporting, scheduling, communication |
| C) Content Creator | writing, translation, publishing, social media |
| D) Data Analyst | data processing, visualization, reporting, automation |
| E) Operations / DevOps | monitoring, deployment, incident response, IaC |
| F) Custom | describe your role |
Ask: "你的角色最接近哪一個?選擇字母即可。"
Verification: User has selected a role.
Goal: Explore the user's specific workflows one question at a time.
CRITICAL: Read references/role-templates.md for role-specific deep-dive questions.
Rules:
After workflow exploration, classify into two layers:
Layer 1 — Anthropic workflow patterns (how workflows execute): Read references/anthropic-patterns.md for the six patterns and their signal phrases from user answers.
Layer 2 — Skill routing patterns (how skills connect): Read references/routing-patterns.md for Tree/Chain/Node/Skill Steps classification.
Verification: Have enough information to map workflows to BOTH Anthropic patterns and skill routing patterns.
Goal: Before producing the summary, challenge every workflow for simplicity.
Core question: "What is the simplest approach that works for each workflow?"
Anthropic's guidance: "Success in the LLM space isn't about building the most sophisticated system. It's about building the right level of complexity for your needs."
For each workflow, ask:
Read references/anthropic-patterns.md for the complexity ladder (Levels 1-6). Prefer the lowest level that works.
Present the assessment to the user: Show each workflow with its proposed complexity level and ask if they agree. Users often accept over-engineering without questioning — push back gently.
Verification: Every workflow has an assigned complexity level, and the user has confirmed the approach.
Goal: Write structured summary to docs/agent-system/{timestamp}-workflows.md.
CRITICAL: Read references/summary-template.md for the full summary format.
Handoff: "工作流摘要完成。要繼續規劃 agent system 元件嗎?"
planning-agent-systems skill, pass workflow summary pathVerification: Summary written with all workflows mapped to components.
These thoughts mean you're rationalizing. STOP and reconsider:
| Thought | Reality |
|---|---|
| "Obviously a developer" | PMs, analysts, creators all use agent systems. Ask. |
| "I know the workflows" | You know common workflows. Theirs may differ. |
| "Multiple questions saves time" | Multiple questions overwhelm. One at a time. |
| "Skip analysis" | Analysis findings prevent redundant questions. Use them. |
| "Summary is overhead" | Summary is the contract for planning. Essential. |
| "This needs a skill" | Most workflows need less than you think. Check the complexity ladder. |
| "Skip past failures" | Past failures are the highest-value context. Always ask. |
digraph brainstorm_workflows {
rankdir=TB;
start [label="Brainstorm\nworkflows", shape=doublecircle];
analysis [label="Task 1: Import\nanalysis findings", shape=box];
has_analysis [label="Analysis\nexists?", shape=diamond];
confirm_fixes [label="User selects\nfindings to fix", shape=box];
role [label="Task 2: Role\nselection", shape=box];
explore [label="Task 3: Workflow\nexploration", shape=box];
simplify [label="Task 4: Simplest\nviable approach", shape=box, style=filled, fillcolor="#ffffcc"];
summary [label="Task 5: Produce\nworkflow summary", shape=box];
handoff [label="Invoke\nplanning-agent-systems", shape=box];
done [label="Brainstorm complete", shape=doublecircle];
start -> analysis;
analysis -> has_analysis;
has_analysis -> confirm_fixes [label="yes"];
has_analysis -> role [label="no"];
confirm_fixes -> role;
role -> explore;
explore -> simplify;
simplify -> summary;
summary -> handoff [label="continue"];
summary -> done [label="stop here"];
handoff -> done;
}