bug-reproduce
Turn a known bug into a tight, red-capable reproducer, then prove the reproducer locks that…
Draft and track a strategic OKR charter — turn a human's plain-language goal into ONE Objective + 2-5 measurable Key Results, link existing tasks, and route the commit to a human sponsor. Use whenever the user wants to set a strategic goal / OKR / objective, "立个 OKR", or "把 X 推到
$ npx -y skills add Prismer-AI/PrismerCloud --skill okr --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/okrContext preview
The summary Claude sees to decide when to auto-load this skill.
Draft and track a strategic OKR charter — turn a human's plain-language goal into ONE Objective + 2-5 measurable Key Results, link existing tasks, and route the commit to a human sponsor. Use whenever the user wants to set a strategic goal / OKR / objective, "立个 OKR", or "把 X 推到
name: okr scope: persistence description: Draft and track a strategic OKR charter — turn a human's plain-language goal into ONE Objective + 2-5 measurable Key Results, link existing tasks, and route the commit to a human sponsor. Use whenever the user wants to set a strategic goal / OKR / objective, "立个 OKR", or "把 X 推到 GA". Executes via the `cloud okr` CLI.
Use this skill to **draft an OKR charter** from a human's goal: one Objective, 2-5 Key Results, each with a baseline→target and a *real* evidence source, plus links to the tasks that move them. Every operation goes through the `cloud okr` CLI — never tell the user an objective was created / committed / scored unless the command actually returned an id and state.
You **draft and propose**. The human **commits**. That split is the whole point of this skill (see ⛔ hard rules).
If the request is a single tactical deliverable ("review this PR", "write the report"), that's the `tasks` skill, not this one. Strategic outcome → here; tactical card under an existing objective → `tasks` with the KR link.
From a human's plain-language goal, draft **ONE Objective + 2-5 Key Results**. Before drafting, ask for whatever is missing:
Then:
1. **Draft the objective** (agent proposes — it is NOT yet committed):
cloud okr objective create \
--workspace "$PRISMER_WORKSPACE_ID" \
--title "Search is GA-ready" \
--type committed \
--narrative "Definition of done: search ships to all users with p95 < 300ms and zero P0s." \
--cycle 2026-Q3 \
--owner <imUserId> \
--sponsor <human imUserId>2. **Propose each KR** with baseline/target/unit/direction/weight + an evidence policy:
# metric-backed KR (bound to a real IMMetricEvent stream)
cloud okr kr add <objectiveId> \
--title "p95 search latency under 300ms" \
--type metric --baseline 480 --target 300 --unit ms --direction decrease --weight 2 \
--metric-namespace search.latency --metric-name p95 --metric-agg last \
--evidence "IMMetricEvent search.latency:p95, last value per cycle"
# task-backed KR (progress = linked tasks that pass acceptance)
cloud okr kr add <objectiveId> \
--title "Ship 4 launch-blocker fixes" \
--type task --baseline 0 --target 4 --direction increase \
--evidence "count of linked tasks with passing acceptance"3. **Link existing tasks** to the KR they serve (don't create unscoped strategic tasks):
cloud okr link <objectiveId> <keyResultId> <taskId>
4. **STOP and hand the commit to the human sponsor.** Print the objective id + KR ids and say: *"Charter drafted. @<sponsor> (human) — review and `cloud okr objective commit <id>` when you approve."* Do **not** commit it yourself.
These are enforced server-side; violating them returns a `403` you cannot work around.
1. **NEVER commit an objective yourself.** `cloud okr objective commit` requires a **human sponsor**; an agent caller gets `AGENT_CANNOT_COMMIT`. Your job ends at *draft + propose*. Surface the objective and ask the human sponsor to commit. 2. **A `committed`-type objective REQUIRES a human/admin sponsor** (`--sponsor <human imUserId>`). Without one, commit returns `SPONSOR_MUST_BE_HUMAN`. An `aspirational` objective may skip the sponsor. 3. **NEVER score a `qualitative` KR without an explicit, human-confirmed value + evidence.** Use `cloud okr kr recompute <krId> --value <n> --evidence <ref>` and only with a value the human actually gave you. Metric/task KRs recompute from their real source automatically — don't hand-feed numbers there. 4. **Bind KRs ONLY to today's sources** — task acceptance, IMMetricEvent metric binding, or human-confirm. Do **NOT** invent token/spend/credit targets, CRM pipelines, or analytics metrics — those data sources do not exist (FROZEN). A KR whose evidence you can't name is not a KR; ask the human how it will be measured. 5. **Do NOT create unscoped strategic tasks.** Tactical work for an objective is an existing task **linked to a KR** via `cloud okr link`. If strategic work has no task yet, draft the objective/KR first, then create the task (via the `tasks` skill) and link it.
After an objective is committed it runs through `committed → graded → archived`:
Repo: Prismer-AI/PrismerCloud
Turn a known bug into a tight, red-capable reproducer, then prove the reproducer locks that…
Review a diff against its acceptance criteria in four segments (convention adherence, bug…
Five-dimension design audit (frontend UI/UX · server data-model & flow · endpoint spec ·…
Before merge, mechanize Documentation-First — derive the code delta from git diff, then…
Diagnose the local dev machine before any APC loop step — run apc env doctor, classify each…
Close out a local coding task on the bound daemon — stage, commit, branch, merge, push via…