promote
Review drafts — list, promote to wiki/, or reject
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 9
- Forks
- 6
01 前言 Front Matter
- description
- Review drafts — list, promote to wiki/, or reject
03 SKILL.md 正文
/promote — Draft Review & Promotion
Purpose
List drafts in drafts/, let user review, promote accepted ones to wiki/ or reject.
Steps
- List drafts —
oks drafts list - Read the exact Candidate —
oks drafts get <slug> - For each draft — Show content, ask:
promote,reject, oredit - Promote —
oks drafts promote <slug>(optionally with--title,--type,--area,--slug-hint, repeated--tag) - Reject —
oks drafts reject <slug>(confirm first; the Candidate leaves the pending queue) - Edit — Open for editing, then promote or reject
Rules
-
Promoted pages get
status: activeandhuman_reviewed_at. Human approval records the review; it does not automatically raise the draft's confidence. -
Preserve the draft's
importanceandconfidence, including explicit0. Both fields must be YAML numbers in[0, 1]; invalid values stop promotion and leave the draft intact. When omitted, new pages default toimportance: 0.7andconfidence: 0.8for compatibility with older drafts. -
When the body matches an existing Wiki page, promotion reuses that page and records the review. An explicit draft
confidencereplaces the existing assessment without a reconfirmation boost. Without that field, the existing reconfirmation rule applies. -
Require explicit
draft_typeanddraft_area, or review overrides--typeand--area. Use canonical domains fromoks wiki domains. Missing or unknown classification stops promotion and leaves the Candidate intact. -
A matching body with a different domain or type is a classification conflict. Review the existing page explicitly; the Candidate is not consumed.
-
Source material (
content_role: source_material, including legacysource_type: local-ocr-import) cannot promote directly. Keep OCR in Raw; distill a separate Candidate with evidence references for human review. -
If a draft carries a
source_note(human intake comment), promote copies it verbatim onto the wiki page ashuman_note— the human's judgement survives. -
Rejected drafts leave the pending queue; OKS preserves a review receipt under
drafts/rejected/ -
Always confirm before rejecting
04 同仓库更多 Skills
yt-dlp
暂无简介
trafilatura
暂无简介
text-read
暂无简介
remote-asr
暂无简介
rapidocr
暂无简介
pdf-lite
暂无简介