Files
computer-playbook/docs/contributing/tools/agents/cheatsheet.md
T
kevinveenbirkenbachandClaude Opus 4.8 f08d71534a feat(tooling): operator alias, shortcut, skill, cheat and onboard system
Add the i8* terminal aliases (make install-alias) and ai8* agent
conversation shortcuts (docs/.../agents/alias.md), move skill
distribution to the external INFINITO_SKILLS_REPOSITORY (make
install-skills), and add make cheat, make alias and make onboard. Introduce
custom.env operator overrides (win over defaults and handlers) and pin
INFINITO_ALIAS_MD / INFINITO_ALIAS_REPOSITORY / INFINITO_SKILLS_REPOSITORY
in default.env. Drop the in-repo skills-lock.json and its update-skills CI
job. AGENTS.md instructs agents to suggest the matching cli/prompt alias
when an operator writes something an alias covers. Lints enforce alias
sorting, i8/ai8 prefixes, no consonant clusters, full make-target
coverage, and terminal/agent shortcut non-overlap.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-10 18:43:35 +02:00

11 KiB

Cheatsheet 📋

Copy-paste prompt templates the operator can hand to an agent to kick off a workflow. Each prompt routes the agent to its authoritative procedure file; this page is a navigational aid only and MUST NOT be treated as source of truth.

Replace every <placeholder> before sending.

Every prompt below instructs the agent to first clarify all open requirements through active listening, then act autonomously through to completion with as few follow-up questions as possible.

Selection Matrix 🧭

Situation Use
Building a new feature, app, or larger change Development
Fixing or evolving a single web app role with the deploy/test loop Web Development Iteration
Validating or debugging one or more roles (or every app) across both deploy modes, compose then swarm Cross-Mode Roundtrip
Iterating on svc-runner or the self-hosted runner infrastructure Runner Iteration
Running or validating tests for a specific scope Testing
Writing or updating a Playwright spec for a web-* role Playwright Tests
Cleaning up code, docs, or roles after a change Refactor and Optimize
A GitHub Actions / CI run failed and needs triage Pipeline Debugging
A local deploy is failing on the host Local Deploy Debugging
Operator placed a *.log or *job-logs.txt file in the workdir for ad-hoc inspection Log File Inspection
Staged changes are ready to be committed Commit
A branch is ready to be opened as a pull request Pull Request Creation
A branch needs to be pushed, validated via manual CI, and transitioned through the draft → ready-for-review cycle Push, Trigger, Pull
A new requirement needs to be written Requirement Creation
An existing requirement file needs to be implemented end to end Requirement Implementation

Development 🧱

For any change with a documented acceptance scope, Requirement Implementation is the preferred entry point; use this prompt only when no requirement file exists or applies.

Follow the instructions from AGENTS.md, develop <feature-or-app> by following the procedure in docs/agents/action/develop.md. Begin by clarifying every open requirement through active listening, then act autonomously through to completion with as few follow-up questions as possible.

SPOT: develop.md

Web Development Iteration 🔁

For any change with a documented acceptance scope, Requirement Implementation is the preferred entry point; use this prompt only when no requirement file exists or applies.

Follow the instructions from AGENTS.md, iterate on web app role <role> across BOTH deploy modes, compose and swarm, using the infinito-iteration-compose skill for compose and the infinito-iteration-swarm skill for swarm. Begin by clarifying every open requirement through active listening, then act autonomously through to completion with as few follow-up questions as possible. For every failing Playwright test, follow the mode's iteration skill together with the infinito-iteration-playwright skill. Before every compose redeploy you MUST run `make compose-exec` and `make compose-inner-run` against the live stack and fully fix and inspect every failure in the container. Before every swarm redeploy you MUST reproduce the failure on the live cluster via `make swarm-exec` / `make swarm-shell`, walk the fix path, and reach at least 95% confidence the fix actually fixes it before rebuilding, then release the cluster with `make swarm-down`; when swarm blocks (e.g. NFS wedge) recover with `make swarm-clean` and never fall back to a compose-only sweep. A new deploy iteration MUST NOT start until every error is resolved and the fix has been empirically verified in-container. You MUST NOT use any commit command, push command, or any command that would require an `ask`-mode approval. You MUST NOT stop the iteration early under any circumstance. Premature termination is explicitly forbidden. The iteration is finished only when the role is green end-to-end in compose AND swarm.

SPOT: Compose Loop, Swarm Loop

Cross-Mode Roundtrip 🔄

Follow the instructions from AGENTS.md, then roundtrip-validate every role compose then swarm using the infinito-iteration-roundtrip skill. Drive it with `make roundtrip` with no apps to sweep every application in complexity order. Act autonomously, no questions. On failure: read `${TMPDIR:-/tmp}/roundtrip-<app>-<mode>.log`, drop into the focused skill (infinito-iteration-compose for compose, infinito-iteration-swarm for swarm). Before any redeploy you MUST fully resolve every failure through in-container inspection and reach at least 95% confidence that your fix actually fixes it; the other deploy mode MAY be brought up in parallel for comparison and inspection when it helps. Apply the real fix in the repo, then re-run. You MUST NOT run any commit, push, or `ask`-approval command. You MUST NOT stop early. Every 15 minutes you MUST verify the container is still running and not hanging. Done only when every role is green in compose AND swarm.

SPOT: Roundtrip Loop

Testing ✅

Follow the instructions from AGENTS.md, run and validate tests for <scope> by following the procedure in docs/agents/action/testing.md. Begin by clarifying every open requirement through active listening, then act autonomously through to completion with as few follow-up questions as possible.

SPOT: testing.md

Playwright Tests 🎭

Follow the instructions from AGENTS.md, write or update the Playwright test for role <role> using the infinito-iteration-playwright skill. Begin by clarifying every open requirement through active listening, then act autonomously through to completion with as few follow-up questions as possible. Ask upfront whether to scope changes to the Playwright files only or also to any other files that cause the tests to fail.

SPOT: playwright.md

Refactor and Optimize ♻️

Follow the instructions from AGENTS.md, refactor and optimize the affected files by following the procedure in docs/agents/action/refactor.md. Begin by clarifying every open requirement through active listening, then act autonomously through to completion with as few follow-up questions as possible.

SPOT: refactor.md

Pipeline Debugging 🛠️

Follow the instructions from AGENTS.md, triage the failing CI run at <github-actions-run-url> by following the procedure in docs/agents/action/debug/ci.md. Act autonomously, no questions. While the run is still in progress, poll it every 15 minutes and download the logs and artefacts of every newly failed job as it appears. For each failure, inspect logs, artefacts, and repository code until you are at least 99% certain of the root cause, then apply the real fix in the repository. You MUST NOT run any commit, push, or `ask`-approval command. You MUST NOT stop early. Done only when the CI run has finished and every failure has a verified fix.

SPOT: ci.md

Local Deploy Debugging 🧰

Follow the instructions from AGENTS.md, debug the failing local deploy of role <role> by following the procedure in docs/agents/action/debug/local.md. Begin by clarifying every open requirement through active listening, then act autonomously through to completion with as few follow-up questions as possible.

SPOT: local.md

Log File Inspection 🔍

Follow the instructions from AGENTS.md, inspect the log file <path-to-log> by following the procedure in docs/agents/action/debug/log.md. Begin by clarifying every open requirement through active listening, then act autonomously through to completion with as few follow-up questions as possible.

SPOT: log.md

Commit 💾

Follow the instructions from AGENTS.md, commit the staged changes by following the procedure in docs/agents/action/commit.md. Begin by clarifying every open requirement through active listening, then act autonomously through to completion with as few follow-up questions as possible.

SPOT: commit.md

Pull Request Creation 📤

Follow the instructions from AGENTS.md, open a pull request for the current branch by following the procedure in docs/agents/action/pull-request.md. Begin by clarifying every open requirement through active listening, then act autonomously through to completion with as few follow-up questions as possible.

SPOT: pull-request.md

Push, Trigger, Pull 📡

Follow the instructions from AGENTS.md, push branch <branch>, run it through the manual-CI draft cycle, and transition the PR to ready-for-review by following the procedure in docs/agents/action/push-trigger-pull.md. Begin by clarifying every open requirement through active listening, then act autonomously through to completion with as few follow-up questions as possible.

SPOT: push-trigger-pull.md

Requirement Creation ✍️

Follow the instructions from AGENTS.md, create a new requirement for <topic> by following the procedure in docs/contributing/requirements.md. Begin by clarifying every open requirement through active listening, then act autonomously through to completion with as few follow-up questions as possible. Before every redeploy you MUST run `make compose-exec` and `make compose-inner-run` against the live stack and fully fix and inspect every failure in the container. A new deploy iteration MUST NOT start until every error is resolved and the fix has been empirically verified in-container. You MUST NOT use any commit command, push command, or any command that would require an `ask`-mode approval. You MUST NOT stop the iteration early under any circumstance. Premature termination is explicitly forbidden. The iteration is finished only when every role is green end-to-end.

SPOT: requirements.md

Requirement Implementation 🚀

If no requirement file exists yet for the work, run Requirement Creation first to produce one.

Follow the instructions from AGENTS.md, implement requirement docs/requirements/<NNN-topic>.md by following the procedure in docs/agents/action/requirements.md. Begin by clarifying every open requirement through active listening, then act autonomously through to completion with as few follow-up questions as possible.

SPOT: requirements.md