Files
CaIon 04dfcbb712 docs(agents): fix stale facts and trim repeated rules in agent instructions
- 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.
2026-11-28 01:12:36 +08:00

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 Read web/AGENTS.md before editing frontend files.
  • If the task touches billing as defined under Billing rules (mandatory read gate) in AGENTS.md, also Read .agents/rules/billing.md in full before planning or editing. Tasks outside that definition may skip it.