iterating-to-completion

Official

Prevent premature exits and endless looping.

Authorporcupine-md
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This skill prevents two failure modes: premature exit and infinite loops in AI task execution, ensuring progress and guardrails.

Core Features & Use Cases

  • Completion Promises: explicit completion signals per role to mark success. The agent outputs this string ONLY when criteria are truly met, e.g., architecture plan completion, implementation completion, review completion, test plan completion, and all tests passing.
  • Scratchpad Protocol: maintain a per-task scratchpad at .jonggrang/.ephemeral/scratchpad-{task_id}.md with sections for Completed Steps, Current Focus, Failures & Learnings, and Next Step.
  • Loop Detection: monitor the last outputs to detect stagnation or repetition; trigger strategy changes or escalation when similarity exceeds thresholds.

Quick Start

Guide the agent to iterate tasks until all completion signals are observed, using the completion tokens and the scratchpad to manage progress.

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: iterating-to-completion
Download link: https://github.com/porcupine-md/jonggrang/archive/main.zip#iterating-to-completion

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 510,000+ vetted skills library on demand.