Skip to content

Frontmatter support #10

@jsit

Description

@jsit

Supporting frontmatter in an AGENTS.md file will allow for more fine-tuned application and UI implementation enhancements.

---
description: RPC Service boilerplate
globs: ["**/*.go", "**/*.proto"]
alwaysApply: false
---

An AGENTS.md file (or other files inside a directory, see #9) will be added to the chat context only when the conditions in its metadata are met.

description

Can be used for display in a UI when users are viewing rules or disabling/enabling them manually.

alwaysApply

  • true: This file gets automatically added to context whenever files matching globs are in context
  • false: This file appears in a menu/list for manual selection
  • Default: true

globs

File patterns that trigger this rules file when matching files are added to context, and alwaysApply is true.

  • Default: **/*

Prior art

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions