Module: Legion::TTY::Screens::Chat::CustomCommands

Included in:
Legion::TTY::Screens::Chat
Defined in:
lib/legion/tty/screens/chat/custom_commands.rb

Constant Summary collapse

TEMPLATES =
{
  'explain' => 'Explain the following concept in simple terms: ',
  'review' => "Review this code for bugs, security issues, and improvements:\n```\n",
  'summarize' => "Summarize the following text in 3 bullet points:\n",
  'refactor' => "Refactor this code for readability and performance:\n```\n",
  'test' => "Write unit tests for this code:\n```\n",
  'debug' => "Help me debug this error:\n",
  'translate' => 'Translate the following to ',
  'compare' => "Compare and contrast the following:\n"
}.freeze