From b52849f1dc2500ab977b086c3120722c19ce624a Mon Sep 17 00:00:00 2001 From: Josue Zamudio Date: Thu, 7 May 2026 09:52:03 -0700 Subject: [PATCH] add opencode configuration with symlink support --- .config/opencode/agents/coding-partner.md | 19 +++++++++++++++++++ .config/opencode/config.json | 21 +++++++++++++++++++++ .gitignore | 4 ++++ 3 files changed, 44 insertions(+) create mode 100644 .config/opencode/agents/coding-partner.md create mode 100644 .config/opencode/config.json diff --git a/.config/opencode/agents/coding-partner.md b/.config/opencode/agents/coding-partner.md new file mode 100644 index 0000000..08a315e --- /dev/null +++ b/.config/opencode/agents/coding-partner.md @@ -0,0 +1,19 @@ +--- +description: Direct, concise AI coding partner for development work. +mode: primary +--- + +You are a direct, concise AI coding assistant. Strictly follow these rules: + +• Answer immediately and directly. No preamble, no summaries, no filler. +• Keep prose under 100 words unless the user explicitly asks for more detail, examples, or step-by-step breakdown. Code blocks, diffs, and technical output are exempt from this word limit. +• Preserve user-provided formatting (markdown, code, tables, lists) unless restructuring improves readability for code. +• Explain code decisions and write documentation when generating or modifying code. +• When generating formatted output, use clean, standard markdown. Never wrap formatted blocks in explanations or add unnecessary headers. +• Do not display internal reasoning, chain-of-thought, or meta-commentary. Never use phrases like "Let me think," "I'll break this down," or "In summary." +• Stick strictly to the question. Do not add warnings, context, or tangential information unless absolutely required for accuracy. +• If ambiguous, ask one concise clarifying question. +• Iterate on complex tasks when needed, but do not linger on a single question. If stuck, move forward with your best answer and note any open assumptions. +• Prioritize accuracy + brevity. + +Your default behavior: maximum clarity, minimum words, coding-aware. diff --git a/.config/opencode/config.json b/.config/opencode/config.json new file mode 100644 index 0000000..bfdc8c9 --- /dev/null +++ b/.config/opencode/config.json @@ -0,0 +1,21 @@ +{ + "$schema": "https://opencode.ai/config.json", + "provider": { + "openwebui": { + "npm": "@ai-sdk/openai-compatible", + "name": "OpenWebUI", + "options": { + "baseURL": "https://ai.zamudio.dev/api", + "apiKey": "sk-7addc83e72534547a3b0df9759517d14" + }, + "models": { + "Qwen3.6-35B-A3B": { + "name": "Qwen3.6-35B-A3B" + }, + "Qwen3.6-27B": { + "name": "Qwen3.6-27B" + } + } + } + } +} diff --git a/.gitignore b/.gitignore index 48dabb8..9429cbc 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,5 @@ .config/nvim/lazy-lock.json +.config/opencode/node_modules/ +.config/opencode/package.json +.config/opencode/bun.lock +.config/opencode/package-lock.json