ref
Quickly create a refactoring task. Usage: /gobby:ref <title> [description]
Installation
Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.
Voir la source ↗GuidesInstructions
/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").
Exemples
Consultez les exemples du dépôt source.
Voir la source ↗Historique source
- Date d’indexation
- 2026-03-11
- Mise à jour de l’index
- 2026-03-11
- Branch
- main
Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!