From 54aa859adc8c96e8bc6551c0c7d40446144c98ea Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 7 Sep 2025 14:42:00 +0300 Subject: docs: document simplify action prompts; update examples and flags; add simplify entries to config.toml.example --- config.toml.example | 2 ++ 1 file changed, 2 insertions(+) (limited to 'config.toml.example') diff --git a/config.toml.example b/config.toml.example index 3b331c3..d9ed8ee 100644 --- a/config.toml.example +++ b/config.toml.example @@ -73,6 +73,8 @@ temperature = 0.2 # document_user = "Add documentation comments to this code:\n{{selection}}" # go_test_system = "You are a precise Go unit test generator. Given a Go function, write one or more Test* functions using the testing package. Do NOT include package or imports, only the test function(s). Prefer table-driven tests. Keep it minimal and idiomatic." # go_test_user = "Function under test:\n{{function}}" +# simplify_system = "You are a precise code improvement engine. Simplify and improve the given code while preserving behavior. Return only the improved code with no prose or backticks." +# simplify_user = "Improve this code:\n{{selection}}" [prompts.cli] # default_system = "You are Hexai CLI. Default to very short, concise answers. If the user asks for commands, output only the commands (one per line) with no commentary or explanation. Only when the word 'explain' appears in the prompt, produce a verbose explanation." -- cgit v1.2.3