normalization-atomicity
Use when persisting rewards_box or any data structure to Firestore. ALL paths (streaming/polling/passthrough) must canonicalize before writing.
- License 许可
- MIT
- 最近更新
- 2026-11-11
- Stars
- ★ 6
- Forks
- 0
01 前言 Front Matter
- name
- normalization-atomicity
- description
- Use when persisting rewards_box or any data structure to Firestore. ALL paths (streaming/polling/passthrough) must canonicalize before writing.
03 SKILL.md 正文
Normalization atomicity — all persisted data must be canonicalized
Any value written to Firestore (or any persistent store) must pass through its canonicalizer before persistence — regardless of which execution path performs the write.
Specific case: rewards_box dicts written to Firestore must pass through normalize_rewards_box_for_ui() (or rewards_engine.canonicalize_rewards()) before being stored. "Passthrough", "passthru", and "passthrough" path names are semantically misleading — they imply no transformation but persistence requires canonicalization.
Correct pattern:
- Streaming path →
llm_parser.py→ callscanonicalize_rewards()→ normalized output persisted - Polling path →
project_level_up_ui()→ normalized output stored - Passthrough path → must still call
normalize_rewards_box_for_ui()before persisting
Why: PR #6265 fixed the passthrough branch when _has_level_up_ui_signal was False — the raw LLM rewards_box was returned without normalization. A path labeled "passthrough" does not mean "skip normalization."
04 同仓库更多 Skills
instinct
Use when the user invokes /instinct or /in, or asks to "message Instinct", "ask Instinct", "tell Instinct", "check Instinct", or read replies from the configured peer assistant. iMessage first, WhatsApp Web as fallback.
hr
Compatibility alias for history-resume; produce the same fresh-state, provenance-aware resume briefing.
history-resume
Resume briefing for the current repository branch or worktree using fresh state and admitted history sources.
grok
Alias for the canonical grokbot browser conversation workflow; /grok talks to the Grok bot the same way /dot talks to Dot.
codexa-bench
Compare `codexa` and normal `codex` on a fair split of comparable work by default; use `--strict` for duplicate runs of the exact same task.
frontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.