मुख्य सामग्री पर जाएँ
Skillpedia
सामान्य कोडिंग5.4k · #14844

ccwf-cli

यह क्या करती है

यह स्किल एजेंट को टर्मिनल से वर्कफ़्लो JSON फ़ाइलों के साथ काम करना सिखाती है। यह फ़ाइल में गलतियाँ जाँच सकती है, Markdown या Mermaid व्यू बना सकती है, प्रीव्यू खोल सकती है, उसे बदल सकती है, या चला सकती है।

कब इस्तेमाल करें

  • ✓जब यूज़र किसी वर्कफ़्लो फ़ाइल में स्कीमा की गलतियाँ जाँचना चाहता है।
  • ✓जब यूज़र टर्मिनल से वर्कफ़्लो को डायग्राम या Markdown के रूप में देखना चाहता है।
  • ✓जब यूज़र workflows फ़ोल्डर की कोई वर्कफ़्लो फ़ाइल चलाना या बदलना चाहता है।

Skill का लिंक

https://github.com/breaking-brake/cc-wf-studio/blob/main/packages/cli/skills/ccwf-cli/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/breaking-brake/cc-wf-studio/blob/main/packages/cli/skills/ccwf-cli/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरी वर्कफ़्लो फ़ाइल में स्कीमा की गलतियाँ जाँचिए और उसका डायग्राम दिखाइए।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट पक्का करता है कि ccwf कमांड उपलब्ध है, फिर अनुरोध के अनुसार सब-कमांड चुनता है, जैसे validate, render या preview। अगर फ़्लैग स्पष्ट न हों, तो वह कमांड की help आउटपुट पढ़ता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

ccwf CLI

ccwf is the command-line entry into cc-wf-studio — a visual AI-agent workflow tool. It treats .vscode/workflows/*.json workflow files as inputs and lets you render them as Markdown, validate the schema, open them in a browser-based viewer, convert them into Agent Skills, or execute them. The same workflow JSON also drives the VSCode extension and an MCP server, so you can pick whichever interface fits the situation.

This Skill teaches Claude how to recognise when ccwf is the right answer and which subcommand to reach for. The subcommands and flags listed here are the source of truth — if behaviour seems off, check ccwf <subcommand> --help first.

Prerequisites

Confirm ccwf is available before running any other subcommand:

ccwf --version

If ccwf is not on PATH:

  • Preferred: install globally — npm install -g @cc-wf-studio/cli
  • Without install: prefix every command with npx @cc-wf-studio/cli (e.g. npx @cc-wf-studio/cli render <file>)
  • In a project: pnpm add -D @cc-wf-studio/cli and run via pnpm exec ccwf

If the user has a VSCode workspace and you can't find a workflow file, search .vscode/workflows/*.json first; that's the canonical location.

Core workflow

The natural flow when the user has a workflow file in hand:

  1. ccwf validate <file> — schema-check it. Exit 0 = clean, exit 1 = errors. Run this first whenever you receive a workflow from elsewhere.
  2. ccwf preview <file> — opens a read-only viewer (Mermaid + per-node Markdown) in the browser. Use this when the user says "show me" / "what's in this workflow?" / "見せて".
  3. ccwf export <file> or ccwf run <file> — materialises the workflow as Claude Code (or another agent's) Skill files. Use run when the user wants the next step to be actually executing the workflow with claude.

If a step fails, stop and surface the exact error to the user before moving on.

Subcommand reference

ccwf render <file>

Print a Markdown bundle (Mermaid flowchart + per-node execution instructions) to stdout. Use when piping to another tool or pasting into a PR / chat message.

ccwf render ./.vscode/workflows/my-workflow.json             # Markdown (default)
ccwf render ./.vscode/workflows/my-workflow.json -f mermaid  # ```mermaid block only

Output is the same content ccwf preview shows in the right pane.

ccwf validate <file>

Schema-check the workflow JSON.

ccwf validate ./.vscode/workflows/my-workflow.json           # exit 0/1, human-readable errors on stderr
ccwf validate ./.vscode/workflows/my-workflow.json --json    # prints { valid, errors[] }

Use this:

  • Before ccwf run / ccwf export if the file is hand-edited or AI-generated
  • In CI / pre-commit hooks
  • When the user asks "is this workflow OK?" / "壊れてない?"

ccwf preview <file>

Open a read-only viewer in the browser. Mermaid flowchart on the left, per-node Markdown on the right. Auto-reloads when the file changes on disk. Auto-shuts down 30s after the last viewer tab closes.

ccwf preview ./my-workflow.json                  # boot, open browser
ccwf preview ./my-workflow.json --port 51234     # pin to a port
ccwf preview ./my-workflow.json --keep-alive     # don't auto-shutdown when the tab closes

Use when the user says any of: "show me", "preview", "what does this workflow do?", "open it in a browser", "見せて", "可視化して".

The printed URL has the shape http://localhost:<port>/<uuid>/. The UUID just keeps two concurrent preview sessions from clobbering each other — it isn't a security boundary, since the server only listens on the loopback interface by default.

ccwf canvas <file> (experimental)

Open the full editable canvas in the browser (same UI as the VSCode extension). Saves write back to the workflow file. Heavier than preview; reach for it only when the user explicitly wants to edit without VSCode.

ccwf canvas ./my-workflow.json

Other VSCode-only features (Slack share, Claude API upload, MCP server management, agent-specific export buttons) return a CANVAS_UNSUPPORTED error in this mode — they require the extension proper.

ccwf export <file> [--agent <name>]

Materialise the workflow as Agent Skill files for a target agent. Pure file write, no execution.

ccwf export ./my-workflow.json                                 # --agent claude-code (default)
ccwf export ./my-workflow.json --agent cursor                  # cu
अक्सर पूछे जाने वाले सवाल

ccwf कैसे इंस्टॉल करूँ?

स्किल कहती है कि npm से पैकेज ग्लोबली इंस्टॉल करें, या बिना इंस्टॉल किए npx से चलाएँ।

वर्कफ़्लो फ़ाइलें आम तौर पर कहाँ रखी जाती हैं?

स्किल कहती है कि आम जगह .vscode फ़ोल्डर के अंदर workflows फ़ोल्डर है।

validate क्या लौटाता है?

एग्ज़िट कोड शून्य का मतलब फ़ाइल साफ़ है, और एक का मतलब गलतियाँ मिली हैं।

जानकारी

लेखक का मूल विवरण

Use the `ccwf` CLI (from @cc-wf-studio/cli) to render, validate, preview, export, or run cc-wf-studio workflow JSON files from the terminal. Apply whenever the user mentions viewing, visualizing, checking, executing, or converting a workflow under `.vscode/workflows/` (or any `*workflow*.json`), wants a Mermaid diagram of a workflow, asks to "see" / "preview" / "open" a workflow, or wants to run a workflow as a Claude Code Skill without opening VSCode.

repo: breaking-brake/cc-wf-studio

लोकप्रियता

GitHub स्टार
5.4k
रैंकिंग में स्थान
#14844
लाइसेंस
—
अपडेट की गई
6/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

मिलती-जुलती skills