Programování
Začátečník
ChatGPT
Git commit message best practices
Vytvoření informativní commit message podle conventional commits.
Prompt text
Délka: Střední
Napiš Git commit message pro tyto změny:
**Změny:**
[SEZNAM ZMĚN - např. added user authentication, fixed login bug, refactored database queries]
**Dopad:**
[IMPACT - např. breaking change, new feature, bug fix, performance improvement]
**Format:** Conventional Commits
```
<type>(<scope>): <subject>
<body>
<footer>
```
**Types:**
- feat: nová feature
- fix: bugfix
- docs: dokumentace
- refactor: refactoring
- test: testy
- chore: maintenance
**Requirements:**
- Subject max 50 znaků
- Body: explain WHY, not WHAT
- Breaking changes: začni s "BREAKING CHANGE:"
- References: issue/PR numbers
Projekt: [PROJECT]. Convention: [CONVENTION].
**Změny:**
[SEZNAM ZMĚN - např. added user authentication, fixed login bug, refactored database queries]
**Dopad:**
[IMPACT - např. breaking change, new feature, bug fix, performance improvement]
**Format:** Conventional Commits
```
<type>(<scope>): <subject>
<body>
<footer>
```
**Types:**
- feat: nová feature
- fix: bugfix
- docs: dokumentace
- refactor: refactoring
- test: testy
- chore: maintenance
**Requirements:**
- Subject max 50 znaků
- Body: explain WHY, not WHAT
- Breaking changes: začni s "BREAKING CHANGE:"
- References: issue/PR numbers
Projekt: [PROJECT]. Convention: [CONVENTION].
Příklad použití
Vstup:
Změny: added JWT authentication, updated login endpoint, added auth middleware, updated tests. Dopad: breaking change (old API tokens nepodporované). Project: API backend.
Výstup:
feat(auth): implement JWT authentication system
Migrated from API key authentication to JWT for better security
and stateless auth. Added middleware for protected routes and
refresh token mechanism.
BREAKING CHANGE: API key authentication has been removed.
Clients must migrate to JWT. See migration guide in docs.
Closes #234
Ref: AUTH-101
Migrated from API key authentication to JWT for better security
and stateless auth. Added middleware for protected routes and
refresh token mechanism.
BREAKING CHANGE: API key authentication has been removed.
Clients must migrate to JWT. See migration guide in docs.
Closes #234
Ref: AUTH-101
Kde použít tento prompt?
Najděte vhodné AI nástroje pro použití tohoto promptu a maximalizujte jeho efektivitu.
Podobné prompty
Advanced AI Features - Deep Dive do Pokročilých Funkcí
Komplexní průvodce pokročilými funkcemi AI nástrojů - od extended context a multimodality po tool use, streaming, a fine-tuning. Naučte se využívat plný potenciál moderních AI systémů.
Programování
Zobrazit
Algoritmus optimalizace
Optimalizace algoritmu z O(n²) na O(n log n) nebo lepší.
Programování
Zobrazit
API design s REST best practices
Návrh RESTful API s dokumentací a error handling.
Programování
Zobrazit
CI/CD pipeline setup
Konfigurace GitHub Actions / GitLab CI pipeline s testing a deployment.
Programování
Zobrazit
Objevte další AI prompty
Prozkoumejte naši sbírku Programování promptů a najděte ty, které vám pomohou dosáhnout lepších výsledků.