prepare-issue-pr

Automate Issue or Pull Request creation from repository templates.

15|Updated Oct 5, 2024
One-click install
npx skills add https://github.com/sushichan044/dotfiles --skill prepare-issue-pr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prepare-issue-pr
Source: https://github.com/sushichan044/dotfiles/tree/main/home/dot_claude/skills/prepare-issue-pr
Command: npx skills add https://github.com/sushichan044/dotfiles --skill prepare-issue-pr

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill acts as an Issue/PR Preparation Specialist, automatically determining whether to prepare an Issue or a Pull Request based on your context. It discovers suitable templates, guides you through filling them without altering the original template content, and saves the prepared content to a memo file for easy reference.

Core Features & Use Cases

  • Type detection based on context (issue indicators vs PR indicators) and git status.
  • Template discovery using filesystem searches to locate issue or PR templates.
  • Template selection when multiple matches exist; automatic use when only one.
  • Strict adherence to templates: no content deletion; all required sections are filled.
  • Template-driven content generation: for PRs, includes what and how; for Issues, focuses on problem and user needs.
  • Title generation: provides 2-3 concise, actionable title options.
  • Quality assurance: ensures completeness and consistency.
  • Memo persistence: saves results to a memo file for future reference.

Quick Start

Provide context about the desired outcome, and the agent will detect type, locate templates, fill out sections, generate titles, and save to a memo file. You can review and select from 2-3 title options and the final description before memoizing.

Frequently Asked Questions about prepare-issue-pr

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate filling out issue and pull request templates?

This Skill automatically detects whether you need an issue or PR template based on your git status and context, discovers matching templates in your repository, and populates required sections while preserving template structure. It generates 2-3 title options and saves the prepared content to a memo file for review.

Can this detect whether I should create an issue or a pull request?

Yes. The Skill analyzes your context and git status to determine type automatically. It recognizes issue indicators like bug reports or feature requests versus PR indicators like staged changes, then locates and applies the appropriate template.

What happens if my repository has multiple issue or PR templates?

The Skill searches for templates using filesystem discovery, automatically selects the single match if only one exists, and prompts you to choose from multiple matches when several are found. All template content is preserved; nothing is altered or deleted.

How does the Skill fill in pull request content?

For PRs, the Skill analyzes git changes with diff-ancestor-commit to capture both what changed and how. It fills required sections with problem and solution context, implementation details, and generates concise title options before saving to a memo file.

Does this Skill work with custom template formats?

Yes. The Skill uses filesystem searches to discover templates regardless of naming convention or format, then applies strict adherence to whatever structure exists. It fills required sections without modifying or altering the original template content.