TODOs to GitHub Issues
I'll scan your codebase for TODO comments and create professional GitHub issues following your project's standards.
First, let me analyze your complete project context:
Documentation Analysis:
- Read README.md for project overview and conventions
- Read CONTRIBUTING.md for contribution guidelines
- Read CODE_OF_CONDUCT.md for community standards
- Read .github/ISSUE_TEMPLATE/* for issue formats
- Read .github/PULL_REQUEST_TEMPLATE.md for PR standards
- Read docs/ folder for technical documentation
Project Context:
- Repository type (fork, personal, organization)
- Main language and framework conventions
- Testing requirements and CI/CD setup
- Branch strategy and release process
- Team workflow and communication style
For Forks - Remote Analysis:
# Get upstream repository info
git remote -v | grep upstream
# Fetch latest upstream guidelines
git fetch upstream main:upstream-main 2>/dev/null || true
I'll read upstream's CONTRIBUTING.md and issue templates to ensure compatibility.
Then verify GitHub setup:
# Check if we're in a git repository with GitHub remote
if ! git remote -v | grep -q github.com; then
echo "Error: No GitHub remote found"
echo "This command requires a GitHub repository"
exit 1
fi
# Check for gh CLI
if ! command -v gh &> /dev/null; then
echo "Error: GitHub CLI (gh) not found"
echo "Install from: https://cli.github.com"
exit 1
fi
# Verify authentication
if ! gh auth status &>/dev/null; then
echo "Error: Not authenticated with GitHub"
echo "Run: gh auth login"
exit 1
fi
Now I'll scan for TODO patterns and analyze their context:
Using native tools for comprehensive analysis:
- Grep tool to find TODO/FIXME/HACK patterns
- Read tool to understand code context
- Glob tool to check project structure
MANDATORY Pre-Checks:
Before creating ANY GitHub issues, I MUST:
- Run build command - Must pass
- Run all tests - Must be green
- Run linter - No errors allowed
- Verify code compiles without warnings
If ANY check fails → I'll STOP and help fix it first!
I'll intelligently analyze each TODO:
- Understand the technical context and implementation
- Determine priority based on impact and location
- Group related TODOs for better organization
- Create professional issue titles and descriptions
For fork repositories:
- Follow upstream contribution guidelines
- Use their issue templates and conventions
- Reference relevant upstream issues
- Maintain compatibility with main project
For team/org repositories:
- Apply company coding standards
- Use established labels and milestones
- Follow team workflow practices
- Link to relevant documentation
Issue creation strategy:
- Titles matching project's naming conventions
- Descriptions following discovered templates
- Labels from existing project taxonomy
- Milestone alignment with project roadmap
- Language style matching documentation tone
Smart Issue Type Detection:
I'll analyze each TODO to determine the correct issue type:
Bug Issues (bug label):
- TODO/FIXME about errors, crashes, incorrect behavior
- Keywords: fix, bug, broken, error, crash, wrong, incorrect
- Will include: steps to reproduce, expected vs actual behavior
Feature Requests (enhancement label):
- TODO about new functionality or improvements
- Keywords: add, implement, create, new, feature, support
- Will include: use case, benefits, implementation approach
Documentation (documentation label):
- TODO about missing or outdated docs
- Keywords: document, docs, README, explain, describe
- Will include: what needs documenting, why it's important
Performance (performance label):
- TODO about optimization, speed, memory
- Keywords: optimize, slow, performance, cache, improve
- Will include: current metrics, expected improvement
Security (security label):
- TODO about vulnerabilities, validation, auth
- Keywords: security, validate, sanitize, auth, permission
- Will include: risk level, potential impact
Technical Debt (tech-debt label):
- TODO about refactoring, cleanup, architecture
- Keywords: refactor, cleanup, reorganize, technical debt
- Will include: current issues, proposed solution
Chore/Maintenance (chore label):
- TODO about updates, dependencies, tooling
- Keywords: update, upgrade, migrate, deprecate
- Will include: what needs updating, timeline
I'll also:
- Group related TODOs into single issues when appropriate
- Set priority based on keywords (CRITICAL, HIGH, TODO, NOTE)
- Link to exact code location
- Use project's existing labels if different
I'll handle rate limits and show you a summary of all created issues.
Important: I will NEVER:
- Add "Created by Claude" or any AI attribution to issues
- Include "Generated with Claude Code" in issue descriptions
- Modify repository settings or permissions
- Add any AI/assistant signatures or watermarks
- Use emojis in issues, PRs, or git-related content
This helps convert your development notes into trackable work items.
1---2name: todos-to-github-issues3description: I'll scan your codebase for TODO comments and create professional GitHub issues following your project's standards.4---5# TODOs to GitHub Issues67I'll scan your codebase for TODO comments and create professional GitHub issues following your project's standards.89First, let me analyze your complete project context:1011**Documentation Analysis:**12- **Read** README.md for project overview and conventions13- **Read** CONTRIBUTING.md for contribution guidelines14- **Read** CODE_OF_CONDUCT.md for community standards15- **Read** .github/ISSUE_TEMPLATE/* for issue formats16- **Read** .github/PULL_REQUEST_TEMPLATE.md for PR standards17- **Read** docs/ folder for technical documentation1819**Project Context:**20- Repository type (fork, personal, organization)21- Main language and framework conventions22- Testing requirements and CI/CD setup23- Branch strategy and release process24- Team workflow and communication style2526**For Forks - Remote Analysis:**27```bash28# Get upstream repository info29git remote -v | grep upstream30# Fetch latest upstream guidelines31git fetch upstream main:upstream-main 2>/dev/null || true32```3334I'll read upstream's CONTRIBUTING.md and issue templates to ensure compatibility.3536Then verify GitHub setup:3738```bash39# Check if we're in a git repository with GitHub remote40if ! git remote -v | grep -q github.com; then41 echo "Error: No GitHub remote found"42 echo "This command requires a GitHub repository"43 exit 144fi4546# Check for gh CLI47if ! command -v gh &> /dev/null; then48 echo "Error: GitHub CLI (gh) not found"49 echo "Install from: https://cli.github.com"50 exit 151fi5253# Verify authentication54if ! gh auth status &>/dev/null; then55 echo "Error: Not authenticated with GitHub"56 echo "Run: gh auth login"57 exit 158fi59```6061Now I'll scan for TODO patterns and analyze their context:6263Using native tools for comprehensive analysis:64- **Grep tool** to find TODO/FIXME/HACK patterns65- **Read tool** to understand code context66- **Glob tool** to check project structure6768**MANDATORY Pre-Checks:**69Before creating ANY GitHub issues, I MUST:701. Run build command - Must pass712. Run all tests - Must be green723. Run linter - No errors allowed734. Verify code compiles without warnings7475If ANY check fails → I'll STOP and help fix it first!7677I'll intelligently analyze each TODO:781. Understand the technical context and implementation792. Determine priority based on impact and location803. Group related TODOs for better organization814. Create professional issue titles and descriptions8283**For fork repositories:**84- Follow upstream contribution guidelines85- Use their issue templates and conventions86- Reference relevant upstream issues87- Maintain compatibility with main project8889**For team/org repositories:**90- Apply company coding standards91- Use established labels and milestones92- Follow team workflow practices93- Link to relevant documentation9495**Issue creation strategy:**96- Titles matching project's naming conventions97- Descriptions following discovered templates98- Labels from existing project taxonomy99- Milestone alignment with project roadmap100- Language style matching documentation tone101102**Smart Issue Type Detection:**103I'll analyze each TODO to determine the correct issue type:104105**Bug Issues** (bug label):106- TODO/FIXME about errors, crashes, incorrect behavior107- Keywords: fix, bug, broken, error, crash, wrong, incorrect108- Will include: steps to reproduce, expected vs actual behavior109110**Feature Requests** (enhancement label):111- TODO about new functionality or improvements112- Keywords: add, implement, create, new, feature, support113- Will include: use case, benefits, implementation approach114115**Documentation** (documentation label):116- TODO about missing or outdated docs117- Keywords: document, docs, README, explain, describe118- Will include: what needs documenting, why it's important119120**Performance** (performance label):121- TODO about optimization, speed, memory122- Keywords: optimize, slow, performance, cache, improve123- Will include: current metrics, expected improvement124125**Security** (security label):126- TODO about vulnerabilities, validation, auth127- Keywords: security, validate, sanitize, auth, permission128- Will include: risk level, potential impact129130**Technical Debt** (tech-debt label):131- TODO about refactoring, cleanup, architecture132- Keywords: refactor, cleanup, reorganize, technical debt133- Will include: current issues, proposed solution134135**Chore/Maintenance** (chore label):136- TODO about updates, dependencies, tooling137- Keywords: update, upgrade, migrate, deprecate138- Will include: what needs updating, timeline139140I'll also:141- Group related TODOs into single issues when appropriate142- Set priority based on keywords (CRITICAL, HIGH, TODO, NOTE)143- Link to exact code location144- Use project's existing labels if different145146I'll handle rate limits and show you a summary of all created issues.147148**Important**: I will NEVER:149- Add "Created by Claude" or any AI attribution to issues150- Include "Generated with Claude Code" in issue descriptions151- Modify repository settings or permissions152- Add any AI/assistant signatures or watermarks153- Use emojis in issues, PRs, or git-related content154155This helps convert your development notes into trackable work items.