autonomous-coding-loops-with-isolation
Run high-signal autonomous coding loops with Soulforge (feature-dev/bugfix/review-loop) using strict worktree isolation, review gates, and scoped fix cycles.
by rondoflow★ 37 GitHub stars
Install autonomous-coding-loops-with-isolation in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
Soulforge (Effective Use Guide)
This is not a full engine reference. This is the operating playbook for getting high-quality autonomous coding outcomes with Soulforge.
Core Operating Model
Use Soulforge when you want: plan → implement → verify/test → PR → review/fix loops with minimal babysitting.
This skill assumes a trusted operator is launching runs in a trusted repository/worktree. It is not intended as a generic end-user execution surface.
Soulforge itself is the step orchestration layer. The operator running a Soulforge workflow chooses which executor(s) and callback handler(s) make sense for that environment. The examples in this skill are illustrative patterns, not mandatory integrations.
Preferred workflows:
feature-devfor end-to-end feature deliverybugfixfor diagnose-first, surgical fixesreview-loopfor tightening an existing PR until clean
Golden Rules (Most Important)
- Do not run workflows in the repo main checkout.
- Use a dedicated worktree for each run.
- Always isolate work in worktrees.
- Default base:
<repo>/worktrees/ - Manual daemon start can still be cwd-sensitive in bare+worktree layouts, so keep execution and daemon concerns distinct.
- Default base:
- Keep tasks tightly scoped.
- Specific issue, explicit acceptance criteria, explicit DO-NOT list.
- Treat review findings with discipline.
- FIX in-scope issues.
- Mark genuine extras as
SEPARATE.
- Use callback-exec only.
- HTTP callback mode is removed.
- Do not hardcode session keys, tokens, or destination identifiers in examples or live commands.
- Supply destinations and credentials deliberately at launch time.
Current Behavior You Should Rely On
Workdir / Worktree safety
- If
--workdiris omitted, Soulforge can auto-provision a worktree under<repo>/worktrees/.... - Main checkout is blocked (including bare+worktree edge cases).
- Dirty worktrees are rejected for run start.
- Out-of-base workdirs are blocked unless explicitly overridden.
Checkpoint model
approve/rejectis gone.- Use structured completion via
soulforge complete .... - Canonical step types are
single,loop, andswitch. - Human checkpoints are typically
singlesteps withexecutor: manual. - Manual steps must define
output_schemaso operator completion is valid.
Callback model
- Use
--callback-exec. - Prefer passing through the workflow/runtime-produced callback body unchanged via
{{callback_message}}. - Recommended pattern:
--message "{{callback_message}}"
--callback-execis the transport/delivery wrapper, not the primary place to author callback content.- Callback handlers are operator-selected integrations, not core Soulforge requirements.
- Callback examples in this skill are illustrative wrappers for trusted operator-controlled environments. They are not a recommendation to expose arbitrary user input to shell construction.
- Template vars include:
{{run_id}},{{step_id}},{{step_status}},{{status}},{{task}}{{callback_message}}(preferred callback body){{prompt}}remains only for backward compatibility in older/manual scenarios
- When a callback matters operationally, confirm live state with
soulforge status; callback text can lag or be noisy.
Recommended Command Patterns
Feature build
soulforge run feature-dev "Implement <issue-url>.
Constraints: max 2 stories. DO NOT refactor unrelated modules." \
--workdir /abs/path/to/repo/worktrees/feat-xyz \
--callback-exec '<CALLBACK_HANDLER_COMMAND_USING_{{callback_message}}>'
Bugfix
soulforge run bugfix "Fix <issue-url> with failing test first; minimal patch only." \
--workdir /abs/path/to/repo/worktrees/fix-xyz \
--callback-exec '<CALLBACK_HANDLER_COMMAND_USING_{{callback_message}}>'
Review-only tightening on an existing PR
soulforge run review-loop "Review PR #123 and fix only in-scope findings." \
--workdir /abs/path/to/repo/worktrees/pr-123 \
--var pr_number=123 \
--callback-exec '<CALLBACK_HANDLER_COMMAND_USING_{{callback_message}}>'
How to Maximize Autonomous Quality
1) Give a tight task contract
Include:
- target issue/PR URL
- explicit in-scope list
- explicit out-of-scope list
- objective success criteria
- only operator-reviewed task text and vars; do not blindly forward untrusted end-user content into privileged workflows
2) Keep iteration loops short
If a PR loops repeatedly:
- create/update
.soulforge-progress.mdin the run worktree with exact outstanding fixes - run
review-loopconstrained to remaining findings - keep these notes local to the worktree; they are operator scratch state, not a credential/config channel
3) Handle gates like an operator, not a coder
At review gate:
- move in-scope defects to FIX
- separate unrelated ideas into follow-up issues
- avoid “while we’re here” drift
4) Expect long fix steps; optimize signal
Long fix steps are n
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
- manifest.json
FAQ
What does the autonomous-coding-loops-with-isolation skill do?
Run high-signal autonomous coding loops with Soulforge (feature-dev/bugfix/review-loop) using strict worktree isolation, review gates, and scoped fix cycles.
How do I install the autonomous-coding-loops-with-isolation skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the autonomous-coding-loops-with-isolation skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…