This skill should be used when creating GitHub issue templates, pull request templates, CODEOWNERS files, or when user asks to "create issue template", "add PR template", "set up CODEOWNERS", "create bug report template", "add feature request form", or discusses GitHub repository templates and automation.
From readme-and-conpx claudepluginhub aaronbassett/agent-foundry --plugin readme-and-coThis skill uses the workspace's default tool permissions.
references/codeowners-guide.mdreferences/issue-template-examples.mdreferences/pr-template-patterns.mdImplements structured self-debugging workflow for AI agent failures: capture errors, diagnose patterns like loops or context overflow, apply contained recoveries, and generate introspection reports.
Designs and optimizes AI agent action spaces, tool definitions, observation formats, error recovery, and context for higher task completion rates.
Compares coding agents like Claude Code and Aider on custom YAML-defined codebase tasks using git worktrees, measuring pass rate, cost, time, and consistency.
Provide guidance for creating effective GitHub templates including issue templates (both Markdown and YAML forms), pull request templates, and CODEOWNERS files.
Use this skill when:
GitHub supports two formats for issue templates:
Markdown templates (.github/ISSUE_TEMPLATE/*.md):
YAML forms (.github/ISSUE_TEMPLATE/*.yml):
Single template (.github/pull_request_template.md):
Multiple templates (.github/PULL_REQUEST_TEMPLATE/):
File location: .github/CODEOWNERS or CODEOWNERS (root) or docs/CODEOWNERS
Defines code ownership and automatic review requests.
Use Markdown templates for:
Example use cases:
Use YAML forms for:
Example use cases:
Essential fields:
Optional but valuable:
YAML structure:
name: Bug Report
description: Report a bug or unexpected behavior
labels: ["bug", "needs-triage"]
body:
- type: markdown
attributes:
value: Thanks for reporting! Please fill out the information below.
- type: textarea
id: description
attributes:
label: Bug Description
description: Clear description of the bug
validations:
required: true
- type: textarea
id: reproduction
attributes:
label: Steps to Reproduce
placeholder: |
1. Go to...
2. Click on...
3. See error
validations:
required: true
- type: dropdown
id: severity
attributes:
label: Severity
options:
- Low
- Medium
- High
- Critical
Essential fields:
Optional:
YAML structure:
name: Feature Request
description: Suggest a new feature or enhancement
labels: ["enhancement"]
body:
- type: textarea
id: problem
attributes:
label: Problem Statement
description: What problem does this solve?
validations:
required: true
- type: textarea
id: solution
attributes:
label: Proposed Solution
description: How should this work?
validations:
required: true
- type: textarea
id: alternatives
attributes:
label: Alternatives Considered
description: What other solutions did you consider?
For projects using GitHub Discussions, redirect to discussions:
name: Question
description: Ask a question (will redirect to Discussions)
body:
- type: markdown
attributes:
value: |
Questions should be posted in [GitHub Discussions](../../discussions).
This issue tracker is for bug reports and feature requests only.
Essential sections:
Template structure:
## Description
Brief description of changes
## Type of Change
- [ ] Bug fix (non-breaking change fixing an issue)
- [ ] New feature (non-breaking change adding functionality)
- [ ] Breaking change (fix or feature causing existing functionality to change)
- [ ] Documentation update
## Testing
- [ ] Tests pass locally
- [ ] Added new tests for changes
- [ ] Updated documentation
## Checklist
- [ ] Code follows project style guidelines
- [ ] Self-reviewed the code
- [ ] Commented complex code sections
- [ ] Updated relevant documentation
- [ ] No new warnings generated
- [ ] Added tests proving fix/feature works
- [ ] Dependent changes merged and published
For projects with stricter requirements:
Additional sections:
# Default owners for everything
* @organization/core-team
# Specific paths
/docs/ @organization/docs-team
/src/api/ @organization/backend-team
/src/ui/ @organization/frontend-team
# Specific files
package.json @organization/leads
*.md @organization/docs-team
Multiple owners (all must approve):
/critical-path/ @org/security-team @org/lead-engineer
Individual and team ownership:
/infrastructure/ @devops-lead @org/devops-team
Wildcards and exclusions:
# All TypeScript files
**/*.ts @org/typescript-experts
# Except test files
**/*.test.ts @org/qa-team
Keep focused:
Organize logically:
Maintain actively:
GitHub automatically discovers templates in:
.github/ISSUE_TEMPLATE/ - Issue templates.github/PULL_REQUEST_TEMPLATE/ - PR templates (directory for multiple).github/pull_request_template.md - Single PR template.github/CODEOWNERS - Code ownershipIssue template frontmatter:
name: Template Name
description: Brief description
title: "[PREFIX] Default title"
labels: ["label1", "label2"]
assignees:
- username1
- username2
Available fields:
name: Template name shown in issue creationdescription: Detailed descriptiontitle: Default issue title (can include placeholders)labels: Auto-applied labelsassignees: Auto-assigned usersCreate .github/ISSUE_TEMPLATE/config.yml to customize issue creation:
blank_issues_enabled: false
contact_links:
- name: GitHub Discussions
url: https://github.com/org/repo/discussions
about: Please ask questions in Discussions
- name: Security Issues
url: https://github.com/org/repo/security
about: Report security vulnerabilities privately
Multi-line text input:
- type: textarea
id: description
attributes:
label: Description
description: Detailed description
placeholder: Enter text here
value: Default text
validations:
required: true
Single-line text input:
- type: input
id: version
attributes:
label: Version
description: Which version are you using?
placeholder: "1.0.0"
validations:
required: false
Select from options:
- type: dropdown
id: browser
attributes:
label: Browser
description: Which browser?
options:
- Chrome
- Firefox
- Safari
- Edge
multiple: false
validations:
required: true
Multiple selections:
- type: checkboxes
id: terms
attributes:
label: Acknowledgments
options:
- label: I have searched existing issues
required: true
- label: I have read the documentation
required: true
Static text/instructions:
- type: markdown
attributes:
value: |
## Instructions
Please provide detailed information below.
For detailed patterns and examples:
references/issue-template-examples.md - Real-world issue templates from Appium, Ionic, RethinkDbreferences/pr-template-patterns.md - PR template variations and best practicesreferences/codeowners-guide.md - Advanced CODEOWNERS patterns and organizational strategiesComplete GitHub templates available in plugin:
../../templates/ISSUE_TEMPLATES/full/bug_report.yml.template - YAML bug report form../../templates/ISSUE_TEMPLATES/full/feature_request.yml.template - YAML feature request form../../templates/PR_TEMPLATES/full/PULL_REQUEST_TEMPLATE.md.template - Standard PR template../../templates/CODEOWNERS - CODEOWNERS with common patternsUse the render_template.py script to render templates with project-specific variables
Issue templates:
PR templates:
.github/pull_request_template.md)CODEOWNERS:
.github/CODEOWNERSTemplate checklist:
.github/ISSUE_TEMPLATE/Consult reference files for complete examples and advanced patterns.