code-execute-staged-plan

Execute staged codebase plans with per-stage validation gates and agent_logs traceability.

276|37|Updated Dec 5, 2025
One-click install
npx skills add https://github.com/open-thoughts/OpenThoughts-Agent --skill code-execute-staged-plan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: code-execute-staged-plan
Source: https://github.com/open-thoughts/OpenThoughts-Agent/tree/main/.claude/skills/code-execute-staged-plan
Command: npx skills add https://github.com/open-thoughts/OpenThoughts-Agent --skill code-execute-staged-plan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Execute staged codeplan sequences safely by coordinating incremental changes with a ground-truth local clone, a dated agent_logs progress log, and gate-by-gate validation to prevent drift and ensure traceability.

Core Features & Use Cases

  • Re-read scope and reconfirm code anchors before each stage to prevent drift.
  • Edit the LOCAL clone on the feature branch with a ground-truth baseline, keeping cluster state in sync.
  • Run a multi-stage validation gate sequence: byte-identical FIRST check, behavior parity, and GPU smoke tests on the correct SIF/env.
  • Commit, push, and sync to the cluster only after green gates; update the plan status accordingly.
  • Record results in per-change agent_logs and use these logs to resume or audit long-running changes.
  • Suitable for end-to-end production-like workflows with strict guardrails and detailed traceability.

Quick Start

Initiate the staged plan execution on the local clone and proceed stage-by-stage, ensuring each gate passes before advancing, with all activity logged in agent_logs.

Frequently Asked Questions about code-execute-staged-plan

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

FAQPage Schema
How do I execute a staged codebase plan incrementally without losing track of progress?

To execute a staged codebase plan incrementally, you coordinate changes with a ground-truth local clone and a dated agent_logs progress log, ensuring each stage passes validation gates before advancing. This approach prevents drift and maintains strict traceability across long-running changes.

What validation gates should I run when pushing staged code changes to a cluster?

When pushing staged code changes to a cluster, you should run a multi-stage validation gate sequence: a byte-identical FIRST check, behavior parity verification, and GPU smoke tests on the correct SIF environment. Progress is gated stage-by-stage to prevent drift.

How do I prevent code drift when applying multi-stage edits to a feature branch?

To prevent code drift when applying multi-stage edits to a feature branch, re-read scope and reconfirm code anchors before each stage. Maintain a ground-truth local clone baseline and keep the cluster state in sync throughout the execution process.

Can I resume a long-running codebase plan if the execution process is interrupted?

Yes, you can resume a long-running codebase plan if execution is interrupted by leveraging per-change agent_logs. These dated progress logs record validation results and plan status, allowing you to audit previous steps and resume execution safely.

When do I commit and push changes during a gated staged plan execution?

During gated staged plan execution, you commit, push, and sync changes to the target cluster only after all validation gates turn green. The plan status is updated accordingly, ensuring meticulous edits on the feature branch are fully validated before deployment.