workflow-lite-execute
БесплатноБез исполняемых скриптовНе проверенLightweight execution engine - multi-mode input, task grouping, batch execution, chain to workflow-lite-test-review
от catlog22★ 2 110 звёзд на GitHubОб этом скилле
Workflow-Lite-Execute
Execution engine for workflow-lite-plan handoff and standalone task execution.
Usage
<input> Task description string, or path to file (required)
| Flag | Description |
|---|---|
--in-memory |
Mode 1: Use executionContext from workflow-lite-plan handoff (via Skill({ skill: "workflow-lite-execute", args: "--in-memory" }) |
Input Modes
Mode 1: In-Memory Plan
Trigger: --in-memory flag or executionContext global variable available
Input Source: executionContext global variable set by workflow-lite-plan
Behavior: Skip execution method/code review selection (already chosen in LP-Phase 4), directly proceed with full context (exploration, clarifications, plan artifacts all available)
Note: LP-Phase 4 is the single confirmation gate. Mode 1 invocation means user already approved — no further prompts.
Mode 2: Prompt Description
Trigger: User calls with task description string (e.g., "Add unit tests for auth module")
Behavior: Store prompt as originalUserInput → create simple execution plan → run selectExecutionOptions() → proceed
Mode 3: File Content
Trigger: User calls with file path (ends with .md/.json/.txt)
fileContent = Read(filePath)
try {
jsonData = JSON.parse(fileContent)
// plan.json detection: two-layer format with task_ids[]
if (jsonData.summary && jsonData.approach && jsonData.task_ids) {
planObject = jsonData
originalUserInput = jsonData.summary
isPlanJson = true
const planDir = filePath.replace(/[/\\][^/\\]+$/, '')
planObject._loadedTasks = loadTaskFiles(planDir, jsonData.task_ids)
} else {
originalUserInput = fileContent
isPlanJson = false
}
} catch {
originalUserInput = fileContent
isPlanJson = false
}
isPlanJson === true: UseplanObjectdirectly → runselectExecutionOptions()isPlanJson === false: Treat as prompt (same as Mode 2)
User Selection (Mode 2/3 shared)
function selectExecutionOptions() {
// autoYes: set by -y flag (standalone only; Mode 1 never reaches here)
const autoYes = workflowPreferences?.autoYes ?? false
if (autoYes) {
return { execution_method: "Auto", code_review_tool: "Skip", convergence_review_tool: "Skip" }
}
return AskUserQuestion({
questions: [
{
question: "Select execution method:",
header: "Execution",
multiSelect: false,
options: [
{ label: "Agent", description: "@code-developer agent" },
{ label: "Codex", description: "codex CLI tool" },
{ label: "Auto", description: "Auto-select based on complexity" }
]
},
{
question: "Code review after execution? (runs here in lite-execute)",
header: "Code Review",
multiSelect: false,
options: [
{ label: "Gemini Review", description: "Gemini CLI: git diff quality review" },
{ label: "Codex Review", description: "Codex CLI: prompt-based code quality review (--mode analysis)" },
{ label: "Agent Review", description: "@code-reviewer agent" },
{ label: "Skip", description: "No code review" }
]
},
{
question: "Convergence review in workflow-lite-test-review phase?",
header: "Convergence Review",
multiSelect: false,
options: [
{ label: "Agent", description: "Agent: verify convergence criteria" },
{ label: "Gemini", description: "Gemini CLI: convergence verification" },
{ label: "Codex", description: "Codex CLI: convergence verification" },
{ label: "Skip", description: "Skip convergence review, run tests only" }
]
}
]
})
}
Execution Steps
Step 1: Initialize & Echo Strategy
previousExecutionResults = []
// Mode 1: echo strategy for transparency
if (executionContext) {
console.log(`
Execution Strategy (from lite-plan):
Method: ${executionContext.executionMethod}
Code Review: ${executionContext.codeReviewTool}
Convergence Review: ${executionContext.convergenceReviewTool}
Tasks: ${getTasks(executionContext.planObject).length}
Complexity: ${executionContext.planObject.complexity}
${executionContext.executorAssignments ? ` Assignments: ${JSON.stringify(executionContext.executorAssignments)}` : ''}
`)
}
// Helper: load .task/*.json files (two-layer format)
function loadTaskFiles(planDir, taskIds) {
return taskIds.map(id => JSON.parse(Read(`${planDir}/.task/${id}.json`)))
}
function getTasks(planObject) {
return planObject._loadedTasks || []
}
Step 2: Task Grouping & Batch Creation
// Dependency extraction: explicit depends_on only (no file/keyword inference)
function extractDependencies(tasks) {
const taskIdToIndex = {}
tasks.forEach((t, i) => { taskIdToIndex[t.id] = i })
return tasks.map((task, i) => {
const deps = (task.depends_on || [])
Установить workflow-lite-execute в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
SkillAgentAskUserQuestionTodoWriteReadWriteEditBashGlobGrepFAQ
Что делает скилл workflow-lite-execute?
Lightweight execution engine - multi-mode input, task grouping, batch execution, chain to workflow-lite-test-review
Как установить скилл workflow-lite-execute?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл workflow-lite-execute запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic