Conversation
Requirement: Create a custom Claude Code slash command that simplifies GitHub issue creation by utilizing existing templates, automatically setting issue type to "Task", and assigning issues to the repository's linked GitHub Project. Implementation: - Created .claude/commands/make-task-issue.md with comprehensive workflow - Supports all 9 issue templates (feat, fix, doc, config, refactor, agent, bug, test, perf) - Flexible usage: with arguments or interactive mode - Automatic issue type setting to "Task" via GitHub API - Automatic GitHub Project assignment using gh project item-add - Template-based label application (e.g., feat template applies "feat" label) - Auto-assignment to creator via existing auto-assign workflow - Comprehensive error handling for invalid templates, missing CLI, and failed operations - Graceful degradation when issue types or projects are not available 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Requirement: Support 'agent' commit type across all custom commands to properly categorize agent-related changes such as rules, commands, and automation updates. Implementation: - Added 'agent' type to make-branch type prefix list - Added 'agent' type to make-commit type prefix list - Added 'agent' type to make-pr type prefix list 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
… usage Requirement: Improve make-task-issue command to use efficient project lookup and correct GitHub API field names for issue type assignment. Implementation: - Updated to use GraphQL repository.projectsV2 query for efficient project lookup - Changed from listing all org projects to querying only repository-linked projects - Fixed issue type API field from 'issue_type' to 'type' with capitalized values - Added GraphQL query example and implementation notes 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
There was a problem hiding this comment.
Pull Request Overview
This PR introduces a new /make-task-issue command for streamlined GitHub issue creation with automatic template selection, issue type assignment, and project board integration. It also adds support for the 'agent' commit type across all custom commands to properly categorize agent-related changes.
- Adds
/make-task-issuecommand with support for 9 issue templates and automatic GitHub Project integration - Adds 'agent' type to branch naming, commit, and PR title conventions
- Implements GraphQL-based project discovery for efficient repository-linked project queries
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| .claude/commands/make-task-issue.md | New command definition with workflow for creating GitHub issues with template selection, type assignment, and project integration |
| .claude/commands/make-pr.md | Added 'agent' type to PR title prefix conventions |
| .claude/commands/make-commit.md | Added 'agent' type to commit type conventions |
| .claude/commands/make-branch.md | Added 'agent' type to branch naming conventions |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requirement
Resolves #7
Create a custom Claude Code command
/make-task-issueto streamline GitHub issue creation with automatic template selection, issue type assignment, and project board integration. Also add support for the 'agent' commit type across all custom commands to properly categorize agent-related changes.Implementation
New
/make-task-issueCommand.claude/commands/make-task-issue.mdwith comprehensive workflowtypenotissue_type)repository.projectsV2) to find repository-linked projectsAgent Type Support
make-branch.mdtype prefix listmake-commit.mdtype prefix listmake-pr.mdtype prefix listTest
Successfully tested by creating issue #9 for Conventional Commits documentation:
doc) and issue titleReference
Human Check
🤖 Generated with Claude Code