Skip to content

Commit dfff391

Browse files
committed
修正 #26 保留中文版 + 修复 CI bug + 清理重复智能体 + 补全 lint 目录
- #26: 改为删除 specialized/supply-chain-strategist.md(英文版),恢复 support/support-supply-chain-strategist.md(中文原创版) - CI: 修复 broken-links 步骤 subshell bug(ERRORS 永远为 0) - 删除重复的 marketing-bilibili-content-strategist.md(与 bilibili-strategist 同名) - lint-agents.sh: 补全 academic/finance/hr/legal/sales/supply-chain 6 个目录
1 parent 90b4e43 commit dfff391

9 files changed

Lines changed: 594 additions & 786 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ jobs:
5353
run: |
5454
ERRORS=0
5555
# Check README references to agent files
56-
grep -oP '\[.*?\]\(((?!http)[^)]+\.md)\)' README.md | grep -oP '\(([^)]+)\)' | tr -d '()' | while read -r link; do
56+
while read -r link; do
5757
if [ ! -f "$link" ]; then
5858
echo "::error file=README.md::Broken link: $link"
5959
ERRORS=$((ERRORS + 1))
6060
fi
61-
done
61+
done < <(grep -oP '\[.*?\]\(((?!http)[^)]+\.md)\)' README.md | grep -oP '\(([^)]+)\)' | tr -d '()')
6262
exit $ERRORS

AGENT-LIST.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,7 @@
276276
| `support-finance-tracker` | 财务追踪员 | 专业的财务分析与管控专家,擅长财务规划、预算管理和经营绩效分析 | 翻译 |
277277
| `support-infrastructure-maintainer` | 基础设施运维师 | 专业的基础设施运维专家,专注系统可靠性、性能优化和技术运营管理 | 翻译 |
278278
| `support-recruitment-specialist` | 招聘运营专家 | 专业的招聘运营与人才获取专家,精通中国主流招聘渠道运营、人才评估体系搭建 | ⭐ 原创 |
279+
| `support-supply-chain-strategist` | 供应链采购策略师 | 专业的供应链管理与采购策略专家,精通供应商开发与管理、战略采购、质量管控 | ⭐ 原创 |
279280

280281
---
281282

CATALOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,6 @@
239239
| Salesforce 架构师 | `specialized/specialized-salesforce-architect.md` |
240240
| 工作流架构师 | `specialized/specialized-workflow-architect.md` |
241241
| 留学规划顾问 | `specialized/study-abroad-advisor.md` |
242-
| 供应链策略师 | `specialized/supply-chain-strategist.md` |
243242
| ZK 管家 | `specialized/zk-steward.md` |
244243

245244
## 🚚 供应链部 (3)
@@ -260,6 +259,7 @@
260259
| 基础设施运维师 | `support/support-infrastructure-maintainer.md` |
261260
| 法务合规员 | `support/support-legal-compliance-checker.md` |
262261
| 招聘运营专家 | `support/support-recruitment-specialist.md` |
262+
| 供应链采购策略师 | `support/support-supply-chain-strategist.md` |
263263
| 客服响应者 | `support/support-support-responder.md` |
264264

265265
## 🧪 测试部 (9)

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@ cp -r marketing/*.md ~/.claude/agents/
322322
| [财务追踪员](support/support-finance-tracker.md) | 财务分析、预算管理 | 财务规划、成本管控 |
323323
| [基础设施运维师](support/support-infrastructure-maintainer.md) | 系统运维、可靠性工程 | 基础设施管理、故障排查 |
324324
| [招聘运营专家](support/support-recruitment-specialist.md)| Boss直聘/猎聘、劳动法、校招社招 | 招聘全流程与HR合规 |
325+
| [供应链采购策略师](support/support-supply-chain-strategist.md)| 1688采购、质检、供应商管理、ERP | 供应链与采购管理 |
325326

326327
### 🔬 专项部
327328

README.zh-TW.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,7 @@ cp -r marketing/*.md ~/.claude/agents/
304304
| [財務追蹤員](support/support-finance-tracker.md) | 財務分析、預算管理 | 財務規劃、成本管控 |
305305
| [基礎設施運維師](support/support-infrastructure-maintainer.md) | 系統運維、可靠性工程 | 基礎設施管理、故障排查 |
306306
| [招聘運營專家](support/support-recruitment-specialist.md)| Boss直聘/獵聘、勞動法、校招社招 | 招聘全流程與HR合規 |
307+
| [供應鏈採購策略師](support/support-supply-chain-strategist.md)| 1688採購、質檢、供應商管理、ERP | 供應鏈與採購管理 |
307308

308309
### 🔬 專項部
309310

marketing/marketing-bilibili-content-strategist.md

Lines changed: 0 additions & 199 deletions
This file was deleted.

scripts/lint-agents.sh

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,23 @@
1111
set -euo pipefail
1212

1313
AGENT_DIRS=(
14+
academic
1415
design
1516
engineering
17+
finance
1618
game-development
19+
hr
20+
legal
1721
marketing
1822
paid-media
1923
product
2024
project-management
21-
testing
22-
support
25+
sales
2326
spatial-computing
2427
specialized
28+
supply-chain
29+
support
30+
testing
2531
)
2632

2733
REQUIRED_FRONTMATTER=("name" "description" "color")

0 commit comments

Comments
 (0)