From 3cfc830d14895b1977839730c69ca88ec16c64b5 Mon Sep 17 00:00:00 2001 From: Simon <10131203+gaomeng1900@users.noreply.github.com> Date: Mon, 26 Jan 2026 15:21:48 +0800 Subject: [PATCH] feat: ignore alias to AGENTS.md --- .gitignore | 9 ++++++++- CLAUDE.md | 1 - CONTRIBUTING.md | 20 +++++++++++++++++++- 3 files changed, 27 insertions(+), 3 deletions(-) delete mode 100644 CLAUDE.md diff --git a/.gitignore b/.gitignore index cb9c08b..b6801aa 100644 --- a/.gitignore +++ b/.gitignore @@ -36,4 +36,11 @@ packages/page-agent/LICENSE # extension .output -.wxt \ No newline at end of file +.wxt + +# AI +.agent +.claude +.cursor +.gemini +CLAUDE.md \ No newline at end of file diff --git a/CLAUDE.md b/CLAUDE.md deleted file mode 100644 index 43c994c..0000000 --- a/CLAUDE.md +++ /dev/null @@ -1 +0,0 @@ -@AGENTS.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 473e537..ba7b9ac 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -92,10 +92,28 @@ We use a simplified monorepo solution with `native npm-workspace + ts reference ### Vibe coding with AI - It's **recommended** to heavily rely on AI (aka "vibe coding") when maintaining **demo pages and tests**. -- BUT **NOT the core lib!!!** Be very careful if AI ever touched the core lib!!! +- Be very careful if AI ever touched the core lib!!! - Review anything AI wrote before make a commit. You are the author of anything you commit. NOT AI. - Update the [AI instructions](AGENTS.md) when structure changed. +If your lame AI assistant does not support [AGENTS.md](https://agents.md/). Add a alias for it. And make sure it's ignored by git. + +- claude-code (`CLAUDE.md`) + + ```markdown + @AGENTS.md + ``` + +- antigravity (`.agent/rules/alias.md`) + + ```markdown + --- + trigger: always_on + --- + + @../../AGENTS.md + ``` + ## 🔧 Development Workflows ### Test With Your Own LLM API