loop

Execute and monitor iterative processes until completion conditions are met.

14|2|Updated Jul 4, 2026
One-click install
npx skills add https://github.com/Krishnatejavepa/Shotgun --skill loop-krishnatejavepa
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: loop
Source: https://github.com/Krishnatejavepa/Shotgun/tree/main/.shotgun/skills/loop
Command: npx skills add https://github.com/Krishnatejavepa/Shotgun --skill loop-krishnatejavepa

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates and tracks iterative tasks, enabling you to set goals, specify conditions for completion, and monitor progress autonomously until the task is verified as done.

Core Features & Use Cases

  • Autonomous Workflow Execution: Delegates tasks to run without manual intervention until verification.
  • Loop Contract Creation: Define goals, conditions for completion, and budgets for task iterations.
  • Progress Monitoring: Keep track of the progress and status of each task iteration.
  • Use Case: Ideal for repetitive engineering tasks like code review, test execution, or documentation updates.

Quick Start

Create a loop to automatically update the codebase based on a pull request, with a contract specifying that the update must pass all unit tests before being marked as done.

Frequently Asked Questions about loop

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate iterative code review and test execution until they pass?▼

You can automate iterative code review and test execution by defining a loop contract that specifies completion conditions and budgets. The workflow runs autonomously, monitoring progress until unit tests pass and the task is verified as done.

What is an autonomous workflow for repetitive engineering tasks?▼

An autonomous workflow delegates repetitive engineering tasks to run without manual intervention until a verification condition is met. It tracks progress and logs each iteration, ensuring tasks like documentation updates complete only when specified goals are achieved.

How do I set up a loop contract for automated document updates?▼

To set up a loop contract for document updates, define your goals, specify the conditions for completion, and allocate iteration budgets. Provide scripts for the required action, verification, and logging capabilities to execute the autonomous workflow.

Do I need to write my own scripts to monitor iterative task progress?▼

Yes, you need to provide scripts for action, verification, and logging capabilities. The Skill uses these scripts to execute and monitor your iterative processes, tracking the status of each task iteration until completion conditions are met.

When should I use an autonomous workflow instead of manual task execution?▼

Use an autonomous workflow for repetitive engineering tasks like code review, test execution, or documentation updates that require iterative improvement. It is ideal when you need tasks to run autonomously until verifiable completion conditions are met.

Can I limit the number of iterations for an automated test execution workflow?▼

Yes, you can limit iterations by setting budgets in your loop contract. The workflow executes and monitors the iterative processes, stopping when specified conditions for completion are met or the allocated iteration budget is exhausted.