live-state-aware-overnight-implementation-prompts

Design overnight implementation prompts that begin with a live repo/CI precheck so workers continue from partial progress instead of replaying stale handoffs.

5 stars

Best use case

live-state-aware-overnight-implementation-prompts is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Design overnight implementation prompts that begin with a live repo/CI precheck so workers continue from partial progress instead of replaying stale handoffs.

Teams using live-state-aware-overnight-implementation-prompts should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/live-state-aware-overnight-implementation-prompts/SKILL.md --create-dirs "https://raw.githubusercontent.com/vamseeachanta/workspace-hub/main/.agents/skills/workspace-hub-learned/live-state-aware-overnight-implementation-prompts/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/live-state-aware-overnight-implementation-prompts/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How live-state-aware-overnight-implementation-prompts Compares

Feature / Agentlive-state-aware-overnight-implementation-promptsStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Design overnight implementation prompts that begin with a live repo/CI precheck so workers continue from partial progress instead of replaying stale handoffs.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# Live-state-aware overnight implementation prompts

Use this when preparing an overnight implementation batch for issues that are already `status:plan-approved`, especially CI-health issues where one repair phase may already be on `main`.

## Problem this solves
A handoff or approved plan can be stale within hours. Another session may already have:
- landed Phase 1 of a multi-phase fix
- partially edited the target workflow/config/file set
- changed the current failure mode in CI
- converted a `0 jobs / 0s` startup failure into a real downstream test/install failure

If the overnight worker blindly replays the stale prompt, it wastes tokens, risks conflicts, and can overwrite correct progress.

## Required prompt pattern
For each implementation stream, make the worker start with an explicit precheck before editing.

Require the prompt to say:
1. inspect recent commits (`git log --oneline -N`)
2. inspect current target-file contents for whether prior phases already landed
3. inspect recent GitHub Actions runs/logs for the latest real blocker
4. classify the issue state as one of:
   - `already done`
   - `partially done`
   - `not done`
5. only apply the missing delta if the issue is `partially done`
6. close from the verification-first path if it is already done

## Best-fit cases
- CI-health issues with staged fixes (Phase 1 parse/startup unblock, Phase 2 install/test unblock, Phase 3 full green)
- repos with many parallel sessions or auto-sync churn
- child repos inside a workspace-hub umbrella where repo state diverges from hub handoff docs
- issues where the prompt references exact fix sites that may already have changed

## Prompt wording to include
Recommended language:

- "Start from live repo state rather than the stale handoff."
- "Before any edit, perform the already-done precheck from live repo + live GitHub Actions."
- "Determine explicitly: already done, partially done, or not done."
- "If partial progress already landed, apply only the missing delta instead of replaying the plan verbatim."

## What the worker should inspect
Minimum live-state sources:
- `git log --oneline -5` or similar
- direct inspection/grep of the target file(s)
- `gh run list --repo <owner/repo> --branch main --limit 5`
- `gh run view <run-id> --log` for the newest failed run when CI is involved

## Execution rule
After the precheck:
- If `already done`: gather proof, post the GitHub evidence comment, and close if acceptance is satisfied.
- If `partially done`: implement only the remaining delta, validate, push, and post the new evidence.
- If `not done`: proceed with the approved plan normally.

## Why this matters
The most common overnight failure mode is not "bad implementation" but "good implementation against yesterday's state." This pattern turns stale handoffs into continuation prompts instead of replay prompts.

Related Skills

workspace-hub-overnight-plan-monitor

5
from vamseeachanta/workspace-hub

Monitor and reconcile workspace-hub overnight planning or implementation batches, including process status, result artifacts, issue/commit verification, and controlled failed-lane recovery.

recover-from-corrupted-git-state

5
from vamseeachanta/workspace-hub

Diagnose and recover from corrupted git states (stale locks, failed rebases, pre-commit hook blocks) during bulk operations

read-only-pre-implementation-audit

5
from vamseeachanta/workspace-hub

Systematic cross-check workflow to validate assumptions before TDD coding begins

portable-baseline-pattern-implementation

5
from vamseeachanta/workspace-hub

Implement portable configuration baselines by separating machine-agnostic settings from machine-specific hooks and plugins

plan-gated-issue-implementation

5
from vamseeachanta/workspace-hub

Workflow for executing pre-approved GitHub issues with mandatory validation checkpoints

multi-layer-stale-state-debugging

5
from vamseeachanta/workspace-hub

Detect and clear stale state persisting across multiple storage layers (auth files, cache, code logic)

user-approved-plan-state-sync

5
from vamseeachanta/workspace-hub

Reconcile GitHub and local repo state when a plan has been user-approved, including direct approval messages that require creating the local marker and moving the issue to status:plan-approved.

session-start-dirty-state-triage-with-background-agents

5
from vamseeachanta/workspace-hub

Distinguish real implementation dirt from generated session-state churn when resuming a repo with active overnight/background agents.

overnight-worktree-verification-fallback

5
from vamseeachanta/workspace-hub

Verify overnight multi-worktree Codex batches when auto-sync, duplicate-lane convergence, and sandbox-blocked review create misleading local state or review provenance.

overnight-worktree-uv-warmup-and-log-path-guardrails

5
from vamseeachanta/workspace-hub

Prevent false stalls and missing-log failures in overnight Codex worktree batches by pre-warming uv environments, using exact log-path directory creation, and interpreting buffered logs correctly.

overnight-worktree-Codex-noop-recovery

5
from vamseeachanta/workspace-hub

Recover overnight Codex worktree batches that appear to succeed but produce no artifacts; harden rerun prompts and launch commands.

overnight-wave-pack-worktree-isolation

5
from vamseeachanta/workspace-hub

Safely launch overnight multi-terminal workspace-hub planning packs from isolated worktrees when the main checkout is dirty or prompts share planning/index files.