sj-loop

Community

Automate repeatable AI tasks with stateful, guarded loops.

Authors0613
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Manually repeating the same AI-assisted development tasks across sessions is time-consuming and error-prone, with no consistent way to track progress, enforce safety rules, or stop when predefined goals are met.

Core Features & Use Cases

  • Structured Loop Prompts: Generates reusable loop prompts with machine-verifiable stop conditions, eliminating vague "keep trying until it works" instructions.
  • Persistent State Tracking: Saves iteration progress, best results, and next steps to a state file so loops can resume seamlessly across sessions.
  • Flexible Execution Modes: Supports dry runs for validation, in-session repeated execution, and cloud-scheduled runs for unattended overnight or recurring work.
  • Built-in Safety Guardrails: Enforces human approval gates for high-risk actions like PR merges or production deployments, and prevents loops from modifying critical project files or self-modifying their own prompts.
  • Use Case: A developer can create a loop to automatically fix failing unit tests, track the highest test score across iterations, and stop only when the full test suite passes with zero errors, without manual intervention for each run.

Quick Start

Use the sj-loop skill to create a loop that fixes all failing unit tests in your project and stops automatically when the test suite passes with no errors.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: sj-loop
Download link: https://github.com/s0613/S-skills/archive/main.zip#sj-loop

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 536,000+ vetted skills library on demand.