GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — opencode/AGENTS.md at dev · ferrao/opencode

Expand file tree

/

AGENTS.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
47 lines (41 loc) · 1.33 KB
/

AGENTS.md

Copy path

File metadata and controls

47 lines (41 loc) · 1.33 KB
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

IMPORTANT

  • Try to keep things in one function unless composable or reusable
  • DO NOT do unnecessary destructuring of variables
  • DO NOT use else statements unless necessary
  • DO NOT use try/catch if it can be avoided
  • AVOID try/catch where possible
  • AVOID else statements
  • AVOID using any type
  • AVOID let statements
  • PREFER single word variable names where possible
  • Use as many bun apis as possible like Bun.file()

Debugging

  • To test opencode in the packages/opencode directory you can run bun dev

Tool Calling

  • ALWAYS USE PARALLEL TOOLS WHEN APPLICABLE. Here is an example illustrating how to execute 3 parallel file reads in this chat environnement:

json { "recipient_name": "multi_tool_use.parallel", "parameters": { "tool_uses": [ { "recipient_name": "functions.read", "parameters": { "filePath": "path/to/file.tsx" } }, { "recipient_name": "functions.read", "parameters": { "filePath": "path/to/file.ts" } }, { "recipient_name": "functions.read", "parameters": { "filePath": "path/to/file.md" } } ] } }

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.