aggregate-logs
Generate LEARNINGS.md from skill execution logs over a configurable time window.
Create a new GitHub issue with formatted description, labels, and optional reference links
> /plugin marketplace add athola/claude-night-marketHow it fires
How this command gets triggered: by you, by Claude, or both.
/create-issueContext preview
What this command does when you run it.
Create a new GitHub issue with formatted description, labels, and optional reference links
name: create-issue description: Create a new GitHub issue with formatted description, labels, and optional reference links usage: /create-issue <title> [--body <text>] [--labels <label>...] [--assignee <user>] [--milestone <milestone>] [--refs <url>...]
Creates a new GitHub issue in the current repository (or specified repo) with formatted description, labels, assignees, and optional reference links to related issues, PRs, or documentation.
1. **Extract Title**
The first positional argument is the title. If no flags follow, the entire argument string is the title.
2. **Parse Optional Flags**
Extract all optional parameters from the command arguments.
3. **Determine Target Repository**
# If --repo not specified, use current repository gh repo view --json owner,name -q '"\(.owner.login)/\(.name)"'
Construct the issue body from the provided description and references.
${body_text}
${references_section}If `--refs` URLs are provided, analyze and categorize them:
Use the WebFetch tool to retrieve metadata for each URL: - GitHub issue URLs → Extract issue number, title, status - GitHub PR URLs → Extract PR number, title, status - Documentation URLs → Extract page title - Other URLs → Use raw URL with domain name Format as a "Related Links" section: ## Related Links - [#123: Original feature request](https://github.com/owner/repo/issues/123) - [PR #456: Initial implementation](https://github.com/owner/repo/pull/456) - [Design Doc: Architecture](https://example.com/docs/architecture)
When `--template` flag is used, guide the user through structured prompts:
Use the AskUserQuestion tool for each section: 1. **Issue Type** Options: "Bug", "Feature", "Enhancement", "Documentation", "Question" 2. **Description Prompts** (based on type): For Bug: - What is the expected behavior? - What is the actual behavior? - Steps to reproduce? - Environment details? For Feature/Enhancement: - What problem does this solve? - Proposed solution? - Acceptance criteria? - Alternatives considered? 3. **Labels** (suggest based on type): - bug → "bug", "needs-triage" - feature → "enhancement", "feature" - documentation → "docs" 4. **Priority** (optional): Options: "critical", "high", "medium", "low" → Adds corresponding label 5. **Related Links**: Prompt: "Any related issues, PRs, or docs? (URLs, one per line, empty to finish)" Loop until empty input.
The template mode builds the full `gh issue create` command from responses.
Execute the GitHub CLI command to create the issue:
gh issue create \
--repo "${repo}" \
--title "${title}" \
--body "${body}" \
${labels:+--label "$labels"} \
${assignee:+--assignee "$assignee"} \
${milestone:+--milestone "$milestone"} \
${project:+--project "$project"}**Command Construction Notes:**
After successful creation, perform follow-up actions:
1. **Capture Issue URL**
gh issue create [...] --json url,number -q '"\(.number): \(.url)"'
2. **Display Summary**
Created issue #${number}
Title: ${title}
URL: ${url}
Labels: ${labels}
Assigned: ${assignee}3. **Optional: Add to Project Board**
If `--project` specified:
gh project item-add ${project_number} --url ${issue_url}4. **Optional: Link Related Issues**
If `--refs` contains GitHub issue/PR URLs, add automatic cross-references:
# For each GitHub ref URL
gh issue comment ${ref_number} --body "Related: ${new_issue_url}"/create-issue "Fix login timeout on slow connections"
**Result:**
Created issue #234 Title: Fix login timeout on slow connections URL: https://github.com/athola/skrills/issues/234
/create-issue "Add MCP analytics dashboard" \
--body "Create a web dashboard showing skill usage metrics and recommendations" \
--labels "enhancement" "mcp" \
--assignee "athola" \
--refs "https://github.com/athola/skrills/issues/21" \
"https://example.com/docs/analytics-spec"**Generated Body:**
Create a web dashboard showing skill usage metrics and recommendations ## Related Links - [#21: Enhance MCP analytics](https://github.com/athola/skrills/issues/21) - [Analytics Spec](https://example.com/docs/analytics-spec)
/create-issue --template > Issue Type? [Bug/Feature/Enhancement/Documentation/Question] Feature > What problem does this solve? Users need visibility into skill usage patterns. > Proposed solution? Build a dashboard using the MCP analytics API. > Acceptance criteria? (one per line, empty to finish) - Display skill co-occurrence graph - Show recommendation quality metrics - Allow date range filtering [empty] > Priority? [critical/high/medium/low/skip] medium
A plugin marketplace for Claude Code. Install only the plugins you need to run git workflows, code review, spec-driven development, and autonomous agents from inside your Claude Code session.
Generate LEARNINGS.md from skill execution logs over a configurable time window.
Analyze skill file complexity metrics and generate modularization recommendations for splitting or progressive loading.
Scaffold new Claude Code skills with brainstorming, TDD methodology, and proper frontmatter and module structure.