Skills are defined as a noun, verb, definition, and command. Let's add a "format" option that corresponds to a skill. For now, we will only have one format skill that fences the output between triple backticks yielding pre-formatted text in Slack. In the skill definition, the format field will will be optional, defaulting to "pre" as its value.
description: foo
verb: get
noun: bar
command: ls
format: pre
Skills are defined as a noun, verb, definition, and command. Let's add a "format" option that corresponds to a skill. For now, we will only have one format skill that fences the output between triple backticks yielding pre-formatted text in Slack. In the skill definition, the format field will will be optional, defaulting to "pre" as its value.
The above is equivalent to the below.