Skip to content

Detect tool-specific agent instruction files alongside AGENTS.md #75

@andrew

Description

@andrew

We currently only detect AGENTS.md as the agents resource. Many projects use tool-specific files instead, and some ship several at once.

Candidates to pick up:

  • CLAUDE.md (Claude Code)
  • GEMINI.md (Gemini CLI)
  • .cursorrules and .cursor/rules/ (Cursor)
  • .windsurfrules (Windsurf)
  • .github/copilot-instructions.md (GitHub Copilot)
  • .aider.conf.yml / CONVENTIONS.md (Aider)
  • .clinerules (Cline)
  • .rules (Zed)
  • .junie/guidelines.md (JetBrains Junie)
  • replit.md (Replit)

The current agents field on ResourceInfo is a single string, so the first match wins. That works if we just want to know a project has agent instructions, but it loses information when a repo has both AGENTS.md and CLAUDE.md. Probably worth turning this into an agents group so each tool gets its own field, similar to how community and security work in _resources.toml.

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