home/roleplay/prompt-metadata-yaml-frontmatter-optional-but-recommended-2

Prompt Metadata (YAML frontmatter - optional but recommended)

GPTClaudeGemini··1,367 copies·updated 2026-07-14
prompt-metadata-yaml-frontmatter-optional-but-recommended-2.prompt
<!-- 
  OpenCoder Prompt Template
  
  Copy this file to create a new model-specific prompt.
  Name it by model family: gpt.md, gemini.md, grok.md, llama.md, etc.
  
  Examples:
  - gpt.md (OpenAI GPT family)
  - gemini.md (Google Gemini family)
  - grok.md (xAI Grok family)
  - llama.md (Meta Llama family)
  - claude-opus.md (Claude Opus specifically, if different from default)
-->

---
# Prompt Metadata (YAML frontmatter - optional but recommended)
model_family: "model-name"           # e.g., "gpt", "gemini", "grok", "llama"
recommended_models:
  - "provider/model-id"              # e.g., "openai/gpt-4o" (primary recommendation)
  - "provider/model-id-variant"      # e.g., "openai/gpt-4o-mini" (alternative)
tested_with: "provider/model-id"     # Model used for testing
last_tested: "YYYY-MM-DD"            # Date of last test
maintainer: "your-name"              # Your name/handle
---

## Prompt Info
- **Model Family**: [e.g., GPT, Gemini, Grok, Llama]
- **Target Models**: [List specific model IDs this is optimized for]
- **Status**: [🚧 Needs Testing | ✅ Tested | ⚠️ Experimental]
- **Maintainer**: [Your name/handle]
- **Last Updated**: [YYYY-MM-DD]

## Optimizations for This Model
<!-- Document model-specific optimizations -->
- Optimization 1: [What you changed and why it helps this model]
- Optimization 2: [Description]

**Example:**
- Reduced verbosity for faster models (Grok, GPT-4o-mini)
- Added more explicit TDD instructions for reasoning models (o1, Claude Opus)
- Simplified structure for smaller context windows

## Expected Strengths
<!-- What should this model/prompt combination do well? -->
- [ ] Fast iteration
- [ ] High code quality
- [ ] Strong test coverage
- [ ] Good refactoring
- [ ] Other: [describe]

## Test Results
<!-- Run: ./scripts/prompts/test-prompt.sh opencoder your-variant -->
<!-- Paste results here -->

when to use it

Community prompt sourced from the open-source GitHub repo darrenhinde/OpenAgentsControl (MIT). A "Prompt Metadata (YAML frontmatter - optional but recommended)" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.

tags

roleplaycommunitygeneral

source

darrenhinde/OpenAgentsControl · MIT