Community编程与开发github.com

tderoussel/overnight-build

Composes an autonomous unattended Claude Code build prompt that survives usage-limit resets via BUILD_LOG.md checkpointing, plus the launcher that restarts it. Use when the user asks for an overnight build, an autonomous build, a build to run while they sleep, an unattended or unsupervised session, or any long build they will not be monitoring. Trigger phrases include "overnight build", "run overnight", "build while I sleep", "autonomous build", "let it run", "unattended". Produces a single copyable prompt; does not run the build.

overnight-build 是什么?

overnight-build is a Claude Code agent skill that composes an autonomous unattended Claude Code build prompt that survives usage-limit resets via BUILD_LOG.md checkpointing, plus the launcher that restarts it. Use when the user asks for an overnight build, an autonomous build, a build to run while they sleep, an unattended or unsupervised session, or any long build they will not be monitoring. Trigger phrases include "overnight build", "run overnight", "build while I sleep", "autonomous build", "let it run", "unattended". Produces a single copyable prompt; does not run the build.

兼容平台Claude Code~Codex CLI~Cursor
npx skills add https://github.com/tderoussel/agent-skills/tree/main/skills/overnight-build

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Overnight build prompt

The full template lives at references/overnight-build-template.md. Read it before composing. Do not re-derive the rule structure from memory — fill its [BRACKETED] sections from the user's specifics, and preserve any edits they have made to their own copy.

Non-negotiable

Every output must carry Rule 8 (survive usage resets) and the LAUNCHER section. They are what make the build restartable; a prompt without them silently restarts from scratch after the first usage reset and burns a night.

Compose

  1. Read the template. If the user keeps an edited copy, theirs wins — preserve their changes.
  2. Fill the specification — what to build, context, design requirements, technical requirements, features in priority order, seed data, deployment, success criteria. Specificity here is the whole game; a vague spec produces a vague night.
  3. Set phases — 4–8, each independently completable and verifiable, with time allocations that sum to the budget.
  4. Fill the pivot playbook with project-specific blockers on top of the template's standing ones.
  5. Ask once which launcher they want (A: OS scheduler · B: bash loop · C: a scheduled-task MCP) if the request doesn't say. Ask once — then proceed.
  6. Output as a single copyable code block, and remind them to save it to overnight-build-prompt.txt in the project root before launching.

Completion signalling

The prompt must instruct the build to emit BUILD_COMPLETE as its final line — the bash-loop runner greps for it to exit. State clearly, in the prompt, that withholding BUILD_COMPLETE is correct when any P0 criterion is genuinely unmet. A runner that exits on an unfinished build is worse than one that keeps going.

Guardrails

An unattended agent has no one to ask, so the prompt must carry its own boundaries.

If the target is an existing production codebase, derive file ownership and a DO-NOT list first (the fleet-brief skill produces both) and carry the project's verification checks into the testing phase, so "done" means verified rather than merged.

Never let an overnight prompt authorize applying database migrations, pushing schema, deploying via a hosting CLI, purchasing or releasing phone numbers or domains, or sending outbound messages to real contacts. Those need a human awake. Add the project's own irreversible actions to that list.

Deliverables the build must write

  • BUILD_LOG.md — phase entries, decisions, pivots, known issues, and ## CHECKPOINT — <ISO> blocks with the exact next step
  • RESEARCH_NOTES.md — research findings before implementation begins

On resume, the build's literal first action is to read BUILD_LOG.md top to bottom and continue from the latest checkpoint — never re-research, re-scaffold, or restart.

Individual skills in this repo

This repo contains 8 individual skills — each has its own dedicated page.

tderoussel/codebase-audit

Runs a ranked, evidence-backed audit of a product, codebase, or subsystem, ending in a verify list that separates proven findings from inferred ones. Use when the user asks for an audit, a gap analysis, a deep read, a bug hunt, a readiness check, a re-audit, a state reconciliation, or asks what they are not seeing. Trigger phrases include "audit", "gap analysis", "what am I missing", "deep audit", "readiness", "bug hunt", "review the whole thing". Produces findings and a verify list; does not fix.

tderoussel/competitive-teardown

Researches a competing product against your own and produces a ranked build-or-ignore verdict, plus optional comparison-page copy. Use when the user names a competitor or asks how their product stacks up against one. Trigger phrases include "vs us", "competitor", "what does X have", "should we copy", "competitive gap", "teardown", "are we behind". Produces a ranked verdict with effort estimates and an explicit not-worth-copying list.

tderoussel/decision-council

Run a structured multi-perspective review of a decision instead of getting one agreeable answer. Use when the user says run a council, get me perspectives on this, should I do X, stress-test this decision, or is this a good idea.

tderoussel/fleet-brief

Authors a workstream brief for dispatching multiple parallel build agents across one codebase, with per-lane file ownership, shared-ground warnings, and a derived DO-NOT list. Use whenever work is about to be split across concurrent agents, workers, lanes, or waves — even if the user does not say "write a brief". Trigger phrases include "fan out", "parallel agents", "orchestrate this", "split into lanes", "workstreams", "run these in parallel", "review-gated build". Produces the brief; does not dispatch.

tderoussel/inbox-triage

Triage an email inbox — sort what needs a reply, draft the replies, flag what needs a decision, and surface what can be ignored or unsubscribed. Use when the user says triage my inbox, do my email, what's in my inbox, or clean up my email.

tderoussel/session-log

Write a durable record of a work session — what was built, root-caused, or shipped — into the project's notes. Use when the user says log this session, write a session log, record this, or when a substantial piece of work has just finished and needs to be handed off to a future session.

tderoussel/ship-gate

Verification gate for a Next.js-on-Vercel + Supabase + GitHub Actions stack, to run before claiming anything is shipped, deployed, live, merged, passing, or done. Use before saying a change is in production, before merging a PR, before reporting CI green, and before writing any status into a document — even if the user does not ask for verification. Trigger phrases include "is it live", "did it deploy", "ship it", "merge it", "is CI green", "confirm prod", "did that work". Encodes traps where the obvious check returns a false pass.

tderoussel/vault-doctor

Audits and repairs an Obsidian vault's structural health — broken [[wikilinks]], ambiguous duplicate filenames, missing or malformed frontmatter, stale status markers, and hub notes whose state sections have gone cold. Use when the user asks about vault health, broken links, vault cleanup, dead links, orphan notes, tag consistency, or says the vault feels messy or out of date. Trigger phrases include "vault health", "broken links", "clean up the vault", "audit the vault", "is the vault current". Read-only by default; every repair is proposed before it is made.

相关技能