Read-only review. Working dir: /Users/user_c042661f/Documents/reigh-workspace/vibecomfy. Sense-check docs/readable_ready_template_cleanup_plan.md from the perspective of end-user/agent ergonomics: can an agent or developer quickly understand, customize, import, and use the generated workflows? Focus on public inputs, outputs/artifacts, docs/skill instructions, examples, and whether the proposed before/after target is clear enough. Do not edit files. Return specific recommendations and doc changes.
Assistant
I’ll review the cleanup plan from the VibeComfy repo only, then check nearby docs/examples it references so the recommendations are grounded in the actual user-facing surface.
Assistant
I have the main plan and a broad map of related docs. I’m going to read the remaining plan sections plus the current README/skill/authoring docs that an agent would actually follow.
Assistant
The plan is coherent technically, but I’m checking it against the actual onboarding path now: whether someone can go from “what can I set?” to “what file appears after run?” without opening generated source.
Assistant
A small environment wrinkle: the repo’s default pyenv points at missing 3.8.10, so direct python CLI probes fail unless PYENV_VERSION=3.11.11 is set. I’m avoiding any edits and only using this as review context.
Assistant
Read-only review completed. I did not edit files.
High-Value Recommendations
Add a concrete “agent happy path” section to docs/readable_ready_template_cleanup_plan.md.
The plan says agents should use load_workflow_any() and contracts, but it does not show how an agent discovers the contract without opening source. Add a before/after for:
Include expected JSON shape for inputs, outputs, models, custom_nodes, and artifact_paths.
Define a real public input descriptor, not only names.
The input table is useful at docs/readable_ready_template_cleanup_plan.md, but agents need type/default/range/required/aliases/media semantics. Add a target schema like:
For file inputs, specify whether values are local paths, Comfy input filenames, URLs, or already-staged assets.
Make outputs/artifacts first-class in the target.
The plan asks “Which outputs/artifacts will the workflow produce?” at line 101, but the actual contract example only nests output_artifacts inside graph_contract at line 597. Promote this into an explicit public output contract. Current inspect still reports output names as null, so the target should require stable names like image, video, audio, preview, plus expected mime type/cardinality/path resolution.
Clarify the before/after template target.
The target example at lines 152-191 is directionally good but not copyable: it mixes ready_node(...) and node(...), uses proposed helper-only kwargs, and omits imports/READY_METADATA/READY_REQUIREMENTS. Add one complete minimal module skeleton that an agent can imitate. Also choose one spelling: outputs= vs _outputs=.
Move documentation updates earlier.
The implementation sequence leaves docs/skill updates until step 16 at line 669. For ergonomics, docs should change with each public surface change. Add acceptance criteria per phase: README snippet updated, skill updated, one runnable example updated, inspect JSON example updated.
Add example-driven acceptance tests.
Add a section that defines “done” from the agent/developer perspective:
Load a ready template by id.
Print all settable inputs without opening source.
Set prompt/seed/frames/image path.
Compile API.
Run or dry-run.
Locate produced artifacts by semantic name.
Explain missing model/custom-node requirements before queueing.
This is the clearest way to keep the cleanup focused on usability rather than only emitter neatness.
Doc Changes I’d Make
In Agent Usage Contract, add CLI and Python discovery examples, not just set_input.
In Public Input Names, add descriptor schema and file-input semantics.
In Runtime Contract Updates, split public_inputs and public_outputs from low-level graph_contract.
In Before / After Target, replace the partial snippet with a complete ready-template skeleton.
In Agent Skill And Documentation Updates, add exact replacement snippets for README, docs/authoring.md, and .claude/skills/vibecomfy/SKILL.md.
Overall: the plan is technically sound and the before/after intent is clear for maintainers. It needs stronger public-contract examples so an agent can discover, customize, run, and retrieve outputs without reading generated Python.