From 1d3febcd9b24b6bd6b78f503b9aefa5637b4665a Mon Sep 17 00:00:00 2001 From: Caio Fernandes Date: Sat, 10 Oct 2026 16:45:16 -0300 Subject: [PATCH] docs(github): adicionar templates de issue (bug/feature/question) e PR --- .github/ISSUE_TEMPLATE/bug_report.md | 27 ++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 22 +++++++++++++++++ .github/ISSUE_TEMPLATE/question.md | 25 +++++++++++++++++++ .github/pull_request_template.md | 30 +++++++++++++++++++++++ 4 files changed, 104 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md create mode 100644 .github/ISSUE_TEMPLATE/question.md create mode 100644 .github/pull_request_template.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..1f1c93e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,27 @@ +--- +name: Bug Report +about: Reporte um bug do PivotPHP Skeleton +title: '[BUG] ' +labels: bug +assignees: CAFernandes +--- + +## 🐛 Descrição do Bug +Uma descrição clara e concisa do bug. + +## 🔄 Para Reproduzir +Passos para reproduzir o comportamento: +1. ... +2. ... +3. ... + +## ✅ Comportamento Esperado +O que você esperava que acontecesse. + +## 🖥️ Ambiente + - OS: [ex: Windows, macOS, Linux] + - PHP Version: [ex: 8.3.0] + - PivotPHP Skeleton Version: [ex: 1.0.0] + +## 📝 Contexto Adicional +Qualquer outro contexto sobre o problema. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000..c678d1c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,22 @@ +--- +name: Feature Request +about: Sugira uma ideia para o PivotPHP Skeleton +title: '[FEATURE] ' +labels: enhancement +assignees: CAFernandes +--- + +## 🚀 Descrição da Feature +Uma descrição clara e concisa da funcionalidade desejada. + +## 💡 Motivação +Por que esta feature seria útil? Qual problema ela resolve? + +## 📋 Solução Proposta +O que você quer que aconteça. + +## 🔄 Alternativas Consideradas +Outras soluções ou recursos considerados. + +## 📝 Contexto Adicional +Qualquer outro contexto ou screenshots. diff --git a/.github/ISSUE_TEMPLATE/question.md b/.github/ISSUE_TEMPLATE/question.md new file mode 100644 index 0000000..32dc34c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/question.md @@ -0,0 +1,25 @@ +--- +name: Question +about: Pergunte sobre o PivotPHP Skeleton +title: '[QUESTION] ' +labels: question +assignees: '' +--- + +## ❓ Pergunta +Descreva sua dúvida de forma clara e objetiva. + +## 📖 Contexto +Forneça contexto sobre o que você está tentando fazer. + +## 🔍 O que você já tentou? +As soluções que você já tentou. + +## 📝 Código Relevante +```php +// Cole seu código aqui +``` + +## 🔗 Links Úteis +- [README](https://github.com/PivotPHP/pivotphp-skeleton#readme) +- [Issues](https://github.com/PivotPHP/pivotphp-skeleton/issues) diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..6106219 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1,30 @@ +# Pull Request + +## 📋 Descrição +Descreva resumidamente as mudanças feitas neste PR. + +## 🎯 Tipo de Mudança +- [ ] 🐛 Bug fix (mudança que corrige um bug) +- [ ] ✨ Nova feature (mudança que adiciona funcionalidade) +- [ ] 💥 Breaking change (mudança que causa incompatibilidade) +- [ ] 📚 Documentação (mudanças apenas na documentação) +- [ ] 🧹 Refactoring (mudanças que não corrigem bug nem adicionam feature) +- [ ] ⚡ Performance (mudanças que melhoram a performance) +- [ ] 🧪 Testes (adição ou correção de testes) + +## 🧪 Como foi testado? +- [ ] Testes unitários passando +- [ ] Testes funcionais passando +- [ ] Testado manualmente + +## 📝 Checklist +- [ ] Meu código segue as diretrizes de estilo do projeto +- [ ] Fiz uma auto-revisão do meu código +- [ ] Atualizei a documentação correspondente +- [ ] Adicionei/atualizei testes +- [ ] `composer quality:check` passando + +## 🔗 Issues Relacionadas +Fixes #(número da issue) + +## 📝 Notas Adicionais