搜索

PythonReactSEOPDF
GitHub Skill

ref

Quickly create a refactoring task. Usage: /gobby:ref <title> [description]

GobbyAI☆ 9 仓库 Stars2 仓库 Forks

安装与使用

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

查看来源 ↗使用指南

技能说明

/gobby:ref - Create Refactoring Task

Create a refactoring task with the provided title and optional description. For code improvements that don't change behavior.

Usage

/gobby:ref <title>
/gobby:ref <title> - <description>

Examples

/gobby:ref Extract database logic into repository class
/gobby:ref Simplify authentication middleware - Current implementation has too many nested conditionals
/gobby:ref Convert callbacks to async/await in file handlers

Tool Schema Reminder

First time calling a tool this session? Use get_tool_schema(server_name, tool_name) before call_tool to get correct parameters. Schemas are cached per session—no need to refetch.

Action

Create a refactoring task with the following parameters:

  • title: The refactoring title from user input
  • task_type: "chore"
  • labels: ["refactor"]
  • priority: 3 (low - important but not urgent)

Parse the user input:

  • If input contains " - ", split into title and description
  • Otherwise, use entire input as title
call_tool(
    server_name="gobby-tasks",
    tool_name="create_task",
    arguments={
        "title": "<parsed title>",
        "description": "<parsed description if any>",
        "task_type": "chore",
        "labels": ["refactor"],
        "priority": 3,
        "session_id": "<session_id>"  # Required - from session context
    }
)

After creating, confirm with the task reference (e.g., "Created refactor #126: Extract database logic into repository class").

使用示例

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

查看来源 ↗

来源历史

收录时间
2026-03-11
索引更新时间
2026-03-11
Branch
main

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

GitHub ↗

chat Comments (0)

chat_bubble_outline

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