loop-engineering-v2
Execute non-trivial software work through small, observable build-test-observe-adjust loops with explicit hypotheses, evidence, outcomes, and next actions.
Skill by projectamazonph
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/projectamazonph-loop-engineering-v2
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: testing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/loop-engineering-v2
What's inside
- Skill name
loop-engineering-v2- Description
- Execute non-trivial software work through small, observable build-test-observe-adjust loops with explicit hypotheses, evidence, outcomes, and next actions. Use throughout feature implementation, debugging, refactoring, migrations, performance work, and complex verification where feedback must guide each subsequent step. Use when work is stalling, changes are growing too large, failures repeat, or an engineering ledger is required.
- License
- MIT
- Instructions
- 122 lines in SKILL.md · view on GitHub
Files (2)
- SKILL.md
- loop-recovery.md · references/
SKILL.md (first lines)
# Loop Engineering ## Mission Own execution cadence and learning. Keep each loop small, observable, reversible with precise edits, and driven by evidence. Do not own detailed test method, architecture policy, or final approval. Route behavior changes to `tdd-workflow`, structural decisions to `solid-code-design`, and completion to `engineering-quality-gates` through the orchestrator. ## Open a Loop Define: ```text Loop: <number or short ID> Hypothesis: <what this step should prove or change> Scope: <one behavior, diagnostic, or structural move> Evidence plan: <test, inspection, metric, build, or runtime signal> Stop condition: <observable success, failure, or split threshold> ``` Reject a loop that contains several independently verifiable outcomes. Split by behavior, dependency, caller group, migration batch, or risk. ## Run the Cycle ### 1. Observe Inspect current code, tests, logs, runtime behavior, metrics, or errors. Separate known baseline failures from new failures. Never begin from an assumed state. ### 2. Frame Choose the smallest uncertainty or behavior that blocks progress. State a falsifiable hypothesis and the evidence needed to decide. ### 3. Execute - For new behavior or a defect, invoke `tdd-workflow` and complete one valid Red–Green–Refactor cycle. - For a structural move, obtain a boundary decision from `solid-code-design`, preserve behavior with tests, and move one responsibility, dependency, contract, or caller group. - For diagnosis, change one variable or add one observation point. Do not mix diagnosis with a broad fix. - For bulk work, run one representative or low-risk batch before scaling. ### 4. Measure Run the focused evidence check, then proportionate broader checks. Capture actual output, not memory or expectation. ### 5. Compare Classify the loop: - **Confirmed:** Evidence matches the hypothesis and acceptance behavior. - **Refuted:** Evidence disproves the hypothesis. - **Inconclusive:** The observation cannot distinguish causes. - **Blocked:** A missing dependency, permission, decision, or broken baseline prevents a valid result. ### 6. Adjust Choose exactly one next action: - Advance to the next behavior or structural move. - Tighten the test or observation. - Reduce the scope. - Return to architecture shaping. - Repair the baseline or environment. - Escalate a material user decision. - Stop because acceptance is satisfied or the work is blocked. Do not stack speculative fixes after a refuted or inconclusive loop. ## Keep the Ledger Use an existing build log, engineering diary, task record, or project journal. If none exists, retain a concise ledger for the final report: | Loop | Hypothesis | Action | Evidence | Outcome | Next | | --- | --- | --- | --- | --- | --- | Record exact commands and meaningful results. Do not dump noisy logs when a precise summary and failure excerpt are sufficient. For long-running work, send the user brief progress updates at meaningful loop boundaries without turning the ledger into play-by-play commentary. ## Control Loop Size Split the loop when: - More than one acceptance behavior is changing. - Several production modules must change for unrelated reasons. - A test failure has more than one plausible cause. - Review becomes difficult because the diff mixes behavior and structure. - A migration batch cannot be independently verified or rolled back. - The success condition cannot be stated in one sentence. One loop may touch multiple files when they form one atomic behavior or contract change. File count alone does not define loop size. ## Recover from Failure Read [references/loop-recovery.md](references/loop-recovery.md) when loops repeat, focused checks pass but broader checks fail, the environment is unreliable, or the next action is unclear. Use precise patches to remove only the failed experiment's changes. Preserve unrelated user work. Never use destructive resets as a loop shortcut. ## Stop Correctly Stop iteration when one condition holds: - Requested acceptance behavior is satisfied and evidence is ready for `engineering-quality-gates`. - A material decision or new authority is required from the user. - The environment cannot produce trustworthy evidence. - Continuing would expand scope beyond the request. Do not stop merely because the first plausible implementation compiles or one focused test passes. ## Return the Handoff Return to the orchestrator: ```text Completed loops: <IDs and outcomes> Acceptance status: <satisfied | partial | blocked> Focused evidence: <results> Broader observation: <results> Architecture questions: <none or route to SOLID> Residual risk: <specific gap> Recommended next phase: <shape | red | observe | gate | blocked>
From projectamazonph/agent-skill-framework, MIT.
More from projectamazonph/agent-skill-framework
- 0.529score
solid
projectamazonph
Use this skill when writing code, implementing features, refactoring, planning architecture, designing systems, reviewing code, or debugging.
SkillBFreshness: BClaude Code +9 - 0.529score
engineering-quality-gates
projectamazonph
Verify engineering work against required behavioral, architectural, regression, build, security, compatibility, documentation, and diff-hygiene evidence…
SkillBFreshness: BClaude Code +9 - 0.529score
engineering-standards-orchestrator
projectamazonph
Coordinate programming work through mandatory SOLID architecture, test-driven development, Loop Engineering, and completion-quality gates.
SkillBFreshness: BClaude Code +9 - 0.529score
solid-code-design
projectamazonph
Design, refactor, and review object-oriented or modular code with the SOLID principles while preserving behavior and avoiding needless abstraction.
SkillBFreshness: BClaude Code +9 - 0.529score
tdd-workflow
projectamazonph
Drive one observable software behavior at a time through a valid Test-Driven Development cycle: select the test, prove Red for the intended reason, implement…
SkillBFreshness: BClaude Code +9 - 0.523score
precision-workflow
projectamazonph
execute complex work with research, files, and quality gates
SkillBFreshness: BClaude Code +9 - 0.521score
amazon-ad-console-redesign
projectamazonph
Complete premium redesign of the Amazon Ad Console Training Simulator using the Design Skill Pack.
SkillBFreshness: BClaude Code +9 - 0.521score
design-system-master
projectamazonph
Master design system orchestrator — selects, combines, and applies the right design skills from the pack based on the project context.
SkillBFreshness: BClaude Code +9 - 0.507score
project-bootstrap-full
projectamazonph
Create a complete project foundation with SOLID architecture, TDD protocols, comprehensive documentation suite, data logic wireframes, and project scaffold.
SkillBFreshness: BClaude Code +9 - 0.499score
design-an-interface
projectamazonph
Generate multiple radically different interface designs for a module using parallel sub-agents.
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Aug 13, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from projectamazonph
- 0.529score
solid-code-design
projectamazonph
Design, refactor, and review object-oriented or modular code with the SOLID principles while preserving behavior and avoiding needless abstraction.
SkillBFreshness: BClaude Code +9 - 0.529score
tdd-workflow
projectamazonph
Drive one observable software behavior at a time through a valid Test-Driven Development cycle: select the test, prove Red for the intended reason, implement…
SkillBFreshness: BClaude Code +9 - 0.529score
solid
projectamazonph
Use this skill when writing code, implementing features, refactoring, planning architecture, designing systems, reviewing code, or debugging.
SkillBFreshness: BClaude Code +9 - 0.529score
engineering-quality-gates
projectamazonph
Verify engineering work against required behavioral, architectural, regression, build, security, compatibility, documentation, and diff-hygiene evidence…
SkillBFreshness: BClaude Code +9 - 0.529score
engineering-standards-orchestrator
projectamazonph
Coordinate programming work through mandatory SOLID architecture, test-driven development, Loop Engineering, and completion-quality gates.
SkillBFreshness: BClaude Code +9 - 0.523score
precision-workflow
projectamazonph
execute complex work with research, files, and quality gates
SkillBFreshness: BClaude Code +9
Cite this page
loop-engineering-v2 skill. Agent Mart. https://agentmart.dev/skills/projectamazonph-loop-engineering-v2 (last updated 2026-10-24)