Add loop-engineering pattern and four SDD loop skills#19
Open
loiane wants to merge 3 commits into
Open
Conversation
Introduce loop engineering: bounded agentic loops that converge on a checkable goal instead of running forever or giving up too early. - loop-engineering skill: the six-part loop pattern, four loop shapes, the issue-to-merged pipeline, and guardrails for any loop. - spec-sharpen-loop (Loop 3): issue -> a spec that passes /spec-review. - sdd-build-loop (Loop 2): sharp spec -> a clean, /review-approved branch. - pr-quality-gate (Loop 1): open PR -> all CI gates green (the ship loop). - pr-review-response (Loop 4): green PR -> every reviewer thread addressed. Mirror all five skills across .claude/, .github/, and .windsurf/ to keep tri-platform parity. Add docs/loop-engineering.md, a README section, and a CHANGELOG entry.
Prose and list items were hard-wrapped at ~80 chars, which fights markdown. Reflow to one line per paragraph/list item across the five loop skills (all three platform mirrors), docs/loop-engineering.md, the README section, and the CHANGELOG entry. Tables, code blocks, and diagrams are unchanged.
Show how to run the loops on each platform: Claude Code's native /loop with worked commands for all four loops, and the one-pass-per-prompt pattern for Copilot Chat and Windsurf Cascade where there is no native /loop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Introduces loop engineering to the toolkit: designing bounded agentic loops that converge on a checkable goal instead of running forever or giving up too early. Based on the blog post AI Loop Engineering: Four Loops From a GitHub Issue to a Merged Feature.
New skills (mirrored across
.claude/,.github/,.windsurf/)loop-engineeringspec-sharpen-loop/spec-reviewwith zero open questions. Human-paced.sdd-build-loop/review-approved feature branch. Self-paced, trust-gated.pr-quality-gatepr-review-responseHow they compose
Human judgment lands at exactly two points; every loop is bounded, never merges on its own, and escalates when stuck.
Also included
docs/loop-engineering.md— full narrative of the pattern, shapes, composition, and guardrails.Notes
markdownlint-cli2under the repo's.markdownlint.yaml./loopon Copilot/Windsurf, so each skill documents driving the same cadence by re-invoking it.Please review — do not merge.