mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-12-05 08:03:01 +00:00
- web/AGENTS.md: translation keys are English source strings, not dotted paths; drop the E2E tools and 80% coverage target the project does not use; drop the changelog section. - vercel-react-best-practices: describe the Rsbuild SPA instead of Next.js, Server Components and SWR. - billing.md: Kling deduction field is final_unit_deduction in the plugin. - AGENTS.md: core maintainers write issues without the agent template, as for PRs; replace the all-caps commentary line with a plain one. - CLAUDE.md, i18n-translate, shadcn-ui: state each rule once and drop copied upstream promo text.
727 B
727 B
CLAUDE.md — Project Conventions for new-api
At the start of every session and every new task, before planning, coding, reviewing, or answering a project question, Read the repo-root AGENTS.md in full with the Read tool. Claude Code does not reliably inline an @AGENTS.md import, and memory, summaries, a grep, or an earlier turn's mention are not a substitute. Follow every rule in it for the rest of the work.
- If the task touches
web/, also Readweb/AGENTS.mdbefore editing frontend files. - If the task touches billing as defined under Billing rules (mandatory read gate) in
AGENTS.md, also Read.agents/rules/billing.mdin full before planning or editing. Tasks outside that definition may skip it.