ralph-loop
БесплатноБез исполняемых скриптовНе проверенRun a high-thoroughness end-to-end implementation loop using clean worker worktrees, per-slice planning, implementation, explicit review/fix iteration…
от encero-systems★ 75 звёзд на GitHubОб этом скилле
Ralph Loop
Use this skill when the user wants more than basic delegation. The goal is not "parallelize some work"; the goal is to carry a scoped task through planning, implementation, review, integration, and ship-ready artifacts with explicit backpressure.
Keep orchestrate-parallel-work generic. Use this skill as the opinionated wrapper around it.
Core stance
- Confirm the requested scope before spawning anything.
- If the input is an RFC, treat RFC hygiene and lifecycle state as part of the work, not pre-existing setup.
- Treat user-facing docs and versioning as part of implementation, not optional closeout polish.
- Optimize for end-to-end correctness, not maximal concurrency.
- Use clean worktrees for real implementation slices.
- For milestone, RFC-wide, or compiler-boundary work, define the acceptance contract before implementation starts. The contract should name required boundary parity coverage, downstream acceptance lanes, docs/generated-reference gates, performance/progress gates, and any criteria that must be satisfied before an RC or publish step.
- For language or stdlib work that is meant to be implemented in Incan, dogfood Incan rather than creating a thin
.incnfacade over a custom Rust backend. Directfrom rust::imports of existing crates and primitives are acceptable when the.incnmodule still owns the behavior; bespokeincan_std_<component>::featureRust modules that hide the feature logic are not acceptable unless the maintainer explicitly asks for that backend boundary. - Do not let workers assume Incan cannot express something. Before choosing Rust/backend fallback or narrowing a design, workers must inspect current
.incnprecedents, parser/typechecker/codegen tests, or run a small probe and record the specific capability evidence. - Every implementation must land in a fresh worktree rooted under
WORKTREE_ROOTso VS Code picks it up.WORKTREE_ROOTmust resolve to the primary repository's shared siblingtmp/directory; do not implement in the system/tmp,/private/tmp, or in the main repo checkout. - Treat Ralph-created worktrees, Cargo targets, generated SDK/provider caches, test-package output, and tool distributions as one managed storage domain. A worker may not create a durable build/output directory outside that domain.
- Treat each slice as a managed work packet with durable state on disk, not as a chat thread that has to remember its own scope.
- Treat loop identity as durable state too. A resumed loop must prove that persisted state matches the current user request before using it to choose work.
- Treat cross-repo consumer work as a verification lane unless the user explicitly puts that repository's implementation work in scope.
- Require every worker to plan, implement, verify, review, and fix within its owned slice.
- Consolidate accepted worker output onto the orchestrator branch before any commit, push, or PR work. Worker worktrees are temporary execution sandboxes, not final publication branches.
- Retire worker worktrees after their
doneoutput has been integrated and verified unless the orchestrator records a concrete reason to keep one. - Require the orchestrator to perform its own explicit plan -> do -> check -> act integration loop after collecting worker output.
- Require workers and the orchestrator to maintain a persistent review report at
.agents/state/review-report.mdinside each worktree so findings survive across loops. - Require touched
.incnsource to passreview-incan-source-quality; Incan implementation work is not done when it merely compiles if the authored source reads like Rust-shaped scaffolding instead of well-written Python. - The orchestrator commits, pushes, and opens the PR once integration is verified. Workers commit to their own branch only; publishing is the orchestrator's job, so accepted slice work never sits unpushed in a worker sandbox.
- In Incan, workers and the orchestrator run
incan run scripts/check_us_english.incnbefore every commit, including merge commits. - Incan's whole suite stays under about 3,000 tests. Extend an existing case before adding one; add only when no same-area case can carry the behavior. Never add a case per bug: name it in
# behavior:. A library case has one producer Loaf carrying every declaration it needs. Give workers these limits so parallel slices do not multiply equivalent cases. - Incan design records change only when a decision changes, in a sentence or two. Keep decisions, boundaries, consequences, and non-goals under about 1,000 words; mechanisms belong in commit messages and rustdoc, never a paragraph per commit.
PDCA model
ralph-loop is a plan -> do -> check -> act loop, not a linear pipeline.
Use these meanings consistently:
- Plan: confirm scope, define slices, create task state, decide the next concrete increment
- Do: implement the planned increment in the owned slice
- Check: verify behavior, run review, compare delivered work ag
Установить ralph-loop в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл ralph-loop?
Run a high-thoroughness end-to-end implementation loop using clean worker worktrees, per-slice planning, implementation, explicit review/fix iteration, orchestrator integration, and final commit/PR drafting. Use when the user explicitly wants a Ralph/Wiggum-style loop, autonomous multi-agent execution, a delegated feature/bugfix carried from confirmed scope through review-ready completion, or RFC-driven implementation that should be reviewed, bumped to In Progress, decomposed into phases, and executed through nested sub-loops, or a release's dev line (`dev.N`) that should run each issue of the line as its own loop and stacked PR. Supports Codex subagents by default and external CLI workers such as OpenCode when explicitly requested and available.
Как установить скилл ralph-loop?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ralph-loop запускает скрипты?
Нет, скилл состоит только из инструкций (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