agentleFS
codelablycodelably/harmony-claude-code/rules/agents.md

harmony-claude-code / rules

AGENTS.md43 starsChanged 10 months agoMITView on GitHub

位于 ~/.claude/agents/: 以下情况无需用户提示即可直接调用: 1. 复杂特性请求 - 使用 planner 智能体 2. 刚刚编写/修改的代码 - 使用 code-reviewer 智能体 3. Bug 修复或新特性 - 使用 tdd-guide 智能体 4. 架构决策 - 使用 architect 智能体 对于相互独立的操作,*务必*使用并行任务执行: 针对复杂问题,使用分角色子智能体: - 事实审查员 (Factual Reviewer) - 资深工程师 (Senior Engineer) - 安全专家 (Security Expert) - 一致性审查员 (Consistency Reviewer) - 冗余检查员 (Redundancy Checker)

The file

Files
agents.md

智能体编排 (Agent Orchestration)

可用智能体 (Available Agents)

位于 ~/.claude/agents/:

智能体 (Agent)用途适用场景
planner实现规划复杂特性、重构
architect系统设计架构决策
tdd-guide测试驱动开发 (TDD)新特性、Bug 修复
harmonyos-app-reviewerHarmonyOS 应用开发代码编写/功能开发
code-reviewer代码审查代码编写/修改后
security-reviewer安全分析提交代码前
build-error-resolver修复构建错误构建失败时
e2e-runner端到端 (E2E) 测试关键用户流程
refactor-cleaner冗余代码清理代码维护
doc-updater文档更新更新文档

立即调用智能体 (Immediate Agent Usage)

以下情况无需用户提示即可直接调用:

  1. 复杂特性请求 - 使用 planner 智能体
  2. 刚刚编写/修改的代码 - 使用 code-reviewer 智能体
  3. Bug 修复或新特性 - 使用 tdd-guide 智能体
  4. 架构决策 - 使用 architect 智能体

并行任务执行 (Parallel Task Execution)

对于相互独立的操作,务必使用并行任务执行:

# 推荐:并行执行
并行启动 3 个智能体:
1. 智能体 1:对 auth.ts 进行安全分析
2. 智能体 2:对缓存系统进行性能审查
3. 智能体 3:对 utils.ts 进行类型检查

# 避忌:在不必要时采用串行执行
先启动智能体 1,然后智能体 2,最后智能体 3

多维度分析 (Multi-Perspective Analysis)

针对复杂问题,使用分角色子智能体:

  • 事实审查员 (Factual Reviewer)
  • 资深工程师 (Senior Engineer)
  • 安全专家 (Security Expert)
  • 一致性审查员 (Consistency Reviewer)
  • 冗余检查员 (Redundancy Checker)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.