aws-toolkit-vscode
aws-toolkit-vscode copied to clipboard
Amazon Q ignores config for using AGENTS.md
Problem
I want Amazon Q to read AGENTS.md like every other agent does, but it doesn't by default and it appears to ignore the resources setting. The AGENTS.md website suggests using symlinks in such situations, but that is not a reliable solution on Windows with Git.
Steps to reproduce the issue
- Edit
.amazonq/agents/default.jsonto addAGENTS.mdto resources:{ "resources": [ "file://AGENTS.md", "file://AmazonQ.md", "file://README.md", "file://.amazonq/rules/**/*.md" ], } - Click Rules in Amazon Q: Chat
Expected behavior
See AGENTS.md listed and enabled.
System details (run AWS: About and/or Amazon Q: About)
OS: Windows_NT x64 10.0.26200 Visual Studio Code extension host: 1.105.1 Amazon Q: 1.101.0 node: 22.19.0 electron: 37.6.0