[Preset]: Add OKR Bet Spec Section
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 新手友好度
- 15/100
- Issue 類型
- 功能
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- markdown, yaml
- 領域
- tooling
研究方向
This is a catalog submission for a preset, not a code change: the payload names preset.yml, spec-template.md, speckit.specify.md and a README with an install command. A reviewer would check that the manifest is valid, the README install command works, and the templates apply as described. Done means a maintainer decision on the catalog entry, so a first-time contributor should expect to wait on review rather than write code.
由索引模型根據 Issue 內容生成。
描述
Preset ID
okr-bet
Preset Name
OKR Bet Spec Section
Version
0.2.1
Description
Adds a Hypothesis & Bet section (with the bet's verification contract) to every spec and teaches /speckit.specify to fill it from an okr:/H-n bet. Companion of the okr extension.
Author
juanl
Repository URL
https://github.com/juanl/spec-kit-okr
Download URL
https://github.com/juanl/spec-kit-okr/releases/download/v0.2.1/spec-kit-okr-bet-preset-0.2.1.zip
Documentation URL
https://github.com/juanl/spec-kit-okr/blob/v0.2.1/README.md#install
License
MIT
Required Spec Kit Version
=0.9.0
Required Extensions (optional)
okr (recommended companion: the preset reads the bet file the extension writes; without an okr: token in the feature description it removes the section, so specs without a bet are unchanged)
Templates Provided
- spec-template.md — appends a Hypothesis & Bet section: bet link, hypothesis, KR moved, refutation criterion, validation slice, gated scale stories, guardrails, and the verification contract table (strategy: append)
Commands Provided
- speckit.specify.md — appended instructions: when the description has an
okr:<team>/H-ntoken, fill the section from the bet file, copy the verification contract, make P1 the validation slice, tag success criteria with contract IDs, and add requirements for numbers that cannot be measured yet (strategy: append)
Number of Scripts (optional)
Tags
okr, hypothesis, spec-template, metrics
Key Features
- Composes with any spec template and
/speckit.specify(bothappend), so it replaces nothing - Every spec states the hypothesis it tests, the KR it should move, and what would refute it
- The bet's verification contract is copied into the spec, so success criteria reference the same numbers and thresholds the post-launch review reads
- P1 is written as the validation slice; scale stories are marked as built only if the hypothesis is validated
- Numbers that cannot be read yet (
instrument,blocked,unknown) become functional requirements or dependencies in the validation slice - Specs without an
okr:token come out exactly as before (the section is removed) - Enabling work (
okr:<team>/enabling:<id>) gets a short "Protects" statement instead of a hypothesis
Testing Checklist
- Preset installs successfully via
specify preset add - Template resolution works correctly after installation
- Documentation is complete and accurate
- Tested on at least one real project
Submission Requirements
- Valid
preset.ymlmanifest included - Linked README (Documentation URL) explains how to use this preset and includes a valid
specify preset add ...command (preferablyspecify preset add --from <download-url>using the exact download URL) - LICENSE file included
- GitHub release created with version tag
- Preset ID follows naming conventions (lowercase-with-hyphens)
Testing Details
- Installed with
specify preset add --from <download URL>in a fresh Spec Kit 0.16.2 project (macOS), and with--devin CI (Ubuntu);specify preset resolve spec-templateshows the okr-bet layer, and the generatedspeckit-specifyskill includes the appended instructions - Used with the okr extension on the repo example and on a private project with a real team's bet:
/speckit.specify okr:<team>/H-1 …produced the section with the contract, P1 as the validation slice, and success criteria tagged to contract IDs
Additional Context
Submitted together with the okr extension: #5408.
- 主要語言
- Python
- 星號
- 149k
- 分支
- 13.4k
- 平均合併
- 1 天 5 小時
- 30 天內合併 PR
- 223
環境準備
在瀏覽器裡用你自己的 GitHub 帳號啟動這個專案的開發容器。
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
github/spec-kit 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 68/100
維護者通常 1 天內回覆
-
triage-must-have
難度 1/5 1 小時以內 新手友好度 78/100
維護者通常 1 天內回覆
-
Workflow-step verifier test fixture breaks when the checkout path contains whitespace (4 failures on macOS)可能已有人在做 @mehdikarimi55 於 3 天前認領。 未關閉triage-can-wait
難度 2/5 1-3 小時 新手友好度 83/100
維護者通常 1 天內回覆
-
Parity tests fail under the documented direct pytest invocation when the ambient python3 lacks PyYAML (11 failures)可能已有人在做 @mehdikarimi55 於 3 天前認領。 未關閉triage-must-have
難度 2/5 1-3 小時 新手友好度 82/100
維護者通常 1 天內回覆
-
bug triage-out-of-scope
難度 2/5 1-3 小時 新手友好度 64/100
維護者通常 1 天內回覆
相似的 Issue
-
bug
難度 2/5 1-3 小時 新手友好度 80/100
glossyio/traffic-monitor#312 ·
維護者通常 1 天內回覆
-
documentation enhancement
難度 2/5 1-3 小時 新手友好度 76/100
es-ude/elastic-ai.creator#1046 ·
維護者通常 3 天內回覆
-
feature request
難度 2/5 1-3 小時 新手友好度 65/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
confident-ai/deepteam#306 ·
維護者通常 1 天內回覆
-
SslLibrary crashes with unhandled OSError: port/proto not found on non-standard SSL ports可能已有人在做 @himanchalkaushale 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 82/100
OWASP/Nettacker#1884 · 1 則留言 ·
維護者通常 1 天內回覆