agentleFS
antdigital-aiantdigital-ai/agentic-ui/.cursor/skills/component-tool-use/SKILL.md

component-tool-use

Skill233 starsChanged 7 months agoMITView on GitHub

Develop ToolUseBar and ToolUseBarThink for displaying tool/API calls in @ant-design/agentic-ui. Use when showing tool invocations, API call results, cost or duration. Triggers on tool use, tool call, API call, ToolUseBar, ToolUseBarThink.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

ToolUseBar / ToolUseBarThink 组件开发

工具调用与“思考中”状态展示条,用于在对话中呈现工具名称、参数、结果与耗时等。

源码位置

  • 工具调用条:src/ToolUseBar/index.tsx、src/ToolUseBar/BarItem.tsx
  • 思考条:src/ToolUseBarThink/index.tsx

主要能力

  • ToolUseBar:工具名称、状态、参数、结果、耗时(costMillis)等展示。
  • ToolUseBarThink:思考中/加载状态条,常与思维链或 Bubble 配合。

开发规范

  • 样式使用 createStyles 与 token,支持 classNames/styles。
  • 事件与回调使用 on 前缀。
  • 与 Bubble、ThoughtChainList 等组件协同使用时,保持展示风格一致。

修改或扩展工具调用展示时,参考 src/ToolUseBar/、src/ToolUseBarThink/ 及 AGENTS.md。

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.