feat(ci): add Claude PR auto-assign reviewer workflow (#13120)

This commit is contained in:
YuTengjing
2026-03-19 16:13:01 +08:00
committed by GitHub
parent f827b870c3
commit 73d46bb4c4
7 changed files with 213 additions and 110 deletions

View File

@@ -13,7 +13,7 @@ Guidelines for using Claude Code in this LobeHub repository.
## Project Structure
```
```plaintext
lobehub/
├── apps/desktop/ # Electron desktop app
├── packages/ # Shared packages (@lobechat/*)
@@ -77,7 +77,7 @@ bun run dev
After `dev:spa` starts, the terminal prints a **Debug Proxy** URL:
```
```plaintext
Debug Proxy: https://app.lobehub.com/_dangerous_local_dev_proxy?debug-host=http%3A%2F%2Flocalhost%3A9876
```
@@ -117,20 +117,6 @@ cd packages/database && bunx vitest run --silent='passed-only' '[file]'
- For dev preview: translate `locales/zh-CN/` and `locales/en-US/`
- Don't run `pnpm i18n` - CI handles it
## Linear Issue Management
**Trigger conditions** - when ANY of these occur, apply Linear workflow:
- User mentions issue ID like `LOBE-XXX`
- User says "linear", "link linear", "linear issue"
- Creating PR that references a Linear issue
**Workflow:**
1. Use `ToolSearch` to confirm `linear-server` MCP exists (search `linear` or `mcp__linear-server__`)
2. If found, read `.agents/skills/linear/SKILL.md` and follow the workflow
3. If not found, skip Linear integration (treat as not installed)
## Skills (Auto-loaded by Claude)
Claude Code automatically loads relevant skills from `.agents/skills/`.