planr-spec
Shape vague product or engineering intent into a clear, measurable Protocol-compatible specification grounded in the current repository. Use when requirements need clarification before planning or implementation.
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 6
- Forks
- 1
01 前言 Front Matter
- name
- planr-spec
- license
- MIT
- description
- Shape vague product or engineering intent into a clear, measurable Protocol-compatible specification grounded in the current repository. Use when requirements need clarification before planning or implementation.
02 资源文件 4
- 参考文档agents/openai.yaml419 B
- 参考文档openplanr.skill.json913 B
- 参考文档references/return-contract.md676 B
- 参考文档references/specification-contract.md1.8 KB
03 SKILL.md 正文
OpenPlanr Spec
Shape vague product or engineering intent into a decision-complete specification inside this active coding session. Do not invoke a planning CLI or another model process.
Ground the specification
Read the files the request names, plus AGENTS.md and CLAUDE.md when tracked,
in one batch. Expand only for a missing contract, a dependency or a contradiction,
and stop when each claim has evidence or a named gap. Infer facts the repository
already answers.
When a missing decision materially changes scope or observable behavior, use the host's structured question interface. Ask no more than three short, mutually exclusive questions at once and put the recommended option first. If the host lacks that interface, ask one concise chat question. Do not present a long prose questionnaire.
If no one can answer, as in a headless run, do not ask: choose the
repository-backed default, or the recommended one when the repository does not
settle it, and record each such choice as a bullet starting Assumption: under
## Notes for Decomposition, naming the decision and the alternative not taken.
Record a decision you settle inside a functional requirement the same way.
When native agents are available, use the specification role to consolidate the contract and dispatch database or designer roles only when their lens affects the decision. Otherwise perform those lenses sequentially in the active agent.
Author directly
Read the specification contract. When the
repository has no .planr/, write the specification where it already keeps
specifications, or return it in chat or one file when it keeps none. With
.planr/, write it to the active planning layout using a project-global monotonic
SPEC-NNN ID: inspect the existing sequence and planning files before choosing it
and never reuse a deleted ID.
Requirements and acceptance criteria must be observable. Put non-goals under out-of-scope boundaries. Record concrete repository paths and verification signals when they are known. Keep unresolved questions out of the saved contract when a repository-backed default exists.
Validate the completed artifact before returning: run openplanr spec validate <SPEC-ID>
when the specification is under .planr/ and command -v openplanr succeeds, otherwise check the path, frontmatter,
headings and acceptance IDs against the specification contract directly. Never
fall back to a model-backed CLI.
Return
Lead with what is ready, then use concise links and the checks actually performed. If the specification is partial or blocked, name the missing decision and its impact.
- Outcome: what the specification now defines and whether it is ready for Plan.
- Artifact: a clickable saved path, or
not savedfor an explicitly inline result. - Decisions: only consequential locked choices and grounded defaults; keep the full record in the specification.
- Checks: acceptance coverage and validation actually completed, including any unavailable check.
- Open question: only a decision that still changes the product; omit when none remains.
- Next: a copy-ready host-native
planr-planinvocation for the saved spec.
Follow the shared return rules.
04 同仓库更多 Skills
design
暂无简介
planr-sync
Audit OpenPlanr planning artifacts for graph and protocol drift. Use when statuses, references, schemas, or generated planning views may be inconsistent.
planr-status
Inspect project delivery or one feature's pipeline status without changing state. Use when the user asks what is done, pending, blocked, or next.
planr-sprint
Refine every open backlog item against the code and the calendar, refute the picks, and select a sprint that fits capacity and the release cut. Use before a cut or sprint; not for decomposing one specification or reporting status.
planr-ship
Implement an OpenPlanr plan, specification, task, or clearly stated request end to end in the current repository. Use when the user asks to build, implement, fix, finish, or ship local work, or to plan and implement an accepted change. Invoke before editing files for the requested change. Not for planning only, landing, release, or work handed to another coding agent.
planr-share
Share a status report, sprint note or release notes with the team as a chat message draft that the user approves and sends. Use when the user asks to post a planning update to chat.