搜索

PythonReactSEOPDF
GitHub Skill

author-command

Auhors a brand new OpenCode command following project best practices and conventions. Trigger on user queries such as: 'Create a new command to <do something>', 'Author a command that <does something>', 'I need a command that <does something>'.

SorraTheOrc☆ 0 仓库 Stars1 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

Author Command

Overview

You are authoring a new OpenCode command that implements a specific functionality as requested by the user. You will ensure that the command follows project best practices and conventions, and that it is well-documented and tested.

When To Use

  • User requests the creation of a new command (e.g., "Create a new command to ", "Author a command that ", "I need a command that ").

Behavior

  1. Review command authoring documentation at https://opencode.ai/docs/commands
  2. Review example commands at https://claude.ai/public/artifacts/e2725e41-cca5-48e5-9c15-6eab92012e75
  3. Gather requirements from the user about the desired command functionality, inputs, outputs, and any specific constraints or considerations.
  4. Draft the command code in markdown format, ensuring it adheres to project coding standards and conventions. Use the format in the examples at in https://claude.ai/public/artifacts/e2725e41-cca5-48e5-9c15-6eab92012e75
  5. Review the command markdown with the user for feedback and make necessary revisions. Do not proceed until the user approves the draft.
  6. Once approved, finalize the command markdown and place in the .opencode/commands directory
  7. Document the command in the README.md file and any other relevant documentation.

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-01-26
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!