agentleFS
antdigital-aiantdigital-ai/agentic-ui/.cursor/skills/component-markdown-input-field/SKILL.md

component-markdown-input-field

Skill233 starsChanged 7 months agoMITView on GitHub

Develop MarkdownInputField and attachments, voice, send actions in @ant-design/agentic-ui. Use when building chat input, file upload, voice input, send button, or suggestion bar. Triggers on MarkdownInputField, input field, attachment, voice input, send button.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

MarkdownInputField 组件开发

多模态输入框:Markdown 输入、附件、语音、发送按钮与建议条等。

源码位置

  • 主组件:src/MarkdownInputField/MarkdownInputField.tsx
  • 附件:src/MarkdownInputField/AttachmentButton/、AttachmentFileList/
  • 语音:src/MarkdownInputField/VoiceInput/
  • 发送与建议:SendButton、Suggestion、QuickActions、SkillModeBar 等
  • 类型与工具:见各子目录 types、utils

主要能力

  • Markdown 输入与编辑器联动
  • 附件上传、列表展示、类型限制
  • 语音输入与状态
  • 发送按钮、快捷操作、技能模式条

开发规范

  • 使用 token 与 createStyles,支持 classNames/styles。
  • 事件使用 on 前缀(如 onSend、onFileSelect)。
  • 与 Bubble、ChatLayout 等配合时保持交互一致。

修改或扩展输入框、附件、语音、发送逻辑时,参考 src/MarkdownInputField/ 与 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.