diff --git a/options.xhtml b/options.xhtml index e7b8a6ffc..d3bf4e94d 100644 --- a/options.xhtml +++ b/options.xhtml @@ -57639,6 +57639,94 @@ null or package

Default: pkgs.opencode

+

Declared by:

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

Custom agents for opencode. +The attribute name becomes the agent filename, and the value is either:

+ +

Type: +attribute set of (strings concatenated with ā€œ\nā€ or absolute path)

+ +

Default: +{ }

+ +

Example:

{
+  code-reviewer = ''
+    # Code Reviewer Agent
+
+    You are a senior software engineer specializing in code reviews.
+    Focus on code quality, security, and maintainability.
+
+    ## Guidelines
+    - Review for potential bugs and edge cases
+    - Check for security vulnerabilities
+    - Ensure code follows best practices
+    - Suggest improvements for readability and performance
+  '';
+  documentation = ./agents/documentation.md;
+}
+
+
+ +

Declared by:

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

Custom commands for opencode. +The attribute name becomes the command filename, and the value is either:

+ +

Type: +attribute set of (strings concatenated with ā€œ\nā€ or absolute path)

+ +

Default: +{ }

+ +

Example:

{
+  changelog = ''
+    # Update Changelog Command
+
+    Update CHANGELOG.md with a new entry for the specified version.
+    Usage: /changelog [version] [change-type] [message]
+  '';
+  fix-issue = ./commands/fix-issue.md;
+  commit = ''
+    # Commit Command
+
+    Create a git commit with proper message formatting.
+    Usage: /commit [message]
+  '';
+}
+
+
+

Declared by: