Skip to content

Fix invalid YAML frontmatter in prompt files #78

Description

@SameerYoussef

Files:

  • .github/prompts/init-populate-octofit_db.prompt.md
  • .github/prompts/create-express-logic-tier.prompt.md

Issue: The prompt files use incorrect YAML frontmatter keys that don't match the official GitHub Copilot prompt file syntax.

Current (incorrect) syntax:

---
mode: 'agent'
model: GPT-5.5
description: 'Configure MongoDB and seed octofit_db for the Octofit multi-tier application'
---

Correct syntax (per GitHub docs):

---
agent: 'agent'
description: 'Configure MongoDB and seed octofit_db for the Octofit multi-tier application'
---

Changes needed:

  1. Line 2: Replace mode: 'agent' with agent: 'agent'
  2. Line 3: Remove the entire model: GPT-5.5 line (not a valid key)

This change should be applied to both prompt files in .github/prompts/

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions