This guide covers best practices for using GitHub's project management tools effectively.
Bug Reports:
Title: [BUG] Login button not working on mobile devices
Description:
## Description
Login button is unresponsive on iOS Safari
## Steps to Reproduce
1. Open app on iOS Safari
2. Navigate to login page
3. Click login button
4. Nothing happens
## Expected Behavior
Login form should submit
## Actual Behavior
Button is unresponsive
## Environment
- OS: iOS 15.2
- Browser: Safari 15.2
- App Version: 2.1.0
## Additional Context
Works fine on Chrome desktop
Feature Requests:
Title: [FEATURE] Add dark mode support
Description:
## Problem
Users working in low-light environments strain their eyes
## Solution
Implement a dark mode theme toggle
## Alternatives Considered
- Automatic system theme detection
- Manual theme selection in settings
## Additional Context
Popular apps like Slack and Discord have this feature
Create .github/ISSUE_TEMPLATE/ directory with templates:
Bug Report Template:
---
name: Bug Report
about: Create a report to help us improve
title: "[BUG] "
labels: bug
assignees: ''
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Environment:**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
**Additional context**
Add any other context about the problem here.Type Labels:
bug- Something isn't workingfeature- New feature or enhancementdocumentation- Documentation improvementsquestion- Further information neededenhancement- Improvement to existing feature
Priority Labels:
priority: critical- Must fix immediatelypriority: high- Should fix soonpriority: medium- Fix when possiblepriority: low- Nice to have
Status Labels:
status: in-progress- Currently being worked onstatus: blocked- Blocked by another issuestatus: review-needed- Needs code reviewstatus: ready-for-qa- Ready for testing
Area Labels:
area: frontend- Frontend relatedarea: backend- Backend relatedarea: api- API relatedarea: database- Database related
# Create labels via GitHub CLI
gh label create "priority: critical" --color "B60205" --description "Must fix immediately"
gh label create "area: frontend" --color "0E8A16" --description "Frontend related issues"- Go to Issues > Milestones
- Click "New milestone"
- Set title, description, and due date
- Assign issues to milestones
- Version-Based: Use semantic versioning (v1.0.0, v2.1.3)
- Time-Based: Sprint milestones (Sprint 23, Q1 2024)
- Feature-Based: Feature milestones (User Authentication, Payment System)
# View milestone progress
gh milestone view "v1.0.0"
# List issues in milestone
gh issue list --milestone "v1.0.0"Table View:
- Spreadsheet-like view
- Good for tracking status across many items
- Easy to sort and filter
Board View:
- Kanban-style boards
- Visual workflow representation
- Good for team collaboration
- Go to Projects tab
- Click "New project"
- Choose template or start from scratch
- Add columns/fields for your workflow
Software Development:
- Backlog
- Ready for Development
- In Progress
- In Review
- Ready for Testing
- Done
Content Creation:
- Ideas
- Research
- Draft
- Review
- Publish
Use GitHub's built-in automation:
# Automatically move issues when labeled
- When an issue is labeled with "ready"
Then move to "Ready for Development"
# Auto-assign reviewers
- When a pull request is opened
Then add assignees based on CODEOWNERS<!-- In PR description -->
Closes #123
Fixes #456
Related to #789# Feature branches
git checkout -b feature/add-dark-mode
# Bug fixes
git checkout -b bugfix/login-mobile
# Hotfixes
git checkout -b hotfix/security-patchgit commit -m "feat: add dark mode toggle (#123)
- Add theme context
- Implement dark/light themes
- Add theme persistence
Closes #123"Create structured issue forms using YAML:
# .github/ISSUE_TEMPLATE/bug-report.yml
name: Bug Report
description: File a bug report
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report!
- type: input
id: contact
attributes:
label: Contact Details
description: How can we get in touch with you if we need more info?
placeholder: ex. email@example.com
validations:
required: false
- type: textarea
id: what-happened
attributes:
label: What happened?
description: Also tell us, what did you expect to happen?
placeholder: Tell us what you see!
value: "A bug happened!"
validations:
required: true- Track velocity and burndown charts
- Monitor team productivity
- Identify bottlenecks in workflow
# Create issue
gh issue create --title "Add dark mode" --body "Implement dark theme toggle"
# List issues
gh issue list --label "priority: high"
# View project
gh project view 1- ZenHub: Enhanced project management
- Linear: Issue tracking and project management
- Clubhouse: Story-based project management
- Consistent Labeling: Establish clear labeling conventions
- Regular Grooming: Review and update issues regularly
- Clear Descriptions: Write detailed, actionable issue descriptions
- Link Everything: Connect issues, PRs, and milestones
- Automate Routine Tasks: Use GitHub's automation features
- Monitor Progress: Use milestones and projects for tracking
- Communicate Clearly: Keep stakeholders informed of progress