# agent_ui: Render skills as creases \(\#56689\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/700b0b5de6b1101fbe699f714888d1b68680cb0f)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 700b0b5de6b1101fbe699f714888d1b68680cb0f

Requested commit: 700b0b5de6b1101fbe699f714888d1b68680cb0f

Commit: 700b0b5de6b1101fbe699f714888d1b68680cb0f

Tree: 1b209d300365a951664108062317a0ad1167a538

Author: Danilo Leal

Committer: GitHub

## Message

```
agent_ui: Render skills as creases (#56689)

Closes AI-230

This PR makes skills, added as /-mentions, be rendered in the agent
panel as creases, like anything you'd @-mention. Naturally, clicking on
the crease button opens the corresponding skill file in a buffer.

It turned out to be quite a bit of plumbing to make this work,
particularly as I am also introducing an interface to display dividers
and headers in the completion menu. This was relevant to me to add
because it sets a good foundation to convert many agent panel-related
actions as slash commands.

Release Notes:

- N/A

---------

Co-authored-by: MartinYe1234 <52641447+MartinYe1234@users.noreply.github.com>
```

## Parents

- [f511076cdbbe7a1acb01431dc35efc8f87ad6abf](https://git.cafe/gitcafe/zed/commit/f511076cdbbe7a1acb01431dc35efc8f87ad6abf?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/700b0b5de6b1101fbe699f714888d1b68680cb0f?format=markdown)
