No. 040 Ship it

Write a GitHub Actions workflow that {steps} on every push…

Use when the change has to leave the machine

  • Claude Code
  • Codex
  • Cursor
  • Ship it

Prompt

write a GitHub Actions workflow that {steps} on every push to {branch}

When to use

“Write a GitHub Actions workflow that {steps} on every push…” fits when the change has to leave the machine, because it says “write a GitHub Actions workflow that {steps} on every push to {branch}”, after you replace {steps}, {branch} with names from the repo.

One filled message for “Write a GitHub Actions workflow that {steps} on every push…” is: write a GitHub Actions workflow that install, test, and build on every push to the cart-total branch

When not to use

Leave “Write a GitHub Actions workflow that {steps} on every push…” unused when the change is still a local question and nothing is ready to ship, because “write a GitHub Actions workflow that {steps} on every push to {branch}” points the other way

How to run it

Claude Code

Claude Code takes “Write a GitHub Actions workflow that {steps} on every push…” as one paste at the repo root. Do not also save .claude/commands, or “write a GitHub Actions workflow that {steps} on every push to {branch}” replays on the next task.

Codex

Codex takes “Write a GitHub Actions workflow that {steps} on every push…” as a paste above the task. Leave AGENTS.md unchanged so the next thread does not inherit “write a GitHub Actions workflow that {steps} on every push to {branch}”.

Cursor

Cursor should see “Write a GitHub Actions workflow that {steps} on every push…” only as a chat paste of “write a GitHub Actions workflow that {steps} on every push to {branch}” for this turn. A file at .cursor/rules would keep applying after the turn ends.

Comparison

对比待补

This before-and-after was not run on this machine.

Related

来源:Anthropic · https://code.claude.com/docs/en/prompt-library · 2026-12-01