Skip to content

Detect tool-specific agent instruction files as a resource group#77

Merged
andrew merged 1 commit into
mainfrom
agents-resource-group
May 13, 2026
Merged

Detect tool-specific agent instruction files as a resource group#77
andrew merged 1 commit into
mainfrom
agents-resource-group

Conversation

@andrew
Copy link
Copy Markdown
Contributor

@andrew andrew commented May 9, 2026

Closes #75.

ResourceInfo.Agents was a single string holding whichever agent file matched first. That loses information when a repo ships several (say AGENTS.md alongside CLAUDE.md and .cursorrules). This turns it into a map[string]string group like community and security, so each tool gets its own field under resources.agents.

The knowledge base now picks up AGENTS.md/AGENT.md, CLAUDE.md, GEMINI.md, .cursorrules and .cursor/rules/*.mdc, .windsurfrules, .github/copilot-instructions.md, .aider.conf.yml/CONVENTIONS.md, .clinerules, .rules (Zed), .junie/guidelines.md, replit.md, .continuerules, .augment-guidelines, and .roorules.

Detection, diff filtering, and both report formats route agents through the existing group path, so the special-case string handling is gone.

@andrew andrew force-pushed the agents-resource-group branch from 09e2466 to a0c4f5a Compare May 13, 2026 08:58
@andrew andrew merged commit 9c44415 into main May 13, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Detect tool-specific agent instruction files alongside AGENTS.md

1 participant