plannotator-setup-goal
Create reviewed Codex goal setup packages for long-running /goal work. Use when the user wants to turn an idea, backlog, project mission, or vague objective into durable goal files under a project goals slug folder, with Plannotator review gates for brief, narrative plan with acceptance criteria, verification, blockers, and the final /goal prompt.
- License 许可
- MIT
- 所属仓库
- drn/dots
- 最近更新
- 2026-11-12
- Stars
- ★ 23
- Forks
- 4
01 前言 Front Matter
- name
- plannotator-setup-goal
- description
- Create reviewed Codex goal setup packages for long-running /goal work. Use when the user wants to turn an idea, backlog, project mission, or vague objective into durable goal files under a project goals slug folder, with Plannotator review gates for brief, narrative plan with acceptance criteria, verification, blockers, and the final /goal prompt.
02 资源文件 2
- 参考文档agents/openai.yaml210 B
- 脚本scripts/scaffold_goal.py6.7 KB
03 SKILL.md 正文
Plannotator Setup Goal
Overview
Create a durable goal package in the current project at goals/<slug>/ so Codex /goal has a clear mission, guardrails, proof of done, and external memory. Use Plannotator as the user review UI: every critical document must be gated with plannotator annotate <document.md> --gate and revised until approved.
Workflow
-
Confirm the working directory is the project root, or use the user-provided project directory.
-
Gather enough context to name the goal, define the intended outcome, identify constraints, find likely project docs, and determine proof of done.
-
Ask focused questions whenever the goal is vague, risky, too broad, missing a finish line, or missing verification. Do not proceed with guessed critical requirements.
-
Create a slug from the goal name and scaffold
goals/<slug>/with:python3 <skill_dir>/scripts/scaffold_goal.py --root . --slug <slug> --title "<goal title>" --objective "<one sentence outcome>" -
Draft and refine the critical documents in this order:
brief.mdplan.mdverification.mdblockers.mdgoal-prompt.md
-
Gate each critical document with Plannotator before moving on:
plannotator annotate goals/<slug>/<document.md> --gate -
If Plannotator returns denial, comments, or markup, treat that as user feedback. Revise the document, then run the same gate again. Continue until approved.
-
After all gates pass, present the final path and the exact
/goalprompt fromgoal-prompt.md.
Document Standards
brief.md must state the mission, context, constraints, non-goals, ask-before rules, and concise done condition.
plan.md is the central reviewed planning artifact. It must read like a clear solution narrative, not just a technical checklist. Include what is being built, why this approach is appropriate, how the solution will work, the main implementation slices, risks, phase boundaries, and acceptance criteria. Every important acceptance item needs observable evidence. For large missions, prefer several sequential goals over one endless goal.
verification.md must list exact verification commands and manual checks. Include expected pass conditions and where evidence should be recorded.
blockers.md must capture open questions, user-decision points, dangerous operations that require approval, and conditions that should pause the goal.
goal-prompt.md must contain the final command the user can paste into Codex. It should reference the goal package files as the durable source of truth, tell Codex to append evidence to progress.jsonl, and define when to stop or ask.
progress.jsonl is append-only evidence. Do not gate it. During execution, append concrete progress and proof, not summaries of intent.
Plannotator Rules
Use Plannotator as the review surface, not as a passive preview. The command plannotator annotate <document.md> --gate presents the document to the user and captures approval or denial feedback.
Do not skip gates for critical documents. Do not mark a document ready because it seems reasonable. The user must approve it through the gate.
If a document is denied, update the document from the captured feedback and rerun the gate. Keep the loop tight: one document, one review, one revision cycle.
Goal Prompt Rules
Write the final /goal prompt as a compact product brief, not a raw todo dump.
Include:
- outcome
- relevant files
- constraints and non-goals
- plan acceptance criteria and evidence
- verification commands
- ask-before rules
- instruction to use
goals/<slug>/as the durable plan and append evidence toprogress.jsonl
Avoid:
- open-ended improvement loops
- mixed unrelated missions
- vague words like "improve" without measurable proof
- instructions to keep working forever
- hidden assumptions that are not written into the files
Quality Checks
Before finalizing, verify:
- The goal has one clear finish line.
- The plan explains what, why, and how before listing work slices.
- The plan acceptance criteria can be audited from real artifacts.
- Verification commands are concrete.
- Risky actions have ask-before rules.
- The final
/goalprompt tells Codex where the goal files live. - All critical documents have passed Plannotator gates.
04 同仓库更多 Skills
batch-pr-review
Review a batch of pull requests together, describe every change in plain language, and build a private Claude artifact that eases human review, with a severity-tagged and verified findings list. Use when asked to review several PRs, a stack of PRs, PRs listed in a Slack thread or message, or to summarize a batch of PRs for a reviewer.
plannotator-annotate
Open Plannotator's annotation UI for a markdown file, converted HTML file, URL, or folder and then respond to the returned annotations.
write-skill
Create or improve a Claude Code skill/slash command with best practices for structure, dynamic context, and safety. Use for creating new skills, improving existing ones, or learning skill authoring.
wrapup
End-of-session checklist that detects loose ends — uncommitted changes, unmerged branches, learnings to capture, handoffs needed — and routes to the right skills. Use for session closeout, wrapping up, end of day, or "anything else to capture".
tts
Read text aloud using text-to-speech. Use when the user says "speak to me", "read to me", "read this aloud", "say this", "speak the summary", or asks to hear something spoken.
test
Intelligent test runner that targets changed code and identifies coverage gaps. Use for running tests, finding coverage gaps, or testing changed code.