بنقرة واحدة
vibe-graph
Design a workflow via 3-stage Vibe Graphing pipeline
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Design a workflow via 3-stage Vibe Graphing pipeline
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
| name | vibe-graph |
| description | Design a workflow via 3-stage Vibe Graphing pipeline |
| user_invocable | true |
Convert a natural language intent into an executable workflow stored as real graph nodes and edges in MinnsDB. Uses a 3-stage compilation pipeline (Role Assignment → Structure Design → Semantic Completion).
Claude does all reasoning. The CLI provides graph context. The server stores the result.
When the user invokes /vibe-graph <intent>:
Query the graph for relevant prior knowledge:
minns vibe-graph "<intent>" --json
This returns:
graph_context — NLQ answer, resolved entities, related memories and strategiesproven_strategies — strategies that have worked for similar tasksexisting_workflows — workflows that may be reusable or adaptableUse this context to inform your design decisions in the stages below.
You (Claude) reason about this — do NOT delegate to the CLI.
Based on the intent and graph context, determine the roles/agents needed:
code, review, test, research, architect, ops)Present the roles to the user in a table:
| Role | Responsibility | Why |
|---|---|---|
| architect | Design the API surface | Ensures consistency with existing patterns |
| code | Implement the changes | Core implementation work |
| test | Write and run tests | Verify correctness |
| review | Review the final changes | Quality gate |
Wait for user approval before proceeding. They may add, remove, or modify roles.
You (Claude) reason about this — do NOT delegate to the CLI.
Design the workflow graph:
task descriptiondepends_on relationships (what must complete before this step starts)inputs and outputs (data flow between steps)Present the structure as a dependency graph:
[architect] ──→ [code] ──→ [review]
│
└──→ [test] ──→ [review]
With a table of steps:
| Step ID | Role | Task | Depends On | Inputs | Outputs |
|---|---|---|---|---|---|
| design | architect | Design API surface matching existing patterns | — | intent | api_spec |
| implement | code | Implement the API changes | design | api_spec | code_changes |
| test | test | Write integration tests for new endpoints | implement | code_changes | test_results |
| review | review | Review implementation and tests | implement, test | code_changes, test_results | approval |
Wait for user approval before proceeding. They may restructure dependencies or modify tasks.
After approval, build the complete workflow JSON and save it to MinnsDB:
cat <<'WORKFLOW_JSON' | minns workflow create --file - --group_id "$MINNS_GROUP_ID"
{
"name": "<descriptive-name>",
"intent": "<original intent>",
"description": "<detailed description of what this workflow accomplishes>",
"steps": [
{
"id": "design",
"role": "architect",
"task": "Design API surface matching existing patterns in the codebase",
"depends_on": [],
"inputs": ["intent"],
"outputs": ["api_spec"],
"metadata": {}
},
{
"id": "implement",
"role": "code",
"task": "Implement the API changes based on the approved design",
"depends_on": ["design"],
"inputs": ["api_spec"],
"outputs": ["code_changes"],
"metadata": {}
}
],
"metadata": {}
}
WORKFLOW_JSON
The server decomposes this into:
workflow:<name>, type Strategy)workflow:member_of edges from each step → rootworkflow:depends_on edges between steps (carrying data flow info)pending → ready → running → completed | failed)Present the result: workflow ID, node count, edge count, step-to-node-ID mapping.
Offer the user options:
/workflow-run <workflow_id>minns workflow update)/vibe-graph Review the PR changes and write comprehensive tests
/vibe-graph Investigate the performance regression in the API
/vibe-graph Refactor the authentication module to use OAuth2
/vibe-graph Add a new REST endpoint for user preferences with full test coverage
Show MinnsDB knowledge graph dashboard
Store a learning into MinnsDB for cross-session recall
Query cross-session memory from MinnsDB
Execute a stored workflow with step-by-step orchestration