se-work-loop

Coordinate saved SE plan execution across implementation-unit iterations with verification gates.

Updated May 7, 2026
One-click install
npx skills add https://github.com/simonwjackson/pi-software-engineering --skill se-work-loop
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: se-work-loop
Source: https://github.com/simonwjackson/pi-software-engineering/tree/main/skills/se-work-loop
Command: npx skills add https://github.com/simonwjackson/pi-software-engineering --skill se-work-loop

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Run a saved SE plan through repeated fresh-context implementation-unit iterations with durable local state and verification gates to preserve progress across multiple U-IDs and avoid chat bloat.

Core Features & Use Cases

  • Durable, multi-unit execution: runs each U-ID in a fresh child session and persists progress under the project context.
  • Two-stage verification: per-unit file gates plus an end-of-loop verification to determine completion.
  • Flexible discovery and control: supports CLI flags, YAML frontmatter, and in-plan handoffs to resolve the verification command and loop behavior.
  • Various runtimes: supports attached and background loops with status and management commands.

Quick Start

Provide the path to a saved se-plan and an optional verify command to start looping through its U-IDs.

Frequently Asked Questions about se-work-loop

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

FAQPage Schema
How do I execute a multi-unit software engineering plan across fresh contexts without losing progress?

Multi-unit plan execution across fresh contexts preserves progress by persisting durable local state under the project context directory. This approach runs each implementation unit in a new session while maintaining state to avoid chat bloat and ensure continuity.

What is a per-unit verification gate in automated plan execution?

A per-unit verification gate is a file-level check enforced during plan execution to validate that an implementation unit meets specific criteria before proceeding. It works with a final loop verification to determine overall plan completion.

How do I set the verification command for a software engineering plan loop?

You can resolve the verification command flexibly using CLI flags, YAML frontmatter in the plan file, or in-plan handoffs. The loop execution system checks these sources to determine the correct verification command for the workflow.

Can I run automated implementation loops in the background and check their status?

Automated implementation loops support both attached and background runtimes. You can use status and management commands to monitor background loop execution and track progress across multiple implementation units.

Where does the plan execution loop store its durable state?

The plan execution loop stores durable local state under the project context directory at .context/software-engineering/se-work-loop. This ensures progress is preserved across multiple implementation-unit iterations and fresh child sessions.