From 9ccef08496b74faa1b4c0a1ac312d629926d4029 Mon Sep 17 00:00:00 2001 From: khaneliman Date: Thu, 24 Jul 2025 16:06:39 +0000 Subject: [PATCH] deploy: 64796151f79e6f3834bfc55f07c5487708bb5b3f --- options.xhtml | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 53 insertions(+), 1 deletion(-) diff --git a/options.xhtml b/options.xhtml index a15215288..241be8e2f 100644 --- a/options.xhtml +++ b/options.xhtml @@ -54715,6 +54715,57 @@ null or package

Default: pkgs.opencode

+

Declared by:

+ + +
+ +<home-manager/modules/programs/opencode.nix> + +
+ +
+ + programs.opencode.rules + + +
+
+

You can provide global custom instructions to opencode; this value is written to {file}~/.config/opencode/AGENTS.md

+ +

Type: +strings concatenated with “\n”

+ +

Default: +""

+ +

Example:

''
+  # TypeScript Project Rules
+
+  ## External File Loading
+
+  CRITICAL: When you encounter a file reference (e.g., @rules/general.md), use your Read tool to load it on a need-to-know basis. They're relevant to the SPECIFIC task at hand.
+
+  Instructions:
+
+  - Do NOT preemptively load all references - use lazy loading based on actual need
+  - When loaded, treat content as mandatory instructions that override defaults
+  - Follow references recursively when needed
+
+  ## Development Guidelines
+
+  For TypeScript code style and best practices: @docs/typescript-guidelines.md
+  For React component architecture and hooks patterns: @docs/react-patterns.md
+  For REST API design and error handling: @docs/api-standards.md
+  For testing strategies and coverage requirements: @test/testing-guidelines.md
+
+  ## General Guidelines
+
+  Read the following file immediately as it's relevant to all workflows: @rules/general-guidelines.md.
+''
+
+
+

Declared by:

@@ -54732,7 +54783,8 @@ null or package

Configuration written to $XDG_CONFIG_HOME/opencode/config.json. -See https://opencode.ai/docs/config/ for the documentation.

+See https://opencode.ai/docs/config/ for the documentation. +‘“$schema”: “https://opencode.ai/config.json”’ is automatically added to the config.

Type: JSON value