con un clic
create-issue
// Create a GitHub issue (Bug Report or Feature Request) for the current project. Use when filing bugs, reporting issues, or requesting features.
// Create a GitHub issue (Bug Report or Feature Request) for the current project. Use when filing bugs, reporting issues, or requesting features.
Create a GitHub pull request with Conventional Commits title and structured description. Use when creating PRs, opening pull requests, or submitting code for review.
Review a GitHub pull request with inline comments on specific diff lines. Use when reviewing PRs, analyzing pull request changes, or providing code review feedback.
| name | create-issue |
| description | Create a GitHub issue (Bug Report or Feature Request) for the current project. Use when filing bugs, reporting issues, or requesting features. |
Create a GitHub issue for the repository epam/ai-dial-admin-deployment-manager-backend.
If $ARGUMENTS starts with bug or feature, use that as the issue type. Otherwise, ask the user whether this is a Bug Report or a Feature Request.
Determine issue type from $ARGUMENTS or by asking the user.
Get the project version — read build.gradle and extract the version field (e.g. 0.15.0-rc).
Gather context — investigate the codebase thoroughly to understand the issue. Use multiple approaches:
Draft the issue — read the appropriate GitHub issue template from .github/ISSUE_TEMPLATE/ and use it as the structure for the issue body:
.github/ISSUE_TEMPLATE/01_bug_report.yml — extract the field labels and structure from the YAML form definition..github/ISSUE_TEMPLATE/02_feature_request.yml — extract the field labels and structure from the YAML form definition.Convert the YAML form fields into a Markdown body where each field's label becomes a ### Heading and the content is filled in based on your investigation.
Determine labels and metadata:
labels field from the corresponding .github/ISSUE_TEMPLATE/*.yml file to get the correct labels (e.g. bug reports use bug; feature requests use enhancement and to-be-documented).Priority-Low, Priority-Medium, Priority-High. Guess the appropriate priority based on context, but always confirm with the user.Severity-Low, Severity-Minor, Severity-Major, Severity-Critical. Guess the appropriate severity based on context, but always confirm with the user.release-<MAJOR>.<MINOR> format (version from build.gradle without the bugfix/patch part, e.g. version 0.15.0-rc → milestone release-0.15). Always confirm the milestone with the user.gh project item-add after issue creation)Show the draft to the user — present the full issue title, body, labels, milestone, and project for review. Ask if they want to adjust anything before creating.
Create the issue using gh issue create on epam/ai-dial-admin-deployment-manager-backend with the title, body, labels, and milestone. Use a HEREDOC for the body. Example:
gh issue create --repo epam/ai-dial-admin-deployment-manager-backend \
--title "the title" \
--label "bug" --label "Priority-Medium" --label "Severity-Minor" \
--milestone "release-0.15" \
--body "$(cat <<'EOF'
issue body here
EOF
)"
Add to project — after creating the issue, add it to the AI DIAL Admin project (number 68):
gh project item-add 68 --owner epam --url <ISSUE_URL>
Set the issue type — use the mcp__github__issue_write tool to set the GitHub issue type. The available types for the epam org are: Bug, Feature, Task. Set Bug for bug reports and Feature for feature requests. Example:
mcp__github__issue_write(method="update", owner="epam", repo="ai-dial-admin-deployment-manager-backend", issue_number=<NUMBER>, type="Feature")
Return the issue URL to the user.
Templates are defined in .github/ISSUE_TEMPLATE/ — always read the appropriate YAML file to get the current field structure. Do NOT hardcode template fields here; the YAML files are the single source of truth.
.github/ISSUE_TEMPLATE/01_bug_report.yml.github/ISSUE_TEMPLATE/02_feature_request.ymlGeneral format for the issue body — for each field in the template YAML, create a ### <label> heading followed by the content. Use the version from build.gradle for the Name and Version field (e.g. [BE] 0.15.0-rc).
build.gradle to get the current version for both bug reports and feature requests..github/ISSUE_TEMPLATE/*.yml file and apply them to the issue.Bug for bug reports, Feature for feature requests (using mcp__github__issue_write).gh project item-add.