iterative-planner
State-machine driven iterative planning and execution for complex coding tasks. Cycle: Explore → Plan → Execute → Reflect → Validate → Close / Re-plan…
от stelios12312312★ 20 звёзд на GitHub
Установить iterative-planner в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Iterative Planner
Core Principle: Context Window = RAM. Filesystem = Disk. Write to disk immediately. The context window will rot. The files won't.
Doctrine: Loop First, Determinism Second, Generalize Last.
The core loop is EXPLORE → PLAN → EXECUTE → REFLECT → VALIDATE → CLOSE, with REFLECT → RE-PLAN/EXPLORE still available when the solution is wrong or semantically incoherent.
Deterministic scripts support that loop, mistake registries preserve memory, and generalized guards should only be promoted after real recurrence.
Quick Reference: Gate Transitions
ALL transitions use ONE command. Do NOT run verify_gate, checklist_runner, or project_health individually at gate points.
| # | Gate | Command | Key Requirements |
|---|---|---|---|
| 1 | explore-to-plan |
node <sp>/scripts/transition.mjs explore-to-plan |
≥3 findings, KB read, intent contract for user-facing goals |
| 2 | plan-to-execute |
node <sp>/scripts/transition.mjs plan-to-execute |
Problem stmt, files list, verification strategy, deliverable mapping, criterion/story linkage, verification obligation synthesis + context-sensitive verification matrix for recipe/orchestration/integration work |
| 3 | execute-to-reflect |
node <sp>/scripts/transition.mjs execute-to-reflect |
Red-team notes (≥3 vectors) + persona audit |
| 4 | reflect-to-validate |
node <sp>/scripts/transition.mjs reflect-to-validate |
Reflection verdicts, semantic coherence, KB/semantic upkeep, progress complete |
| 5 | validate-to-close |
node <sp>/scripts/transition.mjs validate-to-close |
Proof of work, verification sufficiency, persona audit, intent/test evidence |
| 6 | notify-user |
node <sp>/scripts/transition.mjs notify-user |
Final handoff audit (available from VALIDATE or CLOSE; reachability audit disabled) |
<sp> = .agent/skills/iterative-planner
Semantic scientific review
Result-bearing serious_search and promotion_candidate quant packets must reference a planner.scientific_review_request.v1 file. The reviewer reads and hashes the referenced preregistration, executed configuration, universe, fold, trial, observation, result, registry, ticket, and plan-identity artifacts; authored summary counts are never sufficient. Its receipt keeps five decisions independent:
execution_status:not_run | complete | faileddesign_validity:valid | invalid | unresolvedevidence_grade:evidence | exploratory | smoke_fixture | underpowered | legacy_unknownscientific_verdict:supported | falsified | inconclusive | not_evaluatedpromotion_status:blocked | research_only | candidate_for_confirmation | eligible_for_integration_review
Valid, powered negative evidence may be falsified and remains blocked from promotion. Invalid, underpowered, fixture, or legacy evidence is not_evaluated, never falsified. Implementation validation remains a separate receipt: passing tests do not turn a fixture or invalid design into scientific evidence. Test/synthetic/short-history/bypass/temporary-output runs are stamped smoke_fixture, and execution output may not target the declared canonical evidence root.
- Gate chain (I-015): Gates must run in order (1→2→3→4→5). Skipping a gate triggers Prolog invariant I-015.
- Runtime integrity boundary: E8-1 retired transition nonces, approval nonce/envelope checks, tamper fingerprints, state hashes, and
.config_integrity. Gates now rely on deterministic artifact checks, Prolog semantics, decision-log hash chaining, git history, and fresh-context CI review instead of in-process approval ceremony.GATE-SEM-003is the surviving fail-closed JavaScript/Prolog semantic-divergence alarm: it is quiet only when every Prolog-only blocker is a structuredGATE-SEM-002row fully explained by the closed ordinary-story-invariant family, and receipts record the explaining check IDs. Unknown, mixed, missing-structure, engine-level, and I-035unmapped_source_filedifferences remain hard; this does not restore any retired fingerprint or approval substrate. - KB digest: At EXPLORE, read all KB files, then persist the KB digest salt in
findings_ledger.json(kb_digest_salt) or add[KB_DIGEST:<hash>]tofindings.md(salt shown by Gate 1). Proves KB was actually read. - Content depth: Findings need ≥30 words each. Red-team vectors need ≥3 content lines each. Empty code blocks don't count as proof of work.
- FAIL = blocked: Fix all FAIL items before proceeding. WARN = advisory.
- Pre-planning scaffold gate:
explore-to-planruns a deterministic scaffold check before normal gate checks. It verifies an explicit North Star contract, a usablereports/user_story_audit/story_registry.jsonbaseline, and Program Packet context when the plan appears tied to an open Program Packet. Missing items block normal planner work withGATE-EXP-017throughGATE-EXP-019;choreandanalysisshapes receive advisory WARNs instead. - **Dete
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- EDGE-CASES.md
- ERROR-RECOVERY.md
- MIGRATION.md
- MIGRATION_HISTORY.md
- QUICKSTART.md
- analyzers/doc-references.yaml
- analyzers/file-freshness.yaml
- analyzers/orphaned-capabilities.yaml
- analyzers/parity-registry.yaml
- analyzers/pattern-grep.yaml
- audit.config.example.json
- checklists/domains/README.md
- checklists/domains/ai-safety.yaml
- checklists/domains/authentication-authz.yaml
- checklists/domains/data-pipeline.yaml
- checklists/domains/distributed-systems.yaml
- checklists/domains/fullstack.yaml
- checklists/domains/integration-probes.yaml
- checklists/domains/mcp-orchestration.yaml
- checklists/domains/performance.yaml
- checklists/domains/quant.yaml
- checklists/domains/quantitative-trading.yaml
- checklists/domains/simulation.yaml
- checklists/domains/wordpress.yaml
- checklists/execute-to-reflect.yaml
- checklists/explore-to-plan.yaml
- checklists/notify-user.yaml
- checklists/plan-to-execute.yaml
- checklists/reflect-to-close.yaml
- checklists/reflect-to-validate.yaml
- checklists/regression-gate.yaml
- checklists/smoke-test.yaml
- checklists/validate-to-close.yaml
- config/.checklist_integrity
- config/.project_registry.json
- config/agent_orchestration.json
- config/archetype_profiles.json
- config/archetype_scenarios.json
- config/claim_briefing.schema.json
- config/claims_evidence.schema.json
FAQ
Что делает скилл iterative-planner?
State-machine driven iterative planning and execution for complex coding tasks. Cycle: Explore → Plan → Execute → Reflect → Validate → Close / Re-plan. Filesystem as persistent memory. Use for multi-file tasks, migrations, refactoring, failed tasks, audit remediations, or anything non-trivial.
Как установить скилл iterative-planner?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл iterative-planner запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis 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…