new-api / web
AGENTS.md5 starsChanged 59 days agoAGPL-3.0View on GitHub
本文档定义前端项目的开发规范与最佳实践,供开发与 AI 助手共同遵循。具体依赖与脚本以 package.json 为准。 优先复用项目已有组件与能力(见 3.3 组件);项目内无合适实现时,再评估已安装依赖及成熟、维护良好的开源库。仅在复用、组合或合理扩展仍无法满足需求时自行实现,并说明具体能力缺口。 - 枚举与文案(常量中的 i18n) 各 feature 的 constants.ts 中常出现「枚举/状态 + 展示文案」或「成功/错误消息」,须统一约定以免遗漏 i18n、用法混乱: - 成功/错误/提示类消息(如 SUCCESS_MESSAGES、ERROR_MESSAGES):常量值仅表示 i18n 键(与英文 fallback 同字面量)。展示时*必须通过 t() 使用,例如 toast.success(t(SUCCESS_MESSAGES.API_KEY_CREATED))、toast.error(t(ERROR_MESSAGES.UNEXPECTED)),禁止*直接 toast.success(SUCCESS_MESSAGES.xxx)…
- Reads credentials
1 other project uses a version of this.
Adopted by
Most recently taken up by
- QuantumNous/new-apiword for word, first seen Nov 15, 2026
Other versions1 project uses a version of this.
Word for word · 1
- QuantumNous/new-api★ 52k100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository5 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- i18n-translateSkill
- shadcn-uiSkill
- vercel-react-best-practicesSkill
The file
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

