Skip to main content

spec-first

Write the goal spec on disk before the agent acts, so it can't drift. Use before any multi-step task.

Quellinformationen

Repository
Archive228/loopkit
Letzte Quellaktivität
29. Juni 2026 um 22:25
Erkannte Sprache von SKILL.md
Englisch
Sterne
757
Forks
124

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
name
spec-first
description
Write the goal spec on disk before the agent acts, so it can't drift. Use before any multi-step task.
when_to_use
a task with more than 2 steps, a long-running job, "build X", agent drifting
# Spec First Without an external contract, the agent drifts after ~3 iterations — and the failure looks like progress (code written, tests pass, wrong goal solved). Write `PROMPT.md` BEFORE acting: - **Goal** — one sentence. - **Done when** — concrete, checkable conditions. "Test suite green: <cmd>". - **Never touch** — files/areas off-limits. - **Stop if** — more than N files outside scope change; a passing test starts failing. The agent re-reads this file every iteration. State (what's done) goes in a separate `IMPLEMENTATION_PLAN.md` it updates in place. If you can't write "done when" concretely, the task isn't ready — clarify before coding.
Auf GitHub ansehen