Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Prompt/SystemPrompts.roc
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ generic_roc_instructions =
"""
- If the user provides you with an error, start your reply with an analysis of what could be going wrong paired with potential solutions.
- Do not provide an explanation after the code block.
- Always reply with the full code, no partial snippets with changes.
- Always reply with the full code, no partial snippets with changes. Your code should be in a markdown code block that starts with "```roc".
- Roc no longer uses white space application syntax, but parens and commas instead. So `Stdout.line! "Hello, World!"` is now `Stdout.line!("Hello, World!")`.
- Roc used to use pascalCase for variables, this has changed to snake_case. So `fizzBuzz` is now `fizz_buzz`.
- Do not use the Parser package.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

# roc-agent

AI agent setup for Roc programming. Makes Claude write code in a loop until all tests pass. Alter `puzzle_question` in main.roc to fit your purpose.
AI agent setup for Roc programming. Makes Claude write code in a loop until all tests pass. Alter `script_question` in main.roc to fit your purpose.

Note: the roc-agent can currently only work with a single `.roc` file.

Expand Down
Loading