Skip to content

agent: create custom Claude Code command for make-task-issue #7

@p-iknow

Description

@p-iknow

Requirement

What agent rule/command needs to be created/updated:

Create a custom Claude Code slash command (/make-task-issue) that simplifies the process of creating GitHub issues by utilizing existing issue templates and automatically assigning them to the GitHub Project linked to this repository.

Implementation Plan (optional)

Rule/Command type:
Slash command for interactive GitHub issue creation

Trigger conditions:
User invokes /make-task-issue command

Expected behavior:

  • Lists available issue templates from .github/ISSUE_TEMPLATE/ (feat, fix, doc, config, refactor, agent, bug, test, perf)
  • Provides interactive template selection
  • Pre-fills issue fields based on selected template
  • Creates issue via GitHub CLI (gh issue create)
  • Automatically assigns issue to repository's GitHub Project
  • Applies appropriate labels and assignees

Files to be modified:

  • .claude/commands/make-task-issue.md (new file)

Should be tested

  • Command lists all available issue templates correctly
  • Template selection workflow is intuitive
  • Created issues are properly linked to GitHub Project
  • All template fields are correctly populated
  • Labels are applied based on template type
  • Edge cases covered (no templates, invalid selection, etc.)
  • Documentation referenced properly

Reference

  • Existing issue templates: .github/ISSUE_TEMPLATE/
  • Similar patterns: /make-commit, /make-branch, /make-pr commands
  • GitHub Projects integration for automatic assignment

Metadata

Metadata

Assignees

Labels

agentAgent rules and commandsfeatNew features or enhancements

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions