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.

Published catalogYayın kataloğu68 verified releaseskatalog yayını142 MIT artifactsMIT kaynak
GitHub ↗JSON ↗LLMs.txt ↗

Extract a reusable lesson

MIT source draftMIT kaynak taslağı

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.

VersionSürüm
0.1.0-draft
MaturityOlgunluk
drafttaslak
LicenseLisans
MIT
AuthorsYazarlar
Mete Avcı, Me the Tech
VerificationDoğrulama
partial (L1/L2 contract · L3–L5 pending)kısmi (L1/L2 sözleşme · L3–L5 bekliyor)
Disclosure classYayın sınıfı
PUBLIC-PRACTICE

extract-reusable-lesson.md

markdown29 linessatır1.6 KB

SHA-256 · ee0dbf6b4e8f…GitHub ↗

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.

MIT · Exact native bytes from methetech/feed · Copy or download does not install a multi-file package.

MIT · methetech/feed deposundaki birebir dosya · Kopyalama veya indirme çok dosyalı bir paketi kurmaz.

Try it yourself (Feed Labs)Kendi ajanında dene (Feed Labs)

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-lesson

Usage guideKullanım rehberi

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.

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.

Trust summary

  • License: MIT
  • Executable scripts: None
  • Network / credential access required: No
  • External dependencies: None
  • Use side effects: Advisory / declarative contract only
  • Verification: partial (Level 1–2 structural and contract validation; blinded runtime and paired baseline evaluation pending)

How to use

  1. Open extract-reusable-lesson.md. Integrate the native artifact directly into your assistant workflow or project review process.
  2. Provide the verified incident summary, root mechanism, and fix applied. Ask the assistant to strip transient paths and choose the lowest-maintenance responsible layer — explicitly considering deterministic code/tests first and "no persistent artifact needed" as a valid outcome.
  3. Review the companion conformance suite and record concrete outcomes for your environment.

Example

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.

Known limitations

Prevents reflex rule-appending only when callers reject generic prose and accept code-first fixes or non-creation recommendations.

Frequently asked questionsSık sorulan sorular

Why is "no persistent artifact needed" an explicit valid output?

Turning every one-off incident into a global prompt rule causes context bloat, instruction conflicts, and slower future sessions.

What goes before prose in the priority hierarchy?

Deterministic types, schema validators, linters, and automated tests sit above docs and agent guidance because code enforces invariants mechanically.

Is this prompt verified and open source?

It is MIT-licensed and currently partial (L1/L2 structural/contract checks; runtime lift tests pending). See registry entry.

CompatibilityUyumluluk

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.

Declared effectsBeyan edilen etkiler

ExecutableÇalıştırılabilir
NoHayır
Network accessAğ erişimi
NoHayır
Filesystem writesDosya yazma
NoHayır

Verification evidenceDoğrulama kanıtı

  • [L1/L2 structural & contract] tests/test_strategic_revision_verification.py binds the 0.1.0-draft prompt contract to its required clauses and synthetic conformance suite; scripts/check_publication_readiness.py and scripts/check_readme_integrity.py pass. Blinded runtime and paired baseline evaluations (L3-L5) have not yet been recorded.

ProvenanceKaynak geçmişi

originalOrijinal Original clean-room public engineering practice re-authored from general software methodology and verification principles; no private implementation source is embedded.

Related artifactsİlgili kaynaklar