roast-ai 0.4.7 → 0.4.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (250) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +1 -1
  3. data/Rakefile +2 -0
  4. data/examples/README.md +9 -0
  5. data/examples/available_tools_demo/workflow.yml +1 -1
  6. data/examples/basic_prompt_workflow/workflow.md +1 -0
  7. data/examples/basic_prompt_workflow/workflow.yml +14 -0
  8. data/lib/roast/version.rb +1 -1
  9. data/lib/roast/workflow/base_step.rb +2 -3
  10. data/lib/roast/workflow/step_loader.rb +2 -7
  11. data/lib/roast.rb +6 -1
  12. metadata +4 -239
  13. data/CHANGELOG.md +0 -369
  14. data/examples/agent_continue/add_documentation/prompt.md +0 -5
  15. data/examples/agent_continue/add_error_handling/prompt.md +0 -5
  16. data/examples/agent_continue/analyze_codebase/prompt.md +0 -7
  17. data/examples/agent_continue/combined_workflow.yml +0 -24
  18. data/examples/agent_continue/continue_adding_features/prompt.md +0 -4
  19. data/examples/agent_continue/create_integration_tests/prompt.md +0 -3
  20. data/examples/agent_continue/document_with_context/prompt.md +0 -5
  21. data/examples/agent_continue/explore_api/prompt.md +0 -6
  22. data/examples/agent_continue/implement_client/prompt.md +0 -6
  23. data/examples/agent_continue/inline_workflow.yml +0 -20
  24. data/examples/agent_continue/refactor_code/prompt.md +0 -2
  25. data/examples/agent_continue/verify_changes/prompt.md +0 -6
  26. data/examples/agent_continue/workflow.yml +0 -27
  27. data/examples/agent_workflow/README.md +0 -75
  28. data/examples/agent_workflow/apply_refactorings/prompt.md +0 -22
  29. data/examples/agent_workflow/identify_code_smells/prompt.md +0 -15
  30. data/examples/agent_workflow/summarize_improvements/prompt.md +0 -18
  31. data/examples/agent_workflow/workflow.png +0 -0
  32. data/examples/agent_workflow/workflow.yml +0 -16
  33. data/examples/api_workflow/README.md +0 -85
  34. data/examples/api_workflow/fetch_api_data/prompt.md +0 -10
  35. data/examples/api_workflow/generate_report/prompt.md +0 -10
  36. data/examples/api_workflow/prompt.md +0 -10
  37. data/examples/api_workflow/transform_data/prompt.md +0 -10
  38. data/examples/api_workflow/workflow.png +0 -0
  39. data/examples/api_workflow/workflow.yml +0 -30
  40. data/examples/apply_diff_demo/README.md +0 -58
  41. data/examples/apply_diff_demo/apply_simple_change/prompt.md +0 -13
  42. data/examples/apply_diff_demo/create_sample_file/prompt.md +0 -11
  43. data/examples/apply_diff_demo/workflow.yml +0 -24
  44. data/examples/available_tools_demo/workflow.png +0 -0
  45. data/examples/bash_prototyping/README.md +0 -53
  46. data/examples/bash_prototyping/analyze_network/prompt.md +0 -13
  47. data/examples/bash_prototyping/analyze_system/prompt.md +0 -11
  48. data/examples/bash_prototyping/api_testing.png +0 -0
  49. data/examples/bash_prototyping/api_testing.yml +0 -14
  50. data/examples/bash_prototyping/check_processes/prompt.md +0 -11
  51. data/examples/bash_prototyping/generate_report/prompt.md +0 -16
  52. data/examples/bash_prototyping/process_json_response/prompt.md +0 -24
  53. data/examples/bash_prototyping/system_analysis.png +0 -0
  54. data/examples/bash_prototyping/system_analysis.yml +0 -14
  55. data/examples/bash_prototyping/test_public_api/prompt.md +0 -22
  56. data/examples/case_when/README.md +0 -58
  57. data/examples/case_when/detect_language/prompt.md +0 -16
  58. data/examples/case_when/workflow.png +0 -0
  59. data/examples/case_when/workflow.yml +0 -58
  60. data/examples/cmd/README.md +0 -99
  61. data/examples/cmd/analyze_project/prompt.md +0 -57
  62. data/examples/cmd/basic_demo/prompt.md +0 -48
  63. data/examples/cmd/basic_workflow.png +0 -0
  64. data/examples/cmd/basic_workflow.yml +0 -16
  65. data/examples/cmd/check_repository/prompt.md +0 -57
  66. data/examples/cmd/create_and_verify/prompt.md +0 -56
  67. data/examples/cmd/dev_workflow.png +0 -0
  68. data/examples/cmd/dev_workflow.yml +0 -26
  69. data/examples/cmd/explore_project/prompt.md +0 -67
  70. data/examples/cmd/explorer_workflow.png +0 -0
  71. data/examples/cmd/explorer_workflow.yml +0 -21
  72. data/examples/cmd/smart_tool_selection/prompt.md +0 -99
  73. data/examples/coding_agent_with_model.yml +0 -20
  74. data/examples/coding_agent_with_retries.yml +0 -30
  75. data/examples/conditional/README.md +0 -161
  76. data/examples/conditional/check_condition/prompt.md +0 -1
  77. data/examples/conditional/simple_workflow.png +0 -0
  78. data/examples/conditional/simple_workflow.yml +0 -15
  79. data/examples/conditional/workflow.png +0 -0
  80. data/examples/conditional/workflow.yml +0 -23
  81. data/examples/context_management_demo/README.md +0 -43
  82. data/examples/context_management_demo/workflow.yml +0 -42
  83. data/examples/direct_coerce_syntax/README.md +0 -32
  84. data/examples/direct_coerce_syntax/workflow.png +0 -0
  85. data/examples/direct_coerce_syntax/workflow.yml +0 -36
  86. data/examples/dot_notation/README.md +0 -37
  87. data/examples/dot_notation/workflow.png +0 -0
  88. data/examples/dot_notation/workflow.yml +0 -44
  89. data/examples/exit_on_error/README.md +0 -50
  90. data/examples/exit_on_error/analyze_lint_output/prompt.md +0 -9
  91. data/examples/exit_on_error/apply_fixes/prompt.md +0 -2
  92. data/examples/exit_on_error/workflow.png +0 -0
  93. data/examples/exit_on_error/workflow.yml +0 -19
  94. data/examples/grading/README.md +0 -71
  95. data/examples/grading/analyze_coverage/prompt.md +0 -52
  96. data/examples/grading/calculate_final_grade.rb +0 -67
  97. data/examples/grading/format_result.rb +0 -64
  98. data/examples/grading/generate_grades/prompt.md +0 -105
  99. data/examples/grading/generate_recommendations/output.txt +0 -17
  100. data/examples/grading/generate_recommendations/prompt.md +0 -60
  101. data/examples/grading/js_test_runner +0 -31
  102. data/examples/grading/rb_test_runner +0 -19
  103. data/examples/grading/read_dependencies/prompt.md +0 -16
  104. data/examples/grading/run_coverage.rb +0 -54
  105. data/examples/grading/verify_mocks_and_stubs/prompt.md +0 -12
  106. data/examples/grading/verify_test_helpers/prompt.md +0 -53
  107. data/examples/grading/workflow.md +0 -8
  108. data/examples/grading/workflow.png +0 -0
  109. data/examples/grading/workflow.rb.md +0 -6
  110. data/examples/grading/workflow.ts+tsx.md +0 -6
  111. data/examples/grading/workflow.yml +0 -41
  112. data/examples/instrumentation.rb +0 -76
  113. data/examples/interpolation/README.md +0 -50
  114. data/examples/interpolation/analyze_file/prompt.md +0 -1
  115. data/examples/interpolation/analyze_patterns/prompt.md +0 -27
  116. data/examples/interpolation/generate_report_for_js/prompt.md +0 -3
  117. data/examples/interpolation/generate_report_for_rb/prompt.md +0 -3
  118. data/examples/interpolation/sample.js +0 -48
  119. data/examples/interpolation/sample.rb +0 -42
  120. data/examples/interpolation/workflow.md +0 -1
  121. data/examples/interpolation/workflow.png +0 -0
  122. data/examples/interpolation/workflow.yml +0 -21
  123. data/examples/iteration/IMPLEMENTATION.md +0 -88
  124. data/examples/iteration/README.md +0 -68
  125. data/examples/iteration/analyze_complexity/prompt.md +0 -22
  126. data/examples/iteration/generate_recommendations/prompt.md +0 -21
  127. data/examples/iteration/generate_report/prompt.md +0 -129
  128. data/examples/iteration/implement_fix/prompt.md +0 -25
  129. data/examples/iteration/prioritize_issues/prompt.md +0 -24
  130. data/examples/iteration/prompts/analyze_file.md +0 -28
  131. data/examples/iteration/prompts/generate_summary.md +0 -24
  132. data/examples/iteration/prompts/update_report.md +0 -29
  133. data/examples/iteration/prompts/write_report.md +0 -22
  134. data/examples/iteration/read_file/prompt.md +0 -9
  135. data/examples/iteration/select_next_issue/prompt.md +0 -25
  136. data/examples/iteration/simple_workflow.md +0 -39
  137. data/examples/iteration/simple_workflow.yml +0 -58
  138. data/examples/iteration/update_fix_count/prompt.md +0 -26
  139. data/examples/iteration/verify_fix/prompt.md +0 -29
  140. data/examples/iteration/workflow.png +0 -0
  141. data/examples/iteration/workflow.yml +0 -42
  142. data/examples/json_handling/README.md +0 -32
  143. data/examples/json_handling/workflow.png +0 -0
  144. data/examples/json_handling/workflow.yml +0 -52
  145. data/examples/mcp/README.md +0 -223
  146. data/examples/mcp/analyze_changes/prompt.md +0 -8
  147. data/examples/mcp/analyze_issues/prompt.md +0 -4
  148. data/examples/mcp/analyze_schema/prompt.md +0 -4
  149. data/examples/mcp/check_data_quality/prompt.md +0 -5
  150. data/examples/mcp/check_documentation/prompt.md +0 -4
  151. data/examples/mcp/create_recommendations/prompt.md +0 -5
  152. data/examples/mcp/database_workflow.png +0 -0
  153. data/examples/mcp/database_workflow.yml +0 -29
  154. data/examples/mcp/env_demo/workflow.png +0 -0
  155. data/examples/mcp/env_demo/workflow.yml +0 -34
  156. data/examples/mcp/fetch_pr_context/prompt.md +0 -4
  157. data/examples/mcp/filesystem_demo/create_test_file/prompt.md +0 -2
  158. data/examples/mcp/filesystem_demo/list_files/prompt.md +0 -6
  159. data/examples/mcp/filesystem_demo/read_with_mcp/prompt.md +0 -7
  160. data/examples/mcp/filesystem_demo/workflow.png +0 -0
  161. data/examples/mcp/filesystem_demo/workflow.yml +0 -38
  162. data/examples/mcp/generate_insights/prompt.md +0 -4
  163. data/examples/mcp/generate_report/prompt.md +0 -6
  164. data/examples/mcp/generate_review/prompt.md +0 -16
  165. data/examples/mcp/github_workflow.png +0 -0
  166. data/examples/mcp/github_workflow.yml +0 -32
  167. data/examples/mcp/multi_mcp_workflow.png +0 -0
  168. data/examples/mcp/multi_mcp_workflow.yml +0 -58
  169. data/examples/mcp/post_review/prompt.md +0 -3
  170. data/examples/mcp/save_report/prompt.md +0 -6
  171. data/examples/mcp/search_issues/prompt.md +0 -2
  172. data/examples/mcp/summarize/prompt.md +0 -1
  173. data/examples/mcp/test_filesystem/prompt.md +0 -6
  174. data/examples/mcp/test_github/prompt.md +0 -8
  175. data/examples/mcp/test_read/prompt.md +0 -1
  176. data/examples/mcp/workflow.png +0 -0
  177. data/examples/mcp/workflow.yml +0 -35
  178. data/examples/no_model_fallback/README.md +0 -17
  179. data/examples/no_model_fallback/analyze_file/prompt.md +0 -1
  180. data/examples/no_model_fallback/analyze_patterns/prompt.md +0 -27
  181. data/examples/no_model_fallback/generate_report_for_md/prompt.md +0 -10
  182. data/examples/no_model_fallback/generate_report_for_rb/prompt.md +0 -3
  183. data/examples/no_model_fallback/sample.rb +0 -42
  184. data/examples/no_model_fallback/workflow.yml +0 -19
  185. data/examples/openrouter_example/README.md +0 -48
  186. data/examples/openrouter_example/analyze_input/prompt.md +0 -16
  187. data/examples/openrouter_example/generate_response/prompt.md +0 -9
  188. data/examples/openrouter_example/workflow.png +0 -0
  189. data/examples/openrouter_example/workflow.yml +0 -12
  190. data/examples/pre_post_processing/README.md +0 -111
  191. data/examples/pre_post_processing/analyze_test_file/prompt.md +0 -23
  192. data/examples/pre_post_processing/improve_test_coverage/prompt.md +0 -17
  193. data/examples/pre_post_processing/optimize_test_performance/prompt.md +0 -25
  194. data/examples/pre_post_processing/post_processing/aggregate_metrics/prompt.md +0 -31
  195. data/examples/pre_post_processing/post_processing/cleanup_environment/prompt.md +0 -28
  196. data/examples/pre_post_processing/post_processing/generate_summary_report/prompt.md +0 -32
  197. data/examples/pre_post_processing/post_processing/output.txt +0 -24
  198. data/examples/pre_post_processing/pre_processing/gather_baseline_metrics/prompt.md +0 -26
  199. data/examples/pre_post_processing/pre_processing/setup_test_environment/prompt.md +0 -11
  200. data/examples/pre_post_processing/validate_changes/prompt.md +0 -24
  201. data/examples/pre_post_processing/workflow.png +0 -0
  202. data/examples/pre_post_processing/workflow.yml +0 -21
  203. data/examples/retry/workflow.yml +0 -23
  204. data/examples/rspec_to_minitest/README.md +0 -68
  205. data/examples/rspec_to_minitest/analyze_spec/prompt.md +0 -30
  206. data/examples/rspec_to_minitest/create_minitest/prompt.md +0 -33
  207. data/examples/rspec_to_minitest/run_and_improve/prompt.md +0 -35
  208. data/examples/rspec_to_minitest/workflow.md +0 -10
  209. data/examples/rspec_to_minitest/workflow.png +0 -0
  210. data/examples/rspec_to_minitest/workflow.yml +0 -40
  211. data/examples/shared_config/README.md +0 -52
  212. data/examples/shared_config/example_with_shared_config/workflow.png +0 -0
  213. data/examples/shared_config/example_with_shared_config/workflow.yml +0 -6
  214. data/examples/shared_config/shared.png +0 -0
  215. data/examples/shared_config/shared.yml +0 -7
  216. data/examples/single_target_prepost/README.md +0 -36
  217. data/examples/single_target_prepost/post_processing/output.txt +0 -27
  218. data/examples/single_target_prepost/pre_processing/gather_dependencies/prompt.md +0 -11
  219. data/examples/single_target_prepost/workflow.png +0 -0
  220. data/examples/single_target_prepost/workflow.yml +0 -20
  221. data/examples/smart_coercion_defaults/README.md +0 -65
  222. data/examples/smart_coercion_defaults/workflow.png +0 -0
  223. data/examples/smart_coercion_defaults/workflow.yml +0 -44
  224. data/examples/step_configuration/README.md +0 -84
  225. data/examples/step_configuration/workflow.png +0 -0
  226. data/examples/step_configuration/workflow.yml +0 -57
  227. data/examples/swarm_example.yml +0 -25
  228. data/examples/tool_config_example/README.md +0 -109
  229. data/examples/tool_config_example/example_step/prompt.md +0 -42
  230. data/examples/tool_config_example/workflow.png +0 -0
  231. data/examples/tool_config_example/workflow.yml +0 -17
  232. data/examples/user_input/README.md +0 -90
  233. data/examples/user_input/funny_name/create_backstory/prompt.md +0 -10
  234. data/examples/user_input/funny_name/workflow.png +0 -0
  235. data/examples/user_input/funny_name/workflow.yml +0 -25
  236. data/examples/user_input/generate_summary/prompt.md +0 -11
  237. data/examples/user_input/simple_input_demo/workflow.png +0 -0
  238. data/examples/user_input/simple_input_demo/workflow.yml +0 -35
  239. data/examples/user_input/survey_workflow.png +0 -0
  240. data/examples/user_input/survey_workflow.yml +0 -71
  241. data/examples/user_input/welcome_message/prompt.md +0 -3
  242. data/examples/user_input/workflow.png +0 -0
  243. data/examples/user_input/workflow.yml +0 -73
  244. data/examples/workflow_generator/README.md +0 -27
  245. data/examples/workflow_generator/analyze_user_request/prompt.md +0 -34
  246. data/examples/workflow_generator/create_workflow_files/prompt.md +0 -32
  247. data/examples/workflow_generator/get_user_input/prompt.md +0 -14
  248. data/examples/workflow_generator/info_from_roast.rb +0 -22
  249. data/examples/workflow_generator/workflow.png +0 -0
  250. data/examples/workflow_generator/workflow.yml +0 -34
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f1d2d1b26f4618a6036bc890e0426b5fe6c10dfd530e1c391d68b46680d2c2bc
4
- data.tar.gz: e6b5670d414a2349c639b45a9b9d7b45b74a6dafc48cd706fedf8b55af88b6d2
3
+ metadata.gz: '0019e9658942394301e91581ecc45b259c76f1999f17cc8f1ddf4f97692ea639'
4
+ data.tar.gz: feb3d19b4316a2ea2751347a614f816c22cbd53182821eed661488c760a9897a
5
5
  SHA512:
6
- metadata.gz: 447c20f3a2b170ce7ced6c14c5a1f62117299a984f513a6fb83f9c53934bbb6239c3dd11a791fe0437475af127a315120140b6e1918c124c25d774e3cc1cf2d3
7
- data.tar.gz: cabe9380d1d1859c49d71d79547a1cc13f0d15f550aa373d82523384a0a8a8dda1f21bf1a6a2bfb2196bf3e4d6f1161ff047cbd498ca790c90e86006629e972b
6
+ metadata.gz: b8c5442247e1e0aae1cb7aa4509a3724fb1867bf9b05b15cfe1da4a8287db1db8229026ad3be66cc450b57650e8dd00d4eca632021680f3320d2bbf8dd19fc89
7
+ data.tar.gz: bbf18e07720a9cfe48abc2780f0f2cdba7d091bb3b2103318556910693dc54b09980ac0f2133876a811700345cdb6fa9e32d87cd4622f9039fe1bbbb7ffe3151
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- roast-ai (0.4.7)
4
+ roast-ai (0.4.8)
5
5
  activesupport (>= 7.0)
6
6
  cli-kit (~> 5.0)
7
7
  cli-ui (= 2.3.0)
data/Rakefile CHANGED
@@ -31,3 +31,5 @@ RuboCop::RakeTask.new(:rubocop) do |task|
31
31
  end
32
32
 
33
33
  task default: [:test, :rubocop]
34
+
35
+ task lint: [:rubocop]
@@ -0,0 +1,9 @@
1
+ These examples demonstrate various usages and features of Roast. They are automatically tested and verified by functional tests (see `test/functional/roast_examples_test.rb`).
2
+
3
+ ### available_tools_demo
4
+
5
+ Demonstrates use of Roast tool implementations in LLM steps. Steps are implemented with `prompt.md` in directories that match the step name
6
+
7
+ ### basic_prompt_workflow
8
+
9
+ Demonstrates using LLM steps to glean insights from a provided data file (`test/fixtures/sample_data/skateboard_orders.csv`).
@@ -1,4 +1,4 @@
1
- model: openai:gpt-4o-mini
1
+ model: gpt-4o-mini
2
2
 
3
3
  tools:
4
4
  - Roast::Tools::Grep
@@ -0,0 +1 @@
1
+ You are a skateboard shop owner looking for insights on their business.
@@ -0,0 +1,14 @@
1
+ name: Analyze My Business
2
+ description: Examines a CSV list of orders for insights
3
+
4
+ # Default model for all steps
5
+ model: google:gemini-2.5-flash
6
+ tools:
7
+ - Roast::Tools::ReadFile
8
+ - Roast::Tools::Grep
9
+
10
+ steps:
11
+ - Read the provided CSV files.
12
+ - "Where are most of my customers from?"
13
+ - "What is my most popular product?"
14
+ - Summarize the insights from the report.
data/lib/roast/version.rb CHANGED
@@ -2,5 +2,5 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  module Roast
5
- VERSION = "0.4.7"
5
+ VERSION = "0.4.8"
6
6
  end
@@ -10,10 +10,9 @@ module Roast
10
10
  delegate :append_to_final_output, :transcript, to: :workflow
11
11
  delegate_missing_to :workflow
12
12
 
13
- # TODO: is this really the model we want to default to, and is this the right place to set it?
14
- def initialize(workflow, model: "anthropic:claude-opus-4", name: nil, context_path: nil)
13
+ def initialize(workflow, model: nil, name: nil, context_path: nil)
15
14
  @workflow = workflow
16
- @model = model
15
+ @model = model || workflow.model || StepLoader::DEFAULT_MODEL
17
16
  @name = normalize_name(name)
18
17
  @context_path = context_path || ContextPathResolver.resolve(self.class)
19
18
  @print_response = false
@@ -208,8 +208,8 @@ module Roast
208
208
  def configure_step(step, step_name, is_last_step: nil)
209
209
  step_config = config_hash[step_name]
210
210
 
211
- # Always set the model
212
- step.model = determine_model(step_config)
211
+ # Only set the model if explicitly specified for this step
212
+ step.model = step_config["model"] if step_config&.key?("model")
213
213
 
214
214
  # Pass resource to step if supported
215
215
  step.resource = workflow.resource if step.respond_to?(:resource=)
@@ -223,11 +223,6 @@ module Roast
223
223
  end
224
224
  end
225
225
 
226
- # Determine which model to use for the step
227
- def determine_model(step_config)
228
- step_config&.dig("model") || config_hash["model"] || DEFAULT_MODEL
229
- end
230
-
231
226
  # Apply configuration settings to a step
232
227
  def apply_step_configuration(step, step_config)
233
228
  step.print_response = step_config["print_response"] if step_config.key?("print_response")
data/lib/roast.rb CHANGED
@@ -21,6 +21,7 @@ require "yaml"
21
21
  # Third-party gem requires
22
22
  require "active_support"
23
23
  require "active_support/cache"
24
+ require "active_support/core_ext/array"
24
25
  require "active_support/core_ext/hash/indifferent_access"
25
26
  require "active_support/core_ext/module/delegation"
26
27
  require "active_support/core_ext/string"
@@ -327,7 +328,11 @@ module Roast
327
328
  def copy_example(example_name)
328
329
  examples_dir = File.join(Roast::ROOT, "examples")
329
330
  source_path = File.join(examples_dir, example_name)
330
- target_path = File.join(Dir.pwd, example_name)
331
+
332
+ # Always place new workflows in roast/ so `roast list` can find them
333
+ roast_dir = File.join(Dir.pwd, "roast")
334
+ FileUtils.mkdir_p(roast_dir)
335
+ target_path = File.join(roast_dir, example_name)
331
336
 
332
337
  unless File.directory?(source_path)
333
338
  puts "Example '#{example_name}' not found!"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: roast-ai
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.7
4
+ version: 0.4.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shopify
@@ -180,7 +180,6 @@ files:
180
180
  - ".rubocop.yml"
181
181
  - ".rubocop_todo.yml"
182
182
  - ".ruby-version"
183
- - CHANGELOG.md
184
183
  - CLAUDE.md
185
184
  - CLAUDE_NOTES.md
186
185
  - CODE_OF_CONDUCT.md
@@ -203,248 +202,14 @@ files:
203
202
  - docs/ITERATION_SYNTAX.md
204
203
  - docs/VALIDATION.md
205
204
  - dsl/simple.rb
206
- - examples/agent_continue/add_documentation/prompt.md
207
- - examples/agent_continue/add_error_handling/prompt.md
208
- - examples/agent_continue/analyze_codebase/prompt.md
209
- - examples/agent_continue/combined_workflow.yml
210
- - examples/agent_continue/continue_adding_features/prompt.md
211
- - examples/agent_continue/create_integration_tests/prompt.md
212
- - examples/agent_continue/document_with_context/prompt.md
213
- - examples/agent_continue/explore_api/prompt.md
214
- - examples/agent_continue/implement_client/prompt.md
215
- - examples/agent_continue/inline_workflow.yml
216
- - examples/agent_continue/refactor_code/prompt.md
217
- - examples/agent_continue/verify_changes/prompt.md
218
- - examples/agent_continue/workflow.yml
219
- - examples/agent_workflow/README.md
220
- - examples/agent_workflow/apply_refactorings/prompt.md
221
- - examples/agent_workflow/identify_code_smells/prompt.md
222
- - examples/agent_workflow/summarize_improvements/prompt.md
223
- - examples/agent_workflow/workflow.png
224
- - examples/agent_workflow/workflow.yml
225
- - examples/api_workflow/README.md
226
- - examples/api_workflow/fetch_api_data/prompt.md
227
- - examples/api_workflow/generate_report/prompt.md
228
- - examples/api_workflow/prompt.md
229
- - examples/api_workflow/transform_data/prompt.md
230
- - examples/api_workflow/workflow.png
231
- - examples/api_workflow/workflow.yml
232
- - examples/apply_diff_demo/README.md
233
- - examples/apply_diff_demo/apply_simple_change/prompt.md
234
- - examples/apply_diff_demo/create_sample_file/prompt.md
235
- - examples/apply_diff_demo/workflow.yml
205
+ - examples/README.md
236
206
  - examples/available_tools_demo/README.md
237
207
  - examples/available_tools_demo/analyze_files/prompt.md
238
208
  - examples/available_tools_demo/explore_directory/prompt.md
239
- - examples/available_tools_demo/workflow.png
240
209
  - examples/available_tools_demo/workflow.yml
241
210
  - examples/available_tools_demo/write_summary/prompt.md
242
- - examples/bash_prototyping/README.md
243
- - examples/bash_prototyping/analyze_network/prompt.md
244
- - examples/bash_prototyping/analyze_system/prompt.md
245
- - examples/bash_prototyping/api_testing.png
246
- - examples/bash_prototyping/api_testing.yml
247
- - examples/bash_prototyping/check_processes/prompt.md
248
- - examples/bash_prototyping/generate_report/prompt.md
249
- - examples/bash_prototyping/process_json_response/prompt.md
250
- - examples/bash_prototyping/system_analysis.png
251
- - examples/bash_prototyping/system_analysis.yml
252
- - examples/bash_prototyping/test_public_api/prompt.md
253
- - examples/case_when/README.md
254
- - examples/case_when/detect_language/prompt.md
255
- - examples/case_when/workflow.png
256
- - examples/case_when/workflow.yml
257
- - examples/cmd/README.md
258
- - examples/cmd/analyze_project/prompt.md
259
- - examples/cmd/basic_demo/prompt.md
260
- - examples/cmd/basic_workflow.png
261
- - examples/cmd/basic_workflow.yml
262
- - examples/cmd/check_repository/prompt.md
263
- - examples/cmd/create_and_verify/prompt.md
264
- - examples/cmd/dev_workflow.png
265
- - examples/cmd/dev_workflow.yml
266
- - examples/cmd/explore_project/prompt.md
267
- - examples/cmd/explorer_workflow.png
268
- - examples/cmd/explorer_workflow.yml
269
- - examples/cmd/smart_tool_selection/prompt.md
270
- - examples/coding_agent_with_model.yml
271
- - examples/coding_agent_with_retries.yml
272
- - examples/conditional/README.md
273
- - examples/conditional/check_condition/prompt.md
274
- - examples/conditional/simple_workflow.png
275
- - examples/conditional/simple_workflow.yml
276
- - examples/conditional/workflow.png
277
- - examples/conditional/workflow.yml
278
- - examples/context_management_demo/README.md
279
- - examples/context_management_demo/workflow.yml
280
- - examples/direct_coerce_syntax/README.md
281
- - examples/direct_coerce_syntax/workflow.png
282
- - examples/direct_coerce_syntax/workflow.yml
283
- - examples/dot_notation/README.md
284
- - examples/dot_notation/workflow.png
285
- - examples/dot_notation/workflow.yml
286
- - examples/exit_on_error/README.md
287
- - examples/exit_on_error/analyze_lint_output/prompt.md
288
- - examples/exit_on_error/apply_fixes/prompt.md
289
- - examples/exit_on_error/workflow.png
290
- - examples/exit_on_error/workflow.yml
291
- - examples/grading/README.md
292
- - examples/grading/analyze_coverage/prompt.md
293
- - examples/grading/calculate_final_grade.rb
294
- - examples/grading/format_result.rb
295
- - examples/grading/generate_grades/prompt.md
296
- - examples/grading/generate_recommendations/output.txt
297
- - examples/grading/generate_recommendations/prompt.md
298
- - examples/grading/js_test_runner
299
- - examples/grading/rb_test_runner
300
- - examples/grading/read_dependencies/prompt.md
301
- - examples/grading/run_coverage.rb
302
- - examples/grading/verify_mocks_and_stubs/prompt.md
303
- - examples/grading/verify_test_helpers/prompt.md
304
- - examples/grading/workflow.md
305
- - examples/grading/workflow.png
306
- - examples/grading/workflow.rb.md
307
- - examples/grading/workflow.ts+tsx.md
308
- - examples/grading/workflow.yml
309
- - examples/instrumentation.rb
310
- - examples/interpolation/README.md
311
- - examples/interpolation/analyze_file/prompt.md
312
- - examples/interpolation/analyze_patterns/prompt.md
313
- - examples/interpolation/generate_report_for_js/prompt.md
314
- - examples/interpolation/generate_report_for_rb/prompt.md
315
- - examples/interpolation/sample.js
316
- - examples/interpolation/sample.rb
317
- - examples/interpolation/workflow.md
318
- - examples/interpolation/workflow.png
319
- - examples/interpolation/workflow.yml
320
- - examples/iteration/IMPLEMENTATION.md
321
- - examples/iteration/README.md
322
- - examples/iteration/analyze_complexity/prompt.md
323
- - examples/iteration/generate_recommendations/prompt.md
324
- - examples/iteration/generate_report/prompt.md
325
- - examples/iteration/implement_fix/prompt.md
326
- - examples/iteration/prioritize_issues/prompt.md
327
- - examples/iteration/prompts/analyze_file.md
328
- - examples/iteration/prompts/generate_summary.md
329
- - examples/iteration/prompts/update_report.md
330
- - examples/iteration/prompts/write_report.md
331
- - examples/iteration/read_file/prompt.md
332
- - examples/iteration/select_next_issue/prompt.md
333
- - examples/iteration/simple_workflow.md
334
- - examples/iteration/simple_workflow.yml
335
- - examples/iteration/update_fix_count/prompt.md
336
- - examples/iteration/verify_fix/prompt.md
337
- - examples/iteration/workflow.png
338
- - examples/iteration/workflow.yml
339
- - examples/json_handling/README.md
340
- - examples/json_handling/workflow.png
341
- - examples/json_handling/workflow.yml
342
- - examples/mcp/README.md
343
- - examples/mcp/analyze_changes/prompt.md
344
- - examples/mcp/analyze_issues/prompt.md
345
- - examples/mcp/analyze_schema/prompt.md
346
- - examples/mcp/check_data_quality/prompt.md
347
- - examples/mcp/check_documentation/prompt.md
348
- - examples/mcp/create_recommendations/prompt.md
349
- - examples/mcp/database_workflow.png
350
- - examples/mcp/database_workflow.yml
351
- - examples/mcp/env_demo/workflow.png
352
- - examples/mcp/env_demo/workflow.yml
353
- - examples/mcp/fetch_pr_context/prompt.md
354
- - examples/mcp/filesystem_demo/create_test_file/prompt.md
355
- - examples/mcp/filesystem_demo/list_files/prompt.md
356
- - examples/mcp/filesystem_demo/read_with_mcp/prompt.md
357
- - examples/mcp/filesystem_demo/workflow.png
358
- - examples/mcp/filesystem_demo/workflow.yml
359
- - examples/mcp/generate_insights/prompt.md
360
- - examples/mcp/generate_report/prompt.md
361
- - examples/mcp/generate_review/prompt.md
362
- - examples/mcp/github_workflow.png
363
- - examples/mcp/github_workflow.yml
364
- - examples/mcp/multi_mcp_workflow.png
365
- - examples/mcp/multi_mcp_workflow.yml
366
- - examples/mcp/post_review/prompt.md
367
- - examples/mcp/save_report/prompt.md
368
- - examples/mcp/search_issues/prompt.md
369
- - examples/mcp/summarize/prompt.md
370
- - examples/mcp/test_filesystem/prompt.md
371
- - examples/mcp/test_github/prompt.md
372
- - examples/mcp/test_read/prompt.md
373
- - examples/mcp/workflow.png
374
- - examples/mcp/workflow.yml
375
- - examples/no_model_fallback/README.md
376
- - examples/no_model_fallback/analyze_file/prompt.md
377
- - examples/no_model_fallback/analyze_patterns/prompt.md
378
- - examples/no_model_fallback/generate_report_for_md/prompt.md
379
- - examples/no_model_fallback/generate_report_for_rb/prompt.md
380
- - examples/no_model_fallback/sample.rb
381
- - examples/no_model_fallback/workflow.yml
382
- - examples/openrouter_example/README.md
383
- - examples/openrouter_example/analyze_input/prompt.md
384
- - examples/openrouter_example/generate_response/prompt.md
385
- - examples/openrouter_example/workflow.png
386
- - examples/openrouter_example/workflow.yml
387
- - examples/pre_post_processing/README.md
388
- - examples/pre_post_processing/analyze_test_file/prompt.md
389
- - examples/pre_post_processing/improve_test_coverage/prompt.md
390
- - examples/pre_post_processing/optimize_test_performance/prompt.md
391
- - examples/pre_post_processing/post_processing/aggregate_metrics/prompt.md
392
- - examples/pre_post_processing/post_processing/cleanup_environment/prompt.md
393
- - examples/pre_post_processing/post_processing/generate_summary_report/prompt.md
394
- - examples/pre_post_processing/post_processing/output.txt
395
- - examples/pre_post_processing/pre_processing/gather_baseline_metrics/prompt.md
396
- - examples/pre_post_processing/pre_processing/setup_test_environment/prompt.md
397
- - examples/pre_post_processing/validate_changes/prompt.md
398
- - examples/pre_post_processing/workflow.png
399
- - examples/pre_post_processing/workflow.yml
400
- - examples/retry/workflow.yml
401
- - examples/rspec_to_minitest/README.md
402
- - examples/rspec_to_minitest/analyze_spec/prompt.md
403
- - examples/rspec_to_minitest/create_minitest/prompt.md
404
- - examples/rspec_to_minitest/run_and_improve/prompt.md
405
- - examples/rspec_to_minitest/workflow.md
406
- - examples/rspec_to_minitest/workflow.png
407
- - examples/rspec_to_minitest/workflow.yml
408
- - examples/shared_config/README.md
409
- - examples/shared_config/example_with_shared_config/workflow.png
410
- - examples/shared_config/example_with_shared_config/workflow.yml
411
- - examples/shared_config/shared.png
412
- - examples/shared_config/shared.yml
413
- - examples/single_target_prepost/README.md
414
- - examples/single_target_prepost/post_processing/output.txt
415
- - examples/single_target_prepost/pre_processing/gather_dependencies/prompt.md
416
- - examples/single_target_prepost/workflow.png
417
- - examples/single_target_prepost/workflow.yml
418
- - examples/smart_coercion_defaults/README.md
419
- - examples/smart_coercion_defaults/workflow.png
420
- - examples/smart_coercion_defaults/workflow.yml
421
- - examples/step_configuration/README.md
422
- - examples/step_configuration/workflow.png
423
- - examples/step_configuration/workflow.yml
424
- - examples/swarm_example.yml
425
- - examples/tool_config_example/README.md
426
- - examples/tool_config_example/example_step/prompt.md
427
- - examples/tool_config_example/workflow.png
428
- - examples/tool_config_example/workflow.yml
429
- - examples/user_input/README.md
430
- - examples/user_input/funny_name/create_backstory/prompt.md
431
- - examples/user_input/funny_name/workflow.png
432
- - examples/user_input/funny_name/workflow.yml
433
- - examples/user_input/generate_summary/prompt.md
434
- - examples/user_input/simple_input_demo/workflow.png
435
- - examples/user_input/simple_input_demo/workflow.yml
436
- - examples/user_input/survey_workflow.png
437
- - examples/user_input/survey_workflow.yml
438
- - examples/user_input/welcome_message/prompt.md
439
- - examples/user_input/workflow.png
440
- - examples/user_input/workflow.yml
441
- - examples/workflow_generator/README.md
442
- - examples/workflow_generator/analyze_user_request/prompt.md
443
- - examples/workflow_generator/create_workflow_files/prompt.md
444
- - examples/workflow_generator/get_user_input/prompt.md
445
- - examples/workflow_generator/info_from_roast.rb
446
- - examples/workflow_generator/workflow.png
447
- - examples/workflow_generator/workflow.yml
211
+ - examples/basic_prompt_workflow/workflow.md
212
+ - examples/basic_prompt_workflow/workflow.yml
448
213
  - exe/roast
449
214
  - gemfiles/activesupport7.gemfile
450
215
  - gemfiles/activesupport8.gemfile