gorango/flowcraft/extending-flowcraft

Claude Code and agent skill by gorango/flowcraft

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Customize Flowcraft runtime behavior with pluggable components. Covers serializers, evaluators, loggers, and orchestrators. Use when the user needs custom serialization, complex data types, edge condition expressions, custom logging, or alternative execution strategies.

Install

npx vskill@latest install gorango/flowcraft/extending-flowcraft

SKILL.md

Extending Flowcraft

The FlowRuntime can be configured with pluggable components to tailor behavior to specific needs.

Extensibility Points

ComponentInterfacePurposeSee
SerializerISerializerSerialize/deserialize workflow contextserializers.md
EvaluatorIEvaluatorEvaluate edge conditions and transformsevaluators.md
LoggerILoggerCustom logging infrastructureloggers.md
OrchestratorIOrchestratorAlternative execution strategiesorchestrators.md

Quick Examples

Custom Serializer
typescript
import { ISerializer, FlowRuntime } from 'flowcraft'
import superjson from 'superjson'
class SuperJsonSerializer implements ISerializer {
serialize(data: Record<string, any>): string {
return superjson.stringify(data)
}
deserialize(text: string): Record<string, any> {
return superjson.parse(text) as Record<string, any>
}
}
const runtime = new FlowRuntime({ serializer: new SuperJsonSerializer() })
Custom Evaluator
typescript
import { IEvaluator, FlowRuntime } from 'flowcraft'
import jsep from 'jsep'
class JsepEvaluator implements IEvaluator {
evaluate(expression: string, context: Record<string, any>): any {
const ast = jsep(expression)
return interpretAst(ast, context) // Your AST interpreter
}
}
const runtime = new FlowRuntime({ evaluator: new JsepEvaluator() })
Custom Logger
typescript
import { ILogger, FlowRuntime } from 'flowcraft'
class FileLogger implements ILogger {
debug(msg: string, meta?: Record<string, any>) {
/* ... */
}
info(msg: string, meta?: Record<string, any>) {
/* ... */
}
warn(msg: string, meta?: Record<string, any>) {
/* ... */
}
error(msg: string, meta?: Record<string, any>) {
/* ... */
}
}
const runtime = new FlowRuntime({ logger: new FileLogger('workflow.log') })
Custom Orchestrator
typescript
import { IOrchestrator, FlowRuntime, StepByStepOrchestrator } from 'flowcraft'
// Use step-by-step for debugging
const runtime = new FlowRuntime({
orchestrator: new StepByStepOrchestrator(),
})

Advanced topics

  • Serializers: Handle complex types like Date, Map, Set — see serializers.md
  • Evaluators: Property access vs full expressions — see evaluators.md
  • Loggers: Integrate with Winston, Pino, etc. — see loggers.md
  • Orchestrators: Default, step-by-step, event-driven, resumption — see orchestrators.md

Security

  • Security scanPassed, 93 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
199
Repository forks
13
7-day trend score
26

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/gorango/flowcraft/extending-flowcraft/badge)](https://verified-skill.com/skills/gorango/flowcraft/extending-flowcraft)

Something wrong with this skill or its page? Tell us.