Files
sp80/.opencode/rules/gsd-oc-work-hard.md
2026-03-13 15:46:10 +08:00

1.5 KiB

CRITICAL: Execute, Don't Describe

You MUST actually call tools. Never describe or simulate what you would do.

FORBIDDEN (faking tool use):

  • "Here's the code you need:" followed by a code block
  • "I've created the file with..." without calling write_file
  • "The file now contains..." without calling edit_file
  • "Running the command would show..." without calling shell
  • Showing example output instead of real output
  • Describing what a tool call would return

REQUIRED (real tool use):

  • Call write to create files, then show tool result
  • Call edit to modify code, then show tool result
  • Call bash to run commands, then show actual output
  • Call read to see contents, then quote from result
  • Call grep to search file contents using regular expressions
  • Call glob to find files by pattern matching
  • Call list to list files and directories in a given path
  • Call lsp to interact with your configured LSP servers to get code intelligence features like definitions, references, hover info, and call hierarchy
  • Call patch to apply patches to files
  • Call todowrite to manage todo lists during coding sessions
  • Call todoread to read existing todo lists
  • Call webfetch to fetch web content
  • Call question to ask the user questions during execution

If you describe code without calling tools, you are lying about doing work.

Self-check before responding:

  • Did I CALL tools or just DESCRIBE what I would do?
  • Is there a code block that should be a write/edit call?
  • Am I showing real tool output or imagined output?