Documentation Home
type: prompt-template
name: prompt-system-guide
model: anthropic/claude-haiku-4.5
Explain how QNTX prompt templates work, using {{subject}} as the example.
Include:
Frontmatter : YAML configuration at the top (type, name, model)
Template syntax : {{field}} placeholders map to attestation fields
X-sampling : Test prompts against X random attestations before deployment
Available fields : {{subject}}, {{context}}, {{attributes}}, {{predicates}}, etc.
Preview workflow : Edit template → Run Preview → Compare outputs → Deploy
Show how {{subject}} demonstrates these concepts, referencing its implementation in {{context}}.
QNTX Prompt System Development Tracker
Vision : Enable confidence in prompt changes through X-sampling preview: sample X attestations, execute prompt X times, compare outputs against previous versions. This transforms prompt development from risky production experiments to controlled, iterative refinement.
Tracking PR : #301 - QNTX Prompt: Attestation-based LLM prompt templates with frontmatter
✅ Merged Work
#300 - Add YAML frontmatter support for prompt configuration
#304 - Add frontmatter UI support to Prose editor
#305 - Implement CSV export action (⟶)
#330 - Add prompt preview API endpoint with X-sampling (closes #314 )
#338 - Prompt UI (frontend preview panel, closes #316 )
🔥 Critical Issues (Next PRs)
#315 - Implement prompt version comparison logic using attestations
📋 Non-Critical Issues (Future)
#317 - Support .prompt.md file extension for prompt detection
#318 - Add visual indicators for prompt files in Prose tree
#319 - Implement n8n-style {{}} field selector for prompt templates
#320 - Add prompt action to command palette SO integration
#321 - Enable scheduled prompt execution via Pulse
#339 - Add vertical PROMPT indicator for manual toggle
#340 - Add loading state UI to prompt preview panel
#341 - Make prompt preview provider configurable
#342 - Add deterministic sampling option to prompt preview API
#344 - Make filename optional for attestation-only prompts
#345 - Clarify prompt execution result storage pattern
#346 - Add context propagation to storage layer
Developer Workflow
Pick an issue from the lists above
Implement the feature in a branch
Update this README when done:
Move issue to ✅ Merged Work
Demonstrate the new capability in the prompt template above if applicable
Execute this README as a prompt to verify the documentation explains the feature
This README is itself an executable prompt - it should always accurately explain and demonstrate QNTX prompt capabilities.