← Kis feladat adatlapja
Nézd meg, miben segít
Technikai kísérletek lehatárolása
Kis, időhatáros kísérletet definiál, ha fontos döntés valóban ismeretlen technikai ténytől függ.
technical-spike-scoping
Ezt a skillt használó ügynökök
Mikor hasznos?
Akkor használd, ha kód és leírás nem oldja fel a drága tévedés kockázatát.
Miben segít neked?
- Egy cáfolható kérdést és minimális prototípust határoz meg.
- Mérés előtt rögzíti a döntési küszöböt.
- Leírja az eredményt és a próbakód további sorsát.
Például ezt kérheted
Határold le a helyi keresés próbáját várható dokumentumszámmal és másik index szükségességét eldöntő küszöbbel. Időkeretben futtass reprezentatív kereséseket a várható mennyiségen. Előre rögzített küszöb alapján dönts, és írd le a próbakód további sorsát.
Részletes dokumentáció
Itt a skill eredeti útmutatóját, példáit és ellenőrzési szempontjait olvashatod az eredeti nyelven.
Összecsukás
Technical Spike Scoping
Use this skill when a design decision is blocked by genuine technical uncertainty (e.g., third-party API behavior, library compatibility, or a performance hypothesis) so the team runs a fast, bounded experiment instead of debating in the abstract or over-building on assumptions.
When to Propose a Spike
- Propose a spike when: An important architectural or scope choice depends on an unknown fact that cannot be answered by reading existing code or documentation in 15 minutes, and guessing wrong would cause a costly rework.
- Do NOT propose a spike when: The behavior is already known in the codebase, or the decision is a reversible two-way door where building the simple version directly is faster than running a separate experiment.
Spike Design Contract
Every technical spike must define four elements upfront:
- Single falsifiable question:
- State the exact question the spike must answer (e.g., "Can SQLite FTS5 index and query 200k project documents under 30 ms p95 on a local disk without an external search server?").
- Strict boundary and minimal setup:
- Specify the smallest script, test, or isolated prototype needed to answer the question.
- Do not build production UI, full CRUD layers, or polished abstractions inside a spike.
- Pass / Fail decision threshold:
- Define before running the spike what measurement or result selects Path A (Simple) vs. Path B (Alternative):
- If p95 < 30 ms and index size < 250 MB -> use built-in SQLite FTS5.
- If p95 >= 30 ms -> evaluate dedicated search index.
- Define before running the spike what measurement or result selects Path A (Simple) vs. Path B (Alternative):
- Cleanup & disposition rule:
- Record the measured finding in the work item or decision note, delete throwaway prototype code (or extract only the verified core with proper tests), and immediately proceed with the chosen path.
Anti-Patterns to Avoid
- Open-ended "research tasks" with no exit criteria: Spikes without a concrete question and pass/fail threshold turn into multi-day wandering.
- Merging unverified spike hacks directly into production: A spike proves feasibility; production commits still require clean boundaries, error handling, and tests.
- Running a spike to delay a straightforward decision: Never use a spike as a polite way to avoid cutting unnecessary scope.
Csomagban lévő fájlok 1
SKILL.md
