Vision Product Loop is a plugin for turning a fuzzy product idea into a working project through a durable vision contract, focused grilling, project discovery, evidence-producing harnesses, and repeated build/verify loops.
The plugin treats VISION.md as the product contract. It helps the agent clarify the intent, discover the repo's existing architecture and validation tools, choose the smallest useful implementation slice, collect evidence, and keep iterating until the built product matches the agreed vision.
It ships with manifests for both Claude Code (.claude-plugin/) and Codex (.codex-plugin/), so the same skills can be installed into either runtime from this repository.
Self-check and toy proof are bootstrap evidence only. This plugin should not claim its own loop is complete until .vision-loop/applied-proof.json records a real target project outside this repository, the shipped change, and passing target-local evidence.
This repo is itself a Claude Code marketplace. Add it once, then install the plugin:
/plugin marketplace add codeyogi911/vision-product-loop
/plugin install vision-product-loop@vision-product-loopThe marketplace manifest lives at .claude-plugin/marketplace.json and points at plugins/vision-product-loop/, where the plugin's own .claude-plugin/plugin.json and skills/ live.
- Establishes or refines a root
VISION.md. - Uses a bundled
grill-meskill to collapse ambiguity before implementation. - Establishes the knowledge map via the bundled
knowledge-mapskill: grills the user on every major architecture decision, records each as an ADR, sketchesARCHITECTURE.md, generatesCLAUDE.mdandAGENTS.mdas ≤100-line maps, and scaffoldsdocs/{adr,design-docs,exec-plans,references,generated}/as the system of record. - Discovers project docs, agents, architecture signals, and harnesses.
- Plans the shortest evidence path for the next product slice.
- Creates small project-local proof harnesses when none exist.
- Runs a Research, Build, Verify, Test, Reflect loop.
- Records operational state separately under
.vision-loop/. - Supports module visions for deep product or architecture areas.
VISION.md Product-level contract for this plugin
CONTEXT.md Domain vocabulary used by the loop
visions/ Module vision contracts
plugins/vision-product-loop/ Plugin implementation
plugins/vision-product-loop/.claude-plugin/ Claude Code plugin manifest
plugins/vision-product-loop/.codex-plugin/ Codex plugin manifest
plugins/vision-product-loop/skills/ Skills exposed by the plugin
plugins/vision-product-loop/scripts/ Deterministic helper scripts and harnesses
plugins/vision-product-loop/tests/ Regression tests for plugin helpers
.claude-plugin/marketplace.json Claude Code marketplace registration
.agents/plugins/marketplace.json Codex local marketplace registration
Run the plugin self-check:
python3 plugins/vision-product-loop/scripts/self_check.py --jsonRun the deterministic loop runner:
python3 plugins/vision-product-loop/scripts/run_loop.py --slice-budget 5 --jsonRun the test suite:
python3 -m unittest discover -s plugins/vision-product-loop/testsCreate a checklist from a vision document:
python3 plugins/vision-product-loop/scripts/vision_checklist.py --vision VISION.mdDiscover a project's control plane:
python3 plugins/vision-product-loop/scripts/discover_project.py --root .Plan the shortest proof path from discovery output:
python3 plugins/vision-product-loop/scripts/plan_harness.py --discovery discovery.jsonCreate a missing harness from a plan:
python3 plugins/vision-product-loop/scripts/create_harness.py --plan harness-plan.json --root . --applyPlan local work versus optional delegation:
python3 plugins/vision-product-loop/scripts/plan_orchestration.py --tasks tasks.json --allow-delegationDetect, scaffold, and lint the knowledge map:
python3 plugins/vision-product-loop/scripts/scaffold_knowledge_map.py --root . --detect --json
python3 plugins/vision-product-loop/scripts/scaffold_knowledge_map.py --root . --apply
python3 plugins/vision-product-loop/scripts/lint_knowledge_map.py --root .Run the toy project proof:
python3 plugins/vision-product-loop/scripts/run_toy_proof.py --target .vision-loop/toy-projectRecord applied-project proof after using the plugin on a real target:
.vision-loop/applied-proof.json
The skill owns product judgment. Scripts provide deterministic mechanics for discovery, planning, validation, and state recording, but they should not decide product direction or hide the loop from the user.
Harnesses are evidence-producing capabilities, not a specific file type. A harness can be a command, skill workflow, evaluator, screenshot review, demo, benchmark, checklist, test, or project-specific workflow.
The loop-running orchestrator owns delegation judgment. When host capabilities and the autonomy boundary allow it, sub-agents can be used for independent slices, context management, parallel progress, independent verification, or clean task ownership.
MIT