Imported from ten2ten2/poke-wordle (
AGENTS.md). Install upstream withnpx skills add ten2ten2/poke-wordle. Copyright stays with the author.
项目约定
- 在仓库根目录通过
mise run执行命令,工具版本和依赖分别以mise.toml、package-lock.json为准。安装与常用命令见 README.md。 - 游戏状态和猜测比较在客户端执行,复用
src/lib/pokemon.ts中的数据与比较逻辑;/api/checkGuess仅供旧客户端兼容。 - 游戏数据通过审核流程更新,保持发布 JSON、数据版本与 ID 注册表一致。知识文章遵循编辑约定。
- 按改动范围验证:前端使用
mise run lint、mise run typecheck和相关 Jest 测试;数据工具使用mise run data:check;知识文章使用mise run knowledge:check。完整检查为mise run check,浏览器回归mise run e2e默认需先构建。 - 文档以当前代码、配置和命令为准;修正相关说明,避免重复维护版本号、费用和操作流水。历史数据报告保留数据变化与来源依据。纯文档修改核对内容、链接和
git diff --check。
This is NOT the Next.js you know
This version has breaking changes — APIs, conventions, and file structure may all differ from your training data. Read the relevant guide in node_modules/next/dist/docs/ (resolved from this file's directory; in monorepos the next package may not be visible from the repo root) before writing any code. Heed deprecation notices.
This block is written and re-added by next dev — verify at node_modules/next/dist/server/lib/generate-agent-files.js. Removing it from a diff only re-creates the uncommitted change; committing it with your work keeps the tree clean.