description:从多个数据源(GitHub Trending、Hugging Face 等)自动获取 AI 相关项目并入库
description:Use the specialized agents workflow to automatically fetch AI projects from multiple data sources (GitHub Trending, Hugging Face, etc.) and ingest them into the database
---
## 用户输入
@@ -12,6 +12,11 @@ $ARGUMENTS
## 概述
本命令使用 **专用 Agent 工作流** 来完成多源数据获取和入库任务。核心原则:
- **所有数据处理逻辑由 Agent 执行**,不在主窗口执行
- **使用 Task 工具调用各个 Agent**,让 Agent 自主完成其职责
- **主窗口仅负责协调 Agent 调用**,不直接处理业务逻辑
本命令通过任务派发器架构,从多个数据源并行爬取 AI 相关项目,经过去重、分析、质量评分后批量入库。
- **Cascade deletions**: `ExternalLink` and `ProjectTag` use `onDelete: Cascade` - deleting a project automatically cleans up its links and tag connections
- **Key constraints**:
-`Project.slug`: Unique
-`Tag.name`: Unique (tag names are globally unique)
-`Tag.slug`: Unique
-`ExternalLink`: `@@unique([projectId, url])` (each project can't have duplicate URLs)
- Before viewing the page, check if there's already a project running at localhost:3000. If yes, access it directly; if no, then run `pnpm dev`
- The dev server runs with hot-reload enabled for fast iteration
- The middleware handles locale detection and routing automatically - no manual locale configuration needed
- When adding new translations, update both `src/messages/zh.json` and `src/messages/en.json`
- Database changes require running `pnpm prisma migrate dev` to update the schema
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.