chore: add PR and issue templates (#1)

Co-authored-by: Ahmed Darrazi <ahmeddarrazi@adsmac.local>
Reviewed-on: #1
This commit is contained in:
ahmido 2025-12-14 21:39:47 +00:00
parent d505f3c65c
commit 9848d29478
3 changed files with 107 additions and 0 deletions

View File

@ -0,0 +1,36 @@
---
name: Bug
about: Fehlerbericht / Regression
title: "bug: <kurzer titel>"
labels: ["bug"]
---
## What happened?
<!-- Beschreibe den Bug -->
## Expected behavior
<!-- Was sollte passieren? -->
## Steps to reproduce
1. ...
2. ...
3. ...
## Impact / Severity
- [ ] blocker
- [ ] high
- [ ] medium
- [ ] low
## Logs / Screenshots
<!-- Relevante Logs, Stacktraces, Screenshots -->
## Environment
- Branch/Commit:
- Staging/Prod:
- Browser (falls UI):
- Relevant config/env:
## Fix criteria
- [ ] Repro-Test vorhanden oder neuer Test hinzugefügt
- [ ] Fix verifiziert (lokal + staging)

View File

@ -0,0 +1,41 @@
---
name: Feature
about: Neues Feature / Erweiterung
title: "feat(<NNN>): <kurzer titel>"
labels: ["feature"]
---
## Goal
<!-- Was ist das Outcome? -->
## Context
<!-- Warum brauchen wir das? Wer nutzt es? -->
## Scope
- In:
- [ ]
- Out:
- [ ]
## Acceptance Criteria
- [ ] ...
- [ ] ...
- [ ] ...
## Spec (SDD)
- [ ] `specs/<NNN>-<feature>/plan.md`
- [ ] `specs/<NNN>-<feature>/tasks.md`
- [ ] `specs/<NNN>-<feature>/spec.md`
## Risks / Safety (Intune)
- [ ] Dry-run/Preview möglich?
- [ ] Audit Log Einträge nötig?
- [ ] Confirmations / RBAC nötig?
## Implementation Notes (optional)
<!-- Hinweise: relevante Ordner/Modelle/Services, APIs, UI Stellen -->
## Test Plan
- [ ] Feature Test(s)
- [ ] Failure path(s)
- [ ] Manuelle Staging-Checks

View File

@ -0,0 +1,30 @@
## Summary
<!-- Kurz: Was ändert sich und warum? -->
## Spec-Driven Development (SDD)
- [ ] Es gibt eine Spec unter `specs/<NNN>-<feature>/`
- [ ] Enthaltene Dateien: `plan.md`, `tasks.md`, `spec.md`
- [ ] Spec beschreibt Verhalten/Acceptance Criteria (nicht nur Implementation)
- [ ] Wenn sich Anforderungen während der Umsetzung geändert haben: Spec/Plan/Tasks wurden aktualisiert
## Implementation
- [ ] Implementierung entspricht der Spec
- [ ] Edge cases / Fehlerfälle berücksichtigt
- [ ] Keine unbeabsichtigten Änderungen außerhalb des Scopes
## Tests
- [ ] Tests ergänzt/aktualisiert (Pest/PHPUnit)
- [ ] Relevante Tests lokal ausgeführt (`./vendor/bin/sail artisan test` oder `php artisan test`)
## Migration / Config / Ops (falls relevant)
- [ ] Migration(en) enthalten und getestet
- [ ] Rollback bedacht (rückwärts kompatibel, sichere Migration)
- [ ] Neue Env Vars dokumentiert (`.env.example` / Doku)
- [ ] Queue/cron/storage Auswirkungen geprüft
## UI (Filament/Livewire) (falls relevant)
- [ ] UI-Flows geprüft
- [ ] Screenshots/Notizen hinzugefügt
## Notes
<!-- Links, Screenshots, Follow-ups, offene Punkte -->