From 6b62d9cff9e06917ff8b77d1ecb076d840ae57a4 Mon Sep 17 00:00:00 2001 From: Alexander Brown Date: Sat, 20 Dec 2025 22:03:10 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20Agent=20file=20location=20rules?= =?UTF-8?q?=20(and=20CSS=20prohibition)=20(#7691)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add rule for agents to use the gitignored temp directory for plans/scripts Add rule to avoid `!important` Add more rules around temporary files ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-7691-Agent-file-location-rules-and-CSS-prohibition-2d06d73d365081a6b3a2f619cd67cb91) by [Unito](https://www.unito.io) --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- AGENTS.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index af0ab12a5..0d80ec8a0 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -266,3 +266,16 @@ When referencing Comfy-Org repos: - Always use `import { cn } from '@/utils/tailwindUtil'` - e.g. `
` - Use `cn()` inline in the template when feasible instead of creating a `computed` to hold the value +- NEVER use `!important` or the `!` important prefix for tailwind classes + - Find existing `!important` classes that are interfering with the styling and propose corrections of those instead. + +## Agent-only rules + +Rules for agent-based coding tasks. + +### Temporary Files + +- Put planning documents under `/temp/plans/` +- Put scripts used under `/temp/scripts/` +- Put summaries of work performed under `/temp/summaries/` +- Put TODOs and status updates under `/temp/in_progress/`