Back to Skills

plannotator-setup-goal

backnotprop
Updated 2 days ago
6 views
5,598
382
5,598
View on GitHub
Metageneral

About

This skill transforms vague project ideas or objectives into structured, durable goal packages for Claude Code's `/goal` system. It creates a complete set of reviewed documents—including a narrative plan, acceptance criteria, and verification steps—within a project's `goals/` folder. Use it to establish a clear, gated mission and external memory for any long-running development work.

Quick Install

Claude Code

Recommended
Primary
npx skills add backnotprop/plannotator -a claude-code
Plugin CommandAlternative
/plugin add https://github.com/backnotprop/plannotator
Git CloneAlternative
git clone https://github.com/backnotprop/plannotator.git ~/.claude/skills/plannotator-setup-goal

Copy and paste this command in Claude Code to install this skill

Documentation

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

  1. Confirm the working directory is the project root, or use the user-provided project directory.

  2. Gather enough context to name the goal, define the intended outcome, identify constraints, find likely project docs, and determine proof of done.

  3. 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.

  4. 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>"
    
  5. Draft and refine the critical documents in this order:

    • brief.md
    • plan.md
    • verification.md
    • blockers.md
    • goal-prompt.md
  6. Gate each critical document with Plannotator before moving on:

    plannotator annotate goals/<slug>/<document.md> --gate
    
  7. If Plannotator returns denial, comments, or markup, treat that as user feedback. Revise the document, then run the same gate again. Continue until approved.

  8. After all gates pass, present the final path and the exact /goal prompt from goal-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 to progress.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 /goal prompt tells Codex where the goal files live.
  • All critical documents have passed Plannotator gates.

GitHub Repository

backnotprop/plannotator
Path: apps/skills/plannotator-setup-goal
0
agentsclaude-codecode-reviewcodexobsidianopencode

Related Skills

content-collections

Meta

This skill provides a production-tested setup for Content Collections, a TypeScript-first tool that transforms Markdown/MDX files into type-safe data collections with Zod validation. Use it when building blogs, documentation sites, or content-heavy Vite + React applications to ensure type safety and automatic content validation. It covers everything from Vite plugin configuration and MDX compilation to deployment optimization and schema validation.

View skill

polymarket

Meta

This skill enables developers to build applications with the Polymarket prediction markets platform, including API integration for trading and market data. It also provides real-time data streaming via WebSocket to monitor live trades and market activity. Use it for implementing trading strategies or creating tools that process live market updates.

View skill

creating-opencode-plugins

Meta

This skill helps developers create OpenCode plugins that hook into 25+ event types like commands, files, and LSP operations. It provides the plugin structure, event API specifications, and implementation patterns for JavaScript/TypeScript modules. Use it when you need to intercept, monitor, or extend the OpenCode AI assistant's lifecycle with custom event-driven logic.

View skill

sglang

Meta

SGLang is a high-performance LLM serving framework that specializes in fast, structured generation for JSON, regex, and agentic workflows using its RadixAttention prefix caching. It delivers significantly faster inference, especially for tasks with repeated prefixes, making it ideal for complex, structured outputs and multi-turn conversations. Choose SGLang over alternatives like vLLM when you need constrained decoding or are building applications with extensive prefix sharing.

View skill