Command Palette

Search for a command to run...

Back to skills
skill № 24906

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.

FreeNo executable scripts
rondoflowby 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
Sign up freeI already have an account

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-dev for end-to-end feature delivery
  • bugfix for diagnose-first, surgical fixes
  • review-loop for tightening an existing PR until clean

Golden Rules (Most Important)

  1. Do not run workflows in the repo main checkout.
    • Use a dedicated worktree for each run.
  2. 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.
  3. Keep tasks tightly scoped.
    • Specific issue, explicit acceptance criteria, explicit DO-NOT list.
  4. Treat review findings with discipline.
    • FIX in-scope issues.
    • Mark genuine extras as SEPARATE.
  5. Use callback-exec only.
    • HTTP callback mode is removed.
  6. 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 --workdir is 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/reject is gone.
  • Use structured completion via soulforge complete ....
  • Canonical step types are single, loop, and switch.
  • Human checkpoints are typically single steps with executor: manual.
  • Manual steps must define output_schema so 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-exec is 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.md in the run worktree with exact outstanding fixes
  • run review-loop constrained 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

Full SKILL.md on GitHub

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

Compare autonomous-coding-loops-with-isolation with