Reduce repetitive agent work ↗
Identify repetitive, deterministic agent work that should graduate into verifiable scripts, schemas, or checks — while keeping open-ended judgment flexible, eliminating ritual busywork, and retiring brittle rules.
FeedAkış
Open, portable, evidence-driven resources for AI agents. Inspect the source, check the verification level, and adopt only what earns its place.
Yapay zekâ ajanları için açık, taşınabilir ve kanıt odaklı kaynaklar. Kaynağı incele, doğrulama seviyesini gör ve yalnızca işine yarayanı kullan.
Decide after solving an incident or bottleneck whether the durable fix belongs in code/tests, focused docs, a narrow portable artifact, or nowhere at all.
Family: Prompt
Disclosure class: PUBLIC-PRACTICE
Maturity: Draft
Use this prompt after solving a tricky bug, incident, or workflow bottleneck to decide whether the lesson belongs in code, a test, a small doc update, a reusable artifact — or nowhere at all.
Analyze the completed task or incident and extract only durable, generalizable engineering lessons.
Return:
Rules:
# Extract a reusable lesson
**Family:** Prompt
**Disclosure class:** `PUBLIC-PRACTICE`
**Maturity:** Draft
Use this prompt after solving a tricky bug, incident, or workflow bottleneck to decide whether the lesson belongs in code, a test, a small doc update, a reusable artifact — or nowhere at all.
## Prompt
Analyze the completed task or incident and extract only durable, generalizable engineering lessons.
Return:
1. **Observed failure mode or friction** — what concretely went wrong or cost unnecessary effort, backed by actual evidence.
2. **Root mechanism** — the general underlying cause stripped of one-off file paths, transient names, and incident noise.
3. **Best responsible layer** — choose the lowest-maintenance place to fix or prevent recurrence:
- deterministic code, type/schema contract, or automated test (preferred whenever mechanical);
- focused project documentation or runbook update;
- narrow reusable Skill, rule, prompt, or conformance eval;
- **no persistent artifact needed** (one-off incident; do not bloat instructions).
4. **Draft boundary (if an artifact is justified)** — exact *When to use*, *When not to use*, and one synthetic test case that falsifies the failure mode.
5. **Privacy and generalization check** — confirm no private identifiers, secrets, personal preferences, or one-project workarounds are being over-generalized into global guidance.
Rules:
- Never solve every one-off mistake by appending a new global rule.
- Prefer fixing mechanical failures at the mechanical layer before writing prose instructions.
Export blinded scenarios without descriptive IDs or expected answers, then compare your assistant without vs. with this artifact loaded:
Açıklayıcı kimlikler ve beklenen cevaplar gizlenmiş kör senaryoları dışa aktarıp kendi asistanında bu kaynak olmadan ve bu kaynakla karşılaştırma yap:
python -B scripts/eval_review.py --blind extract-reusable-lessonDecide after solving an incident or bottleneck whether the durable fix belongs in code/tests, focused docs, a narrow portable artifact, or nowhere at all.
Best for: Post-incident learning and avoiding instruction bloat when turning tricky debugging sessions into lasting fixes. When not to use: Do not invoke after trivial, self-explanatory fixes where adding documentation or rules creates pure noise. Status: Source draft, not a supported catalog release.
partial (Level 1–2 structural and contract validation; blinded runtime and paired baseline evaluation pending)After diagnosing a stale cache bug caused by unquoted glob patterns in a build script, the prompt routes the fix into a unit test and a fail-closed script check rather than appending another prose rule to global instructions.
Prevents reflex rule-appending only when callers reject generic prose and accept code-first fixes or non-creation recommendations.
Turning every one-off incident into a global prompt rule causes context bloat, instruction conflicts, and slower future sessions.
Deterministic types, schema validators, linters, and automated tests sit above docs and agent guidance because code enforces invariants mechanically.
It is MIT-licensed and currently partial (L1/L2 structural/contract checks; runtime lift tests pending). See registry entry.
No runtime-specific compatibility evidence is declared. Treat this artifact as a declarative specification whose enforcement depends on the consuming runtime.
Çalışma ortamına özgü uyumluluk kanıtı beyan edilmemiş. Bu kaynağı, uygulaması kullanan çalışma ortamına bağlı bir deklaratif sözleşme olarak değerlendirin.
Original clean-room public engineering practice re-authored from general software methodology and verification principles; no private implementation source is embedded.