aggregate-logs
CommandGenerate 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-market
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. Follow `Skill(leyline:ticket-writing)`. If leyline is absent: the first screen says what was decided and why, or links to the document that does.
${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, with environment if it matters? For Feature/Enhancement: - What changes, or what was decided? - Why, in one to three sentences, or a link to the document? - Done when? (skip if the title says) 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 changes, or what was decided? Build a dashboard using the MCP analytics API. > Why, in one to three sentences, or a link to the document? Users cannot see skill usage patterns. >
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.
Generate context optimization report for skill directories
Create slash commands with brainstorming and best practices
Scaffold new Claude Code skills with brainstorming, TDD methodology, and proper frontmatter and module structure.
Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.