Communitygithub.com

dogancoban/workflow-architect-visualizer

Build and audit detailed, executable plans from short requests in any domain, then produce an interactive workflow and step guide. Use for product launches, operations, projects, customer journeys, SOPs, decision trees, or requests to find missing branches, make a complex process easier to follow, distinguish sources from assumptions, or visualize a plan. Includes scope discovery, targeted questions, current research, branch and outcome audits, progressive disclosure, clickable outgoing-arrow highlighting, and honest visual QA.

workflow-architect-visualizer とは?

workflow-architect-visualizer is a Claude Code agent skill that build and audit detailed, executable plans from short requests in any domain, then produce an interactive workflow and step guide. Use for product launches, operations, projects, customer journeys, SOPs, decision trees, or requests to find missing branches, make a complex process easier to follow, distinguish sources from assumptions, or visualize a plan. Includes scope discovery, targeted questions, current research, branch and outcome audits, progressive disclosure, clickable outgoing-arrow highlighting, and honest visual QA.

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/dogancoban/workflow-architect-visualizer/tree/HEAD/skills/workflow-architect-visualizer

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

Workflow Architect & Visualizer

Turn a short objective into an actionable, audited plan. Do not require a large prompt or make the user enumerate the work. Scale detail to the real task; do not reproduce the AI-project example or inflate every plan to hundreds of steps.

Language

Work in the language of the user's request: questions, replies, every text in the model, the guide and the viewer. If the user asks for another language, use that. Set the model's language to the BCP 47 code (tr, en, de, pt-BR …). English and Turkish interface labels are built in. For any other language, translate every key of ui-strings.json into the model's ui; the validator lists missing labels. Right-to-left languages get a right-to-left page automatically.

1. Discover scope with minimal burden

Extract objective, intended audience, deliverables, geography, timing, resources, authority, success criteria and constraints from the request and supplied material. Use existing context before asking. Identify the domain's workstreams yourself; read domain-coverage.md for coverage lenses, not mandatory templates.

Ask at most 1–3 high-impact questions in one batch when answers change the feasible plan. Do not ask permission for routine planning. If the user wants immediate progress or has no answer, propose an explicit provisional scenario and build useful work around it. Preserve critical unknowns as named gates with owner and next action; never invent the company's budget, distribution, staff, commitments or research results. Read planning-and-audit.md.

Research current external facts and substantial recommendations using primary sources. Separate facts from creative proposals and engineering/business judgment. Do not treat a model's confidence or a polished diagram as evidence.

2. Model before drawing

Use model.md to write workflow.json. Establish stable step IDs and linked modules. Define multiple roots only for genuinely independent control processes; distinguish planning/build from runtime/operations. Keep references separate from control transitions.

For each step write specific inputs, responsible role, instructions, output/evidence, completion condition, failure behavior and labeled outgoing edges. For a decision enumerate accepted, rejected, revised, pending/unknown and failure outcomes where applicable. A task's output not being produced cannot follow its success arrow. A proposal is not acceptance; acceptance is not completed delivery.

Attach claim-level provenance: requirement, external, inference, proposal, or unknown. Cite source IDs and locators for requirements/external facts. Explain inference/proposal rationale. Mark mixed instructions at the claim level rather than attributing the entire method to one citation. Do not label all agent-designed steps as user requirements just because the user asked for a plan.

For waits record origin step, job/project/request, reason, owner, safe state, next review time and resume point. Resume only the affected work after revalidation. Distinguish task rejection, feature omission, candidate cancellation, waiting, completion and actual service/project closure. Preserve existing approved work when an additional proposal is declined.

3. Audit behavior, not only graph connectivity

Review every step against its action, evidence and outgoing conditions. Read planning-and-audit.md and build scenarios covering normal delivery, rejection, revision, uncertainty, error, recovery and return to the correct caller. Make domain-specific scenarios independently; do not derive all expected answers from the implementation.

Run:

python3 <skill-dir>/scripts/workflow.py validate /absolute/path/workflow.json

Fix invalid IDs, dead ends, missing paths, inaccessible steps, missing provenance and unguarded success paths. Check quality/budget/legal/customer-approval gates, same-item retries, cancellation cleanup, state lifetime and loops where relevant. A passed structural validator cannot prove business correctness; perform the semantic review separately and disclose unresolved issues.

4. Render with progressive disclosure

Run:

python3 <skill-dir>/scripts/workflow.py render /absolute/path/workflow.json --out /absolute/path/output

Use one canonical model for HTML, JSON and written guide. The viewer defaults to an overview of the main phases; a phase opens its detailed flow. Keep all critical branches and step instructions available. Clicking a step colors/thickens its outgoing arrows and labels, marks its targets and dims unrelated arrows. Keep reference arrows dashed. On narrow screens (≤640 px) the viewer shows the module's steps as a tappable list with the graph collapsed behind a toggle; a fit-to-width toggle scales wide graphs. Do not write device-specific layouts. Provide explicit cross-module buttons and a preserved-origin wait return.

Prefer 5–9 main phases when the domain allows it; this is a readability heuristic, not a limit. Split unwieldy phases by coherent boundaries; do not hide critical decisions to satisfy a node count. Reuse stable IDs for updates. Explain affected steps when changing a plan.

Diagrams are drawn with the bundled Viz.js (scripts/vendor/viz.cjs); only Node.js is required. If Node is unavailable, report it and preserve the model/guide. Do not silently downgrade a promised interactive workflow to an image. Optional QA packages (Playwright, sharp) resolve through normal Node resolution or WORKFLOW_NODE_MODULES; avoid hardcoded runtime paths.

5. Check every module visually

Read visual-qa.md. Run:

node <skill-dir>/scripts/visual_audit.cjs /absolute/path/output/workflow.html /absolute/path/qa

When Playwright/Chromium is available, capture every module at desktop and phone widths in light and dark themes, verify outgoing-edge selection and navigation, and inspect the screenshots. Fix clipped controls, source-panel overflow, illegible text, lost paths and confusing labels; repeat only affected checks. Also inspect all-module SVGs and especially high-fanout decisions/long return paths. Without Playwright, if you can drive a browser, serve the output folder over local HTTP and run scripts/browser_checks.js in the page at each width and theme (see visual-qa.md).

If a browser is unavailable, run static SVG/raster inspection and interaction simulation when available, but record browser QA as blocked or not_run, never passed. Do not claim all visual tests are complete. User review may be recorded as additional evidence without being relabeled a browser test.

6. Deliver within scope

Persist user-facing artifacts using the environment's authorized file-saving mechanism. Return a concise result and links to the workflow/guide plus unresolved assumptions. For an inline visual use the environment's visualization skill; the standalone HTML is not automatically an inline widget.

Planning a launch includes creative direction and briefs, channel choices, budget scenarios, KPIs, tracking, readiness, rollout and optimization. It does not automatically create all media assets, send messages, buy ads, sign agreements or publish campaigns. Execute additional work only within the user's authorization and the available capabilities. Do not impose a universal extra approval flow where session authorization already permits action.

関連スキル