loop-implement
Execute an approved loop-plan/v1 plan end to end with docs-first TDD, verification, checkpoint reviews, and commits. Use only…
Create an execution-ready, code-grounded phased implementation plan before coding. Only for large work - several features, many files or components, or work spanning sessions that needs resumable phase boundaries. Not for small fixes or single-feature changes; do those directly.
Claude Code
$ npx -y skills add lploc94/cross-review --skill loop-plan --agent claude-code
Codex
$ npx skills add lploc94/cross-review --skill loop-plan -a codex -y
Cursor
$ npx skills add lploc94/cross-review --skill loop-plan -a cursor -y
Gemini CLI
$ npx skills add lploc94/cross-review --skill loop-plan -a gemini-cli -y
GitHub Copilot
$ npx skills add lploc94/cross-review --skill loop-plan -a github-copilot -y
OpenCode
$ npx skills add lploc94/cross-review --skill loop-plan -a opencode -y
Windsurf
$ npx skills add lploc94/cross-review --skill loop-plan -a windsurf -y
name: loop-plan description: Create an execution-ready, code-grounded phased implementation plan before coding. Only for large work - several features, many files or components, or work spanning sessions that needs resumable phase boundaries. Not for small fixes or single-feature changes; do those directly.
Create a plan that a fresh session, with only the repository and this file, can execute without guessing: nothing relies on this conversation, and each project-specific term is explained where first used. This skill plans only; it does not implement application code. Spikes live only under `.cross-review/spikes/<plan-name>/`.
Use it for large work: several features, many files or components, or work that spans sessions. For a small fix or a single-feature change, a phased plan and its reviews cost more time than they save: tell the user, and suggest doing it directly with tests (and `{{CLIENT_SKILL}}review-impl` if they want a review). Plan it only if the user still asks.
1. Read applicable {{CLIENT_INSTRUCTIONS}}/repository instructions, inspect `git status`, recent history, relevant files, symbols, callers, commands, and existing tests before drafting. 2. Separate the user's target from reports, assumptions, completed work, and out-of-scope ideas. Preserve the user's expected behavior as the source of truth. 3. For each proposed change, cite the repository pattern (path/symbol) and the current established standard for the problem (a current source). When the repository pattern is itself the tangled part, present two options, patch within it or move to the standard, as a user decision. Otherwise choose the smallest project-consistent design, reusing existing helpers by name (a new helper states why they do not fit); do not add speculative abstractions or compatibility behavior. 4. Spike every technical assumption you have not seen work here (library API, platform behavior, external capacity, performance) in `.cross-review/spikes/<plan-name>/`, and record it in `Feasibility evidence`. A pilot run on a small subset is recorded with its command, subset, duration, and what it caught, so the phase can reuse it. 5. Resolve assumptions at plan time, by spike or by asking the user. The plan handed to implementation must not contain hard stops that depend on something nobody can verify; record what remains as an assumption with a default and a fallback. Hard stops are only for data loss, security, or irreversible actions. 6. Resolve ordinary engineering choices autonomously. Ask only when a material product, API, schema, dependency, compatibility, or operational decision cannot be inferred safely.
Every regex, parser, detector, validation guard, allow/deny list, default, fallback, timeout, retry and numeric bound the plan sets is a decision point. List each in the phase's `Behavioral contract` with:
Correctness validation (rejecting bad input) is not a capacity limit; keep them apart. A capacity limit also states the protected resource and the failure it prevents; external capacity (context size, rate limits, body size, quotas) needs a current source or measurement.
Run `node "{{RUNNER_PATH}}" plans --working-dir "$PWD"`: it creates `.cross-review/plans/`, keeps its `.gitignore` in step with the user's "Plans in git" setting, and prints JSON. Write a descriptively named `<kebab-case-summary>-plan.md` into the printed `dir` unless the user specifies another descriptive path; if the command fails (for example `CONFIG_INVALID`), tell the user instead of choosing another place. The name identifies the work (for example `migrate-auth-tokens-plan.md`), never a generic `plan.md`.
Use this exact top-level order:
# <title> ## Plan schema loop-plan/v1 ## Target ## Scope ## Invariants ## Fixed decisions ## Baseline ## Design and project patterns ## Feasibility evidence ## Capacity ## Global Gates ## Review checkpoints ## Plan Review ## Phase 1: <name> ... ## Completion Criteria ## Progress Log
Repeat the complete phase block for every phase, in dependency order:
## Phase N: <name> ### Goal ### Current behavior and gap #
Cross-model review skills for Claude Code and Codex CLI: one agent orchestrates, another model reviews plans, code and reasoning.
Execute an approved loop-plan/v1 plan end to end with docs-first TDD, verification, checkpoint reviews, and commits. Use only…
Review uncommitted changes, unpushed or recent commits, or a branch diff against the plan/target with an external reviewer model…
Review/debate plans before implementation with an external reviewer model (Codex CLI by default; Claude Code or Antigravity on…
Review someone else's pull request or branch with an external reviewer model (Codex CLI by default; Claude Code or Antigravity on…
Peer debate with an external reviewer model (Codex CLI by default; Claude Code or Antigravity on request) on any technical…
Performs AI-powered code review on Git changes using the `ocr` CLI from alibaba/open-code-review. Use when the user asks to…
Address all valid review comments on a PR for the current branch in the streamlit/streamlit repo. Covers both inline review…
Build or update the code review knowledge graph. Run this first to initialise, or let hooks keep it updated automatically.
Maps the `hunkdiff/extension` authoring surface for Hunk, the terminal diff viewer — hiding or reordering reviewed files, docked…