Repository navigation
Closed
Labels
enhancementNew feature or request
Description
Outcome
A new UF convention pack — .opencode/uf/packs/meta-prompt.md — codifies the conventions for authoring spec artifacts (spec.md, plan.md, tasks.md) and command/prompt files: the "meta-prompt engineering" work that some models are markedly better at than code-focused models. It becomes the pack key the model matrix maps to the spec-authoring capability (see #887), and the pack agents load when doing spec/plan/tasks authoring work.
Background
- Packs are this repo's convention system:
.opencode/uf/packs/*.mdwith[MUST]/[SHOULD]/[MAY]rule tags and per-pack rule ids (GO-NNN,CI-NNN, ...). Per AGENTS.md: "Agents MUST read the applicable pack(s) before writing or reviewing code." - No existing pack covers meta-prompt/spec-authoring work. Its conventions currently live scattered across AGENTS.md,
.opencode/skills/(determinism-first, speckit-workflow, tier-routing), and precedent specs. - Stakeholder motivation (Content-agent model selection via .uf/model-matrix.yaml (model-matrix-delegation) #887): there is a large capability gap between models good at meta-prompting and models good at code; per-developer model config maps the meta-prompt pack to a meta-prompt-capable model (e.g. glm, vs deepseek for the go pack).
- Read the existing packs first and match their format and voice:
go.md,content.md,determinism.mdin.opencode/uf/packs/.
Content scope (starting point — codify what exists, do not invent)
Harvest and consolidate the repo's existing authoring conventions:
- RFC 2119 language (MUST/SHOULD/MAY),
FR-NNNrequirement numbering, Given/When/Then scenarios, line length < 72 - Speckit vs OpenSpec artifact shapes (
specs/NNN-*/vsopenspec/changes/*/), OpenSpec delta format (## ADDED Requirements), requirement-number allocation header comments plan.md/tasks.mddecomposition conventions:[P]parallel markers, checkbox discipline ([x]immediately on completion), phase numbering- Command-file conventions: determinism-first framing, no mechanical procedural prose where an executable tool is feasible
- Clarification-marker grammar awareness — CRITICAL: the pack prose must NOT contain literal, well-formed marker syntax (a well-formed marker extracts as a question even inside documentation); describe the grammar without writing a parseable marker
Acceptance criteria
.opencode/uf/packs/meta-prompt.mdexists and follows the existing pack format ([MUST]/[SHOULD]/[MAY]tags,MP-NNNrule ids).- Content codifies existing conventions (AGENTS.md, existing specs, skills) — it is consolidation, not invention.
- No literal clarification-marker syntax appears in the prose (verified by scan).
- The model-matrix starter config in Content-agent model selection via .uf/model-matrix.yaml (model-matrix-delegation) #887 references it (
packs: meta-prompt: spec-authoring) and pack-existence validation passes. - Ships through the same review flow as Content-agent model selection via .uf/model-matrix.yaml (model-matrix-delegation) #887 (as a task within that OpenSpec change) or its own reviewed change if split.
Constraints
- This is judgment-based content work; there is no script that can author it. Match the structure and tone of existing packs.
- Deployment to hero repos via
uf init(alwaysDeployedPacksentry,meta-prompt-custom.mdtemplate) is slice 2 and out of scope here — tracked in the slice-2 deployment issue linked from Content-agent model selection via .uf/model-matrix.yaml (model-matrix-delegation) #887.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or request
Type
Projects
- StatusShow more project fieldsNo status
Activity
feat(packs): author meta-prompt convention pack (unbound-force#888)
docs(openspec): address iteration-2 spec review findings
docs(model-matrix): file documentation issue, record Closes bookkeepi…
feat(packs): author meta-prompt convention pack (unbound-force#888)
docs(openspec): address iteration-2 spec review findings
docs(model-matrix): file documentation issue, record Closes bookkeepi…
feat(packs): author meta-prompt convention pack (#888)
docs(openspec): address iteration-2 spec review findings
docs(model-matrix): file documentation issue, record Closes bookkeepi…