Skip to content

docs(Pajamas): Add pattern page for Duo slash commands

Katie Macoy requested to merge kmacoy-duo-patterns into main

What does this MR do?

This MR creates a new folder under Patterns called GitLab Duo to house Duo and AI-specific pattern guidance. This MR also contributes a page about slash commands in Duo Chat. This MR is the first step towards establishing an AI UX pattern library. The intention to document UI patterns, guidelines, and best practices for AI features.

Problem this guidance addresses

Full context in Figma

The primary goal behind this effort is making sure slash commands are added to Duo Chat in a scalable, holistic way. The concern I’m trying to mitigate is individual teams will add slash commands of varying levels of abstraction and we will end up with a long list of commands that are hard to understand.

What does this MR do?

This MR introduces guidance around:

  • What should / should not be a slash command in Duo Chat
  • Naming convention and syntax of slash commands in Duo Chat
  • Behavior and layout of slash command menu in Duo Chat

Does this MR meet the acceptance criteria?

Links

Edited by Katie Macoy

Merge request reports