Skills Plugins MCP Prompt Model 博客 我的中心

extending-flowcraft

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.

DeepseekModel Curated skill Quality Excellent · 78 v1.0.0

Get

https://deepseekmodel.com/api/download.php?id=gorango-flowcraft-packages-llm-skills-extending-flowcraft-skill-md&format=skill
Download .skill Standard format with system_prompt and model_config, ready for any agent framework
The actual content of the system_prompt field in the .skill file.
name extending-flowcraft description 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. Extending Flowcraft The FlowRuntime can be configured with pluggable components to tailor behavior to specific needs. Extensibility Points Component Interface Purpose See Serializer ISerializer Serialize/deserialize workflow context serializers.md Evaluator IEvaluator Evaluate edge conditions and transforms evaluators.md Logger ILogger Custom logging infrastructure loggers.md Orchestrator IOrchestrator Alternative execution strategies orchestrators.md Quick Examples Custom Serializer 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 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 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 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
Keywords that activate this skill. Click one to copy it.

This skill does not provide trigger words.

The downloaded .skill package contains the following fields.
Field Description
formatFormat tag (skill/v1)
skill_idUnique skill ID
nameSkill name
versionVersion
descriptionDescription
categoryCategories (array)
trigger_wordsTrigger words
tagsTags
sourceSource
source_urlSource URL (this page)
exported_atExported at (set per download)
system_promptSystem prompt body
model_configModel config: provider / model / temperature / max_tokens / top_p
examplesExamples
install_guideImport guide for Coze / Dify / Claude / custom frameworks
The same skill can be exported in different platform formats.
.skill Standard format with system_prompt and model_config, ready for any agent framework Download
.skillpro Enhanced format with scripts, tools, dependencies and hooks Download
.json Plain JSON export with system_prompt and model parameters only Download
Coze Markdown with frontmatter, for Coze platform import Download
Dify Dify DSL, import directly after creating an app Download

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。