From cf7c5752fa969c44d35715da56174bd659eee2e4 Mon Sep 17 00:00:00 2001 From: Thomas Nemer Date: Sun, 7 Dec 2025 11:36:13 +0100 Subject: [PATCH] chore: add claude commands --- .claude/commands/create-issue.md | 5 ----- .claude/commands/take-issue.md | 29 ----------------------------- 2 files changed, 34 deletions(-) delete mode 100644 .claude/commands/create-issue.md delete mode 100644 .claude/commands/take-issue.md diff --git a/.claude/commands/create-issue.md b/.claude/commands/create-issue.md deleted file mode 100644 index 3684e33..0000000 --- a/.claude/commands/create-issue.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -description: Creates a new issue in the current repository with the provided title. -argument-hint: [title] ---- -You will create an new issue on the current github repository, using gh cli. The title will be $1 and the body will be created from the current conversation's context. diff --git a/.claude/commands/take-issue.md b/.claude/commands/take-issue.md deleted file mode 100644 index 35aa980..0000000 --- a/.claude/commands/take-issue.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -description: Implements an issue from the backlog -argument-hint: [issue-id] ---- -you will, in this order: - -1. use gh cli to read the issue #$1. -2. ensure all issues required before working on this one are resolved. - - 2.1 if not, suggest the first unresolved dependency issue to be worked on first and stop here. - -1. check if the issue has a size label. - - 3.1 if not, assess the complexity and add one of the following labels: -* 'size: xs' - Less than half a day -* 'size: s' - Half a day -* 'size: m' - One day -* 'size: l' - Two days (broken into subtasks) -* 'size: xl' - More than two days (broken into subtasks) -1. if the size is 'l' or 'xl', check if the issue is already broken into sub-tasks. - 4.1 if not, break the issue into smaller sub-tasks and create new github issues for each sub-task, linking them to the original issue, advise to work on the first sub-task to be worked on and stop here. - 4.2 if yes, check each sub taks has its own github issue. - 4.2.1 if not, create the missing github sub task issues and stop here. - 4.2.2 if yes, advise to work on the first sub-task to be worked on and stop here. - -2. if the size is 'xs', 's' or 'm', create a branch named after the issue's id and title. -3. delegate the implementation to a subagent. -4. iterate with the subagent until the issue's requirements are met. -5. create a pull request for the implementation.