pf-create-issue
Create well-structured GitHub issues for PatternFly repositories with templates, follow-up tracking, and duplicate detection. Use when filing bugs, feature requests, or cross-repo follow-ups.
Best use case
pf-create-issue is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Create well-structured GitHub issues for PatternFly repositories with templates, follow-up tracking, and duplicate detection. Use when filing bugs, feature requests, or cross-repo follow-ups.
Teams using pf-create-issue should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/pf-create-issue/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How pf-create-issue Compares
| Feature / Agent | pf-create-issue | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Create well-structured GitHub issues for PatternFly repositories with templates, follow-up tracking, and duplicate detection. Use when filing bugs, feature requests, or cross-repo follow-ups.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# PatternFly Issue Creator Create well-structured issues for PatternFly repos. Handles templates, cross-repo followups, and duplicate detection. ## What to Do ### 1. Determine Target Repo **Detect context** from git remote, file paths, or keywords in user's request to suggest relevant repos: - React/JSX/component/props → patternfly-react - Token/design token → design-tokens - CSS/HTML/core/stylesheet/style → patternfly - guidelines/documentation/website → patternfly-org - a11y/accessibility/aria/screen reader/wcag → patternfly or patternfly-react, depending on other context - Migration/codemod/upgrade → pf-codemods - Extension → list PatternFly extension repos **Ask which repo** if not obvious. Show context-based suggestions first. ### 2. Choose Issue Type **A. New Issue** - Fresh issue for target repo **B. Followup Issue** - Work needed in target PatternFly repo after changes in source PatternFly repo ### 3A. New Issue Workflow **Find templates:** 1. Check current directory `.github/ISSUE_TEMPLATE/` 2. If not found, fetch from GitHub using `gh api` (if available) 3. If not found, ask for local clone path or search for local clone 4. If none found, offer blank issue **Pre-populate fields** from context: - Title: "Bug - [description]" or "[Component] - [description]" (feature) or "[description]" (tech debt/other issue type) - Component, description, steps, expected/actual behavior from user's request - Version from package.json if available **Ask user to confirm/edit** each pre-filled field. For blank fields, ask user to provide. ### 3B. Followup Issue Workflow **Ask how to determine followup work:** 1. User describes it themselves 2. Analyze git commits to suggest work **If analyzing commits:** - Get commits since branch diverged from main - Identify relevant changes only (new CSS classes, tokens, breaking changes, new features, accessibility updates, updated or new examples/demos) - Filter out auto-inherited changes (style updates that version bump handles) **Analyze target repo** (if found locally or local file path provided by user): - Search for component files affected by changes - Read current implementation (markup, classes, props, interfaces, examples) - Generate specific tasks with file paths: "Add `variant` prop to CardHeader.tsx:24" - If not found, provide generic suggestions **Search for related/dependent components** when suggesting work: - Select → also consider Menu, Popper, MenuToggle, Dropdown - DatePicker → also consider Calendar, TextInput - Table → also consider Checkbox, Pagination, Toolbar (See full list in patterns below) **Detect PR** for current branch using `gh pr view` (if available). Ask user if they want to reference it. **Structure followup issue:** - Title: Type-prefixed like new issues - Context section: Link to source PR or branch - Changes section: Only relevant changes (omit auto-inherited) - Work needed: Specific tasks (with file:line if analyzed) or generic tasks ### 4. Check for Similar Issues **Search with multiple strategies** using `gh issue list` (if available): 1. Exact: component + feature 2. Broad: component only 3. Related components: dependent/child components (Menu or Popper for Select and Dropdown, AccordionItem for Accordion) 4. Features: keywords like "keyboard", "variant", "loading" 5. Synonyms: "danger"→"error"/"destructive", "loading"→"spinner"/"pending" 6. Closed issues: recent completions **Score and deduplicate:** - High: Same component + feature - High-Medium: Related component + feature (note: "Menu (used by Select)") - Medium: Same component OR feature - Lower: Synonyms, related concepts **Show top 5-10 results** with relevance labels. Ask: create new, comment on existing, or cancel. **If no gh CLI**, skip check and inform user where to search manually before continuing to create a new issue. ### 5. Create or Save **With gh CLI** (if authenticated): Offer to create directly or save to file **Without gh CLI**: Save to file at user defined path or to `~/Desktop/[repo]-issue-[timestamp].md` by default Include title, body, and instructions to create manually if saved. ### 6. Confirm Report success (issue URL or file path). For followups, suggest linking to related work. ## Component Relationships When searching for duplicates or analyzing followup work, consider these dependencies: **Uses Popper:** - Select, Dropdown, DatePicker, TimePicker, Popover, Tooltip **Uses Menu:** - Select, Dropdown, DatePicker, TimePicker **Uses Form components:** - Form → FormGroup, TextInput, Checkbox, Radio, Select **Card family:** - Card → CardHeader, CardBody, CardFooter **Table family:** - Table → Checkbox, Pagination, Toolbar **Modal family:** - Modal, Wizard → Backdrop **List family:** - DataList → Checkbox, Radio ## Title Formats - **Bug**: "Bug - [description]" - **Feature**: "[Component] - [description]" (no "Feature" prefix) - **Tech Debt**: "[description]" (no prefix) ## Followup Patterns | Source Repo | Target Repo | Common Followup Work | | ----- | ----- | ------------------------------------ | | **patternfly** (HTML/CSS) | **patternfly-react** | Update React component to use new CSS classes, tokens, or structure; make updates to examples/demos for parity | | **patternfly-react** | **patternfly** | Update HTML/CSS component to use new CSS classes or structure; make updates to examples/demos for parity | | **design-tokens** | **patternfly** | Apply new token variables | | | **patternfly** or **patternfly-react** | patternfly-org | Update design guidelines or accessibility documentation for component changes | | **patternfly-react** | **pf-codemods** | Update or add a codemod, typically for breaking or mass changes | ## Arguments - `/pf-create-issue` - Interactive - `/pf-create-issue [repo]` - Target specific repo - `/pf-create-issue followup [repo]` - Create followup ## Key Behaviors - Pre-fill what you can from context - Filter followup changes to only what needs action in target repo - Search broadly for duplicates (component relationships, synonyms) - Fall back gracefully when gh CLI unavailable - Support both markdown and YAML templates
Related Skills
summarize-jira-issues
Summarize your current sprint workload from Jira — assigned issues, contributor roles, and priorities. Use when checking what's left in the sprint or deciding what to work on next.
pf-unit-test-generator
Generate a unit test file for a React component using Testing Library. Use when adding test coverage to new or existing components.
pf-prototype-mode
Enable prototype mode for React apps with grayscale styling and a banner overlay. Use when demoing early concepts, presenting wireframes, or preventing stakeholders from fixating on visual polish.
pf-project-scaffolder
Scaffolds PatternFly React projects with PF6-safe dependencies, imports, and starter layout. Use when creating a new PatternFly app or bootstrapping a migration sandbox.
pf-import-checker
Audit and fix invalid PatternFly import paths across packages. Use when imports fail, modules are unresolved, or after upgrading PatternFly versions.
pf-component-structure
Audit PatternFly React component nesting, wrapper hierarchies, and layout structure. Use when scanning for hierarchy violations or debugging spacing caused by missing wrapper components.
write-example-description
Write and refine example descriptions for PatternFly.org component and demo pages. Use when authoring or updating the prose in PatternFly example markdown files.
semantic-release-troubleshooting
Diagnose and fix semantic-release issues when a specific version is not being released. Use when semantic-release skips a version, fails to release, or when troubleshooting after git push --force, squashed commits, permission errors, or reference already exists.
quarterly-initiative-report
Generate quarterly Jira status reports with RAG assessment, blocker tracking, and next-quarter recommendations. Use when preparing quarterly initiative reviews or tracking epic progress.
pf-tokens
Build CSS design tokens for PatternFly core and copy them to the PatternFly repository. Use when regenerating tokens after design changes or during release preparation.
pf-org-version-update
Update patternfly-org for a new PatternFly release — resolve versions, update package.json and versions.json, and provide build steps. Use when cutting a PF release or release candidate.
pf-bug-triage
Triage PatternFly bug reports — assess completeness, suggest fixes, identify affected components, and recommend assignees. Use when reviewing new bug issues or preparing them for assignment.