بنقرة واحدة
create-github-issue
Create a GitHub issue from a bug or problem description found during testing.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Create a GitHub issue from a bug or problem description found during testing.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Run deep browser UI tests against the admin panels (global and project-level) using MCP Playwright.
Run deep browser UI tests against the SlateFlow Kanban board using MCP Playwright — covers board load, card CRUD, DnD lane transitions, card modal tabs, task checklists, filters, and lane management.
Run interactive browser UI tests against the running SlateFlow dev server using MCP Playwright.
Audit recent changes and verify that README.md, ROADMAP.md, and CLAUDE.md were all updated.
Reset and re-seed slateflow.db with realistic test data for local dev and demos.
Keep the OpenAPI spec in sync with route changes by diffing spec against actual route definitions.
استنادا إلى تصنيف SOC المهني
| name | create-github-issue |
| description | Create a GitHub issue from a bug or problem description found during testing. |
You are executing the /create-github-issue skill. This skill creates a GitHub issue with the problem description provided as an argument. It is called manually when you find a bug during testing (e.g., after running /playwright-ui or other verification tasks).
/create-github-issue Login redirects to blank page after OAuth callback
/create-github-issue Board DnD drops card in wrong lane on Firefox
/create-github-issue {free-text description of the issue}
If no argument is provided, you will prompt the user for a title and optional details.
Attempt to use the GitHub MCP tool (e.g., by checking if mcp__github__create_issue is available). If the GitHub MCP server is not available:
GitHub MCP not available — set GITHUB_PAT env var and restart Claude Code.Read $ARGUMENTS. This is the user's description of the issue.
$ARGUMENTS is non-empty: use it as the issue description.$ARGUMENTS is empty: prompt the user via AskUserQuestion:
Enter the issue title or description:
Use the user's response as the issue description.Store the description in a variable (e.g., issueDescription).
Run the following shell commands in parallel:
git branch --show-current # → currentBranch
git remote get-url origin # → remoteUrl (e.g., https://github.com/owner/repo.git)
date -u +"%Y-%m-%dT%H:%M:%SZ" # → timestamp
From remoteUrl, extract owner and repo:
https://github.com/owner/repo.git or git@github.com:owner/repo.gitowner and repo (last two path segments, .git suffix stripped)If extraction fails (e.g., not a GitHub repo), print an error and return.
Use AskUserQuestion to confirm before creating the issue:
Question 1: Issue Title (single-select, required)
issueDescription), marked as "(Recommended)"issueTitleQuestion 2: Labels (multi-select, optional)
bug (selected by default)enhancementuibackenddatabasedocumentationissueLabels (default: ["bug"] if none selected).Call mcp__github__create_issue with the following parameters:
owner: {owner}
repo: {repo}
title: {issueTitle}
body: |
## Description
{issueDescription}
## Environment
- Branch: {currentBranch}
- Date: {timestamp}
- Reported via: `/create-github-issue` skill
labels: {issueLabels}
Store the response (which includes the issue URL) in a variable (e.g., issueResponse).
If the MCP call succeeds, print:
✅ GitHub issue created:
{issueResponse.html_url}
Example:
✅ GitHub issue created:
https://github.com/anthropics/claude-code/issues/42
If the MCP call fails, print a detailed error message and the reason.
| Problem | Solution |
|---|---|
| "GitHub MCP not available" | Set GITHUB_PAT env var with repo scope, then restart Claude Code. Run npm run build or reload the Claude Code window. |
| "Could not extract owner/repo from remote URL" | Ensure this is a valid GitHub repository. Check git remote -v and confirm the origin URL is a GitHub repo. |
| Issue creation fails with "Bad credentials" | Verify GITHUB_PAT is set correctly and has repo scope. Test with gh auth status. |
| "Repository not found" or "Access denied" | Verify the token has repo access to the target repository. |
git remote get-url origin.GITHUB_PAT env var must be set before starting Claude Code for the GitHub MCP server to initialize.