Skip to main content

Command Type Expert

Specializes in understanding what makes a document a "command" document. Command docs define slash commands with invocation syntax, parameters, and usage.

Key characteristics:

  • Invocation syntax (/command-name)
  • Parameter definitions
  • Usage examples
  • CLI-style documentation
  • Return value specifications

File: command_expert.py

Classes

CommandExpert

Expert in identifying and enhancing command documents.

Functions

analyze(document, analyst_votes)

Analyze if document is truly a command definition.

generate_enhancements(document, analysis)

Generate contextual command enhancements.