Class: RosettAi::Mcp::Prompts::CompilationPrompt
- Inherits:
-
Object
- Object
- RosettAi::Mcp::Prompts::CompilationPrompt
- Defined in:
- lib/rosett_ai/mcp/prompts/compilation_prompt.rb
Overview
MCP prompt: compilation workflow.
Provides a structured prompt for AI agents to compile rai behaviours and review the output.
Constant Summary collapse
- PROMPT_NAME =
'rai_compilation_workflow'- DESCRIPTION =
'Compile rai behaviours and review output'
Instance Method Summary collapse
-
#call(engine: 'claude') ⇒ Array<Hash>
Generates the compilation prompt messages.
Instance Method Details
#call(engine: 'claude') ⇒ Array<Hash>
Generates the compilation prompt messages.
24 25 26 27 28 29 30 31 32 33 34 35 36 |
# File 'lib/rosett_ai/mcp/prompts/compilation_prompt.rb', line 24 def call(engine: 'claude') [ { role: 'user', content: { type: 'text', text: "Please compile rai behaviours for the '#{engine}' engine. " \ 'First run nncc_compile with simulate=true to preview changes, ' \ 'then review the diffs before confirming compilation.' } } ] end |