agentsclimarketplace

AutoFlow.skill

Skill qiuy-collab/AutoFlow.skill

面向多步骤交付任务的可验证 Agent Skill,组合代码、图表、Word、PPT、视频与打包流程。

Install
npx -y skills add qiuy-collab/AutoFlow.skill

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Orchestrate multi-step artifact workflows by composing task, image, Word, PowerPoint, video, and packaging modules with durable state and mandatory human STOP gates. Use this skill whenever the user explicitly asks for autoflow, and also for substantial work that must produce multiple connected artifacts such as a runnable project plus screenshots and documentation, a report plus slides, or a complete submission package. Do not use it for simple questions or isolated one-step edits unless the user explicitly invokes autoflow.

SKILL.md

13.6 KB, as published. Nobody here has run it

AutoFlow

AutoFlow turns a request into an explicit artifact DAG. The Agent plans and performs module work; deterministic scripts validate dependencies, state transitions, approvals, and outputs.

The repository layout and integration policy are documented in references/directory-layout.md. Read it when adding or routing a capability.

Explicit invocation always wins: if the user asks for autoflow, use this workflow even for an unusual module combination.

Core principles

  • Compose only the modules the request needs: task, image, word, ppt, video, package.
  • Preserve decisions and evidence in files so another Agent can resume the run.
  • Treat workflow.json as a contract, not a narrative checklist.
  • Complete real prerequisite work before writing downstream documents about it.
  • Never infer approval from silence. Respect PLAN, SOURCE, VISUAL, and DELIVERY STOP gates.
  • Register only real, validated artifacts. Placeholder code, mock evidence, and unverified deliverables do not count.
  • This is AutoFlow Schema 1.0. Do not run legacy AutoLab workflow files.

Read before acting

Always read:

  1. references/workflow-contract.md
  2. references/stop-gates.md
  3. references/acceptance-contracts.md
  4. references/anti-patterns.md

Read references/environment-contract.md for project build or execution steps.

Then read only the modules selected for this run:

ModuleReadPurpose
taskmodules/task.mdResearch, GitHub-first builds, computation, execution
imagemodules/image.mdCapture, AI assets, diagrams, charts
wordmodules/word.mdDOCX creation, editing, template filling
pptmodules/ppt.mdPPTX creation/editing through the local audited presentation-skill integration
videomodules/video.mdAnalysis, recording, creation, processing
packagemodules/package.mdRequirement-driven delivery assembly

AutoFlow also ships a local engineering-methodology layer under integrations/superpowers. Before planning or executing a step, resolve the exact local instructions with the CLI instead of invoking an external plugin:

python scripts/autoflow.py route --workflow <workflow.json> --step <step-id> --json --compact

To audit all checked-in external capabilities before planning, use:

python scripts/autoflow.py integrations --json

The command validates each integration manifest, declared Skill/reference files, provenance fields, and adapter paths. A workflow must use the local paths reported by route; a manifest or runtime marked unavailable is a hard capability signal, not permission to invent a tool call.

Compact routing includes the module file, fresh verification, and required capability adapters. It does not load every available methodology Skill. Use route --full only when a specific TDD, debugging, security, performance, ADR, or shipping method is needed. Independent or cross-model review is not part of the default route.

Full routing may resolve the local integrations/agent-skills overlay for a specific planning, interface, frontend, browser, observability, migration, CI/CD, or debugging method. Compact routing does not load this overlay by default. Read only the local paths returned by the selected route.

For independent build slices, set explicit step flags such as parallelizable, subagent_mode, git_worktree, or review_feedback; the route will add the corresponding local Superpowers collaboration guidance. These flags never override DAG dependencies or STOP gates.

Frontend project steps may additionally resolve the integrated impeccable design language and offline detector. Use the returned local adapter; never fall back to npx impeccable, a remote URL scan, or an uninstalled plugin.

Start a run

  1. Inspect the request and all supplied files before asking discoverable questions.
  2. Choose the closest recipe:
    • lab-report: task → image → word → package
    • report-and-slides: task → image → word + ppt → package
    • project-delivery: GitHub discovery → build → image → package
    • project-and-report: GitHub discovery → build → image → word → package
    • project-report-and-slides: GitHub discovery → build → image → word + ppt → package
    • video-delivery: video → package
    • document: optional task/image → word
    • presentation: optional task/image → ppt
    • custom: Agent-authored DAG
  3. Put the durable user request in a UTF-8 file. Do not rely on conversation memory alone.
  4. Initialize:
python scripts/autoflow.py init \
  --request-file <request.md> \
  --output-dir <workspace>/autoflow \
  --recipe <recipe-or-auto>
  1. Read the generated files from <workspace>/autoflow/.autoflow/config/: workflow.json, run_state.json, artifact_manifest.json, requirement_map.json, delivery_review.json, and WORK_PLAN.md.
  2. If auto was used, inspect workflow.json.recipe_selection, including its matched signals and reason. Keep the recommended recipe when it fits; if it selected custom, replace its steps with the actual DAG before asking for approval.
  3. Fill every .autoflow/config/WORK_PLAN.md section. Map each requirement or rubric item to declared evidence in .autoflow/config/requirement_map.json; record planned figures and real information substitutions rather than leaving these decisions implicit.
  4. After editing workflow steps, synchronize the still-unstarted state and validate the configuration:
python scripts/autoflow.py sync --workflow <workspace>/autoflow/.autoflow/config/workflow.json
python scripts/autoflow.py validate --workflow <workspace>/autoflow/.autoflow/config/workflow.json
  1. Show the plan to the user and stop. After explicit approval, record it:
python scripts/autoflow.py approve \
  --workflow <workspace>/autoflow/.autoflow/config/workflow.json \
  --gate plan \
  --note "<summary of the user's explicit approval>"

Do not start module work before PLAN_STOP approval.

Execute the DAG

Ask AutoFlow which steps are ready:

python scripts/autoflow.py next --workflow <workspace>/autoflow/.autoflow/config/workflow.json

Resolve the local module and methodology route before acting on a ready step:

python scripts/autoflow.py route --workflow <workspace>/autoflow/.autoflow/config/workflow.json --step <step-id> --json --compact

For each ready step:

  1. Read its module instructions.
  2. Mark it running.
  3. Perform the actual work.
  4. Validate every declared output.
  5. Complete it with exactly one artifact mapping for each declared output.

When multiple ready steps have no write conflict, prepare them together and run their deterministic backends concurrently. In particular, run Word and PPT build/render commands in parallel after shared image evidence is approved. Do not introduce extra Agents to gain concurrency.

For project builds, run environment_setup.py ensure before baseline/build commands. Keep the managed environment below .autoflow/runtime/<step-id>/ and register the ready task.environment report. Do not ask the user to install an ordinary missing runtime or dependency.

Word steps must register both word.document and the matching word.validation report produced by validate_word.py. Follow the same report-first principle for video and package outputs described in references/acceptance-contracts.md.

python scripts/autoflow.py transition \
  --workflow <workspace>/autoflow/.autoflow/config/workflow.json \
  --step <step-id> \
  --to running

python scripts/autoflow.py transition \
  --workflow <workspace>/autoflow/.autoflow/config/workflow.json \
  --step <step-id> \
  --to completed \
  --artifact artifact.id=<absolute-path>

Use --to blocked when external input is genuinely required and --to failed --note ... when execution fails. Only optional steps may be skipped.

AutoFlow has no generic run command. The Agent invokes each module's real backend and uses the core CLI for state and validation.

GitHub-first source selection

Code and runnable project tasks use separate task.research and task.build steps. Follow modules/task.md exactly.

  • Search and inspect GitHub before implementation.
  • Write .autoflow/intermediate/plans/source_candidates.json with real queries, scores, licenses, revisions, and judgments.
  • Completing discovery activates SOURCE_STOP when usable candidates exist.
  • Show 3–5 candidates and wait for the user's selection.
  • Record the selected candidate and revision before approving the gate.
  • Clone and modify only after approval.
  • If none are suitable, record rejected candidates and the reason for from_scratch; do not create a fake choice.
python scripts/autoflow.py approve \
  --workflow <workspace>/autoflow/.autoflow/config/workflow.json \
  --gate source \
  --note "User selected candidate <rank/name>"

Visual review

Any step with gate_after: visual activates VISUAL_STOP after completion. Show the actual new artifacts, not only filenames. Downstream Word, PPT, and packaging steps remain blocked until explicit approval.

python scripts/autoflow.py approve \
  --workflow <workspace>/autoflow/.autoflow/config/workflow.json \
  --gate visual \
  --note "User approved the displayed visual batch"

A later PPT or image batch reopens the same gate because it has not been reviewed yet.

Delivery review

When all steps complete, AutoFlow activates DELIVERY_STOP. Before asking for approval:

  • Run validate and resolve every error.
  • Set requirement_map.json.status to verified, with every required item marked passed and backed by registered artifacts.
  • Complete delivery_review.json with one result per required requirement and one result per registered artifact.
  • Show final artifact paths and what requirement each satisfies.
  • Inspect Word/PPT/media visually where applicable.
  • List archive contents rather than assuming packaging succeeded.
  • Confirm source code or applications actually run.

After the user signs off:

python scripts/autoflow.py approve \
  --workflow <workspace>/autoflow/.autoflow/config/workflow.json \
  --gate delivery \
  --note "User approved the final delivery"

The run is complete only when run_state.json.status is completed.

Status and recovery

python scripts/autoflow.py status --workflow <workspace>/autoflow/.autoflow/config/workflow.json
python scripts/autoflow.py status --workflow <workspace>/autoflow/.autoflow/config/workflow.json --timings
python scripts/autoflow.py eval-status --workflow <workspace>/autoflow/.autoflow/config/workflow.json
python scripts/autoflow.py validate --workflow <workspace>/autoflow/.autoflow/config/workflow.json --fast
python scripts/autoflow.py validate --workflow <workspace>/autoflow/.autoflow/config/workflow.json --deep

For evaluation runs, use eval-status --expected-gate <gate> when the test is supposed to prove a STOP checkpoint. A checkpoint_pass is not a completed end-to-end run; only full_test_pass may be reported as such.

Reuse hash-matched Word validation and PPT render caches. Use --force or --force-render only after inputs or validation requirements change, or when diagnosing a suspected cache defect.

  • Never hand-edit .autoflow/config/run_state.json or .autoflow/config/artifact_manifest.json to bypass a gate.
  • If the user rejects a STOP, record it with autoflow.py gate --to rejected, then use autoflow.py revise --step <id> --reason <reason> before regenerating terminal steps.
  • If an artifact changes after registration, never refresh its hash by hand. Use revise; it supersedes target/downstream artifacts, resets requirement evidence, and reopens affected gates.
  • A DELIVERY_STOP-approved run is immutable. Initialize a new revision run for later changes.
  • If the integrated presentation runtime is missing, stop with a capability report rather than silently substituting a user-level or lower-quality backend.

Prohibited actions and dangerous states

  • Do not run tests, migrations, installers, or applications inside submit/.
  • Do not place virtual environments, node_modules, caches, or runtime databases inside source artifacts.
  • Do not package the workspace or .autoflow/ by habit.
  • Do not repeat full rendering, hashing, or packaging when inputs are unchanged.
  • Do not invent approvals, source candidates, tool calls, or evidence.

Read references/anti-patterns.md for the complete replacement action for each prohibited state.

Definition of done

  • The selected recipe or custom DAG matches the request.
  • Required STOP approvals are recorded from explicit user responses.
  • Every completed step has all declared artifacts.
  • Artifact paths exist and hashes validate.
  • Module-specific quality checks pass.
  • Project environments are ready, verified, and outside source artifacts.
  • Source/application tests ran before packaging in the isolated verification area.
  • Final delivery passes package_submission.py --verify-only without modifying submit/.
  • Every required requirement maps to present, correct evidence in requirement_map.json and delivery_review.json.
  • autoflow.py validate returns valid.
  • DELIVERY_STOP is explicitly approved.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.