Skip to content

chore: add missing file_type to agent configuration files #1510

Description

@ashleyshaw

Overview

Add required file_type field to agent configuration files and prompts that are missing frontmatter entirely.

Files Affected (9 agents, 18 files total)

Agent configuration files (missing file_type field):

  • .github/agents/ai-readiness-estimator-agent/claude/agent.md
  • .github/agents/client-website-discovery-assistant-agent/claude/agent.md
  • .github/agents/harvest-analytical-agent/claude/agent.md
  • .github/agents/linear-advisor-agent/claude/agent.md
  • .github/agents/pagespeed-agent/claude/agent.md
  • .github/agents/proposal-desk-agent/claude/agent.md
  • .github/agents/website-content-strategist-agent/claude/agent.md
  • .github/agents/website-scope-estimator-agent/claude/agent.md
  • .github/agents/zendesk-support-agent/claude/agent.md

Prompt files (missing frontmatter entirely):

  • All corresponding shared/core-prompt.md files (9 files)

Required Changes

For agent.md files:

Add to frontmatter (line 2, after YAML opening ---):

file_type: 'agent'

For core-prompt.md files:

Add frontmatter header at top of file:

---
file_type: 'prompt'
prompt_slug: '{agent-name}-core'
description: 'Core prompt for {agent-name} agent'
status: 'production'
created_date: '2026-08-04'
last_updated: '2026-08-04'
---

Validation

Running npm run validate:frontmatter should show 0 errors in .github/agents/ directory after fix.

Priority

High (Quick Win) — Simple field additions, resolves ~200+ validation errors

Parent Epic

Part of #1507: Pre-existing validation errors cleanup

Metadata

Metadata

Assignees

No one assigned

    Type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions