Loading...
Loading...
Compare original and translation side by side
1. Package manifest detection
→ package.json, go.mod, Cargo.toml, pyproject.toml, pom.xml, build.gradle,
Gemfile, composer.json, mix.exs, pubspec.yaml
2. Framework fingerprinting
→ next.config.*, nuxt.config.*, angular.json, vite.config.*,
django settings, flask app factory, fastapi main, rails config
3. Entry point identification
→ main.*, index.*, app.*, server.*, cmd/, src/main/
4. Directory structure snapshot
→ Top 2 levels of the directory tree, ignoring node_modules, vendor,
.git, dist, build, __pycache__, .next
5. Config and tooling detection
→ .eslintrc*, .prettierrc*, tsconfig.json, Makefile, Dockerfile,
docker-compose*, .github/workflows/, .env.example, CI configs
6. Test structure detection
→ tests/, test/, __tests__/, *_test.go, *.spec.ts, *.test.js,
pytest.ini, jest.config.*, vitest.config.*1. 包清单检测
→ package.json, go.mod, Cargo.toml, pyproject.toml, pom.xml, build.gradle,
Gemfile, composer.json, mix.exs, pubspec.yaml
2. 框架识别
→ next.config.*, nuxt.config.*, angular.json, vite.config.*,
django settings, flask app factory, fastapi main, rails config
3. 入口点识别
→ main.*, index.*, app.*, server.*, cmd/, src/main/
4. 目录结构快照
→ 目录树的前两层,忽略node_modules、vendor、
.git、dist、build、__pycache__、.next
5. 配置与工具检测
→ .eslintrc*, .prettierrc*, tsconfig.json, Makefile, Dockerfile,
docker-compose*, .github/workflows/, .env.example, CI配置文件
6. 测试结构检测
→ tests/, test/, __tests__/, *_test.go, *.spec.ts, *.test.js,
pytest.ini, jest.config.*, vitest.config.*src/components/ → React UI components
src/api/ → API route handlers
src/lib/ → Shared utilities
src/db/ → Database models and migrations
tests/ → Test suites
scripts/ → Build and deployment scriptssrc/components/ → React UI组件
src/api/ → API路由处理器
src/lib/ → 共享工具库
src/db/ → 数据库模型与迁移文件
tests/ → 测试套件
scripts/ → 构建与部署脚本*.test.ts*.spec.ts*_test.gogit clone --depth 1*.test.ts*.spec.ts*_test.gogit clone --depth 1undefinedundefined| Layer | Technology | Version |
|---|---|---|
| Language | TypeScript | 5.x |
| Framework | Next.js | 14.x |
| Database | PostgreSQL | 16 |
| ORM | Prisma | 5.x |
| Testing | Jest + Playwright | - |
| 层级 | 技术 | 版本 |
|---|---|---|
| 编程语言 | TypeScript | 5.x |
| 框架 | Next.js | 14.x |
| 数据库 | PostgreSQL | 16 |
| ORM | Prisma | 5.x |
| 测试 | Jest + Playwright | - |
src/app/api/src/app/(dashboard)/prisma/schema.prismanext.config.tssrc/app/api/src/app/(dashboard)/prisma/schema.prismanext.config.tsnpm run devnpm testnpm run lintnpx prisma migrate devnpm run buildnpm run devnpm testnpm run lintnpx prisma migrate devnpm run build| I want to... | Look at... |
|---|---|
| Add an API endpoint | |
| Add a UI page | |
| Add a database table | |
| Add a test | |
| Change build config | |
undefined| 我想要... | 查看... |
|---|---|
| 添加API端点 | |
| 添加UI页面 | |
| 添加数据库表 | |
| 添加测试 | 与源码路径对应的 |
| 修改构建配置 | |
undefinedCLAUDE.mdundefinedCLAUDE.mdundefined[detected test command][检测到的测试命令][detected dev command][detected build command][detected lint command][检测到的开发命令][检测到的构建命令][检测到的代码检查命令]undefinedundefinedsrc/src/CLAUDE.mdCLAUDE.mdCLAUDE.mdCLAUDE.mdCLAUDE.mdCLAUDE.md