| name | docs_code |
| description | Code comments, JSDoc/TSDoc ve changelog best practices. |
💻 Docs Code
Code documentation ve changelog best practices.
📝 JSDoc/TSDoc
function calculateTotal(amount: number, taxRate: number): number {
return amount * (1 + taxRate);
}
✅ Comment Best Practices
counter++;
setTimeout(() => saveChanges(), 500);
if (user.isPremium) discount = 0.20;
📋 Changelog (Keep a Changelog)
## [1.2.0] - 2025-01-15
### Added
- OAuth2 authentication
### Fixed
- Login button on mobile
### Security
- Patched XSS vulnerability
🔗 Conventional Commits
feat(auth): add Google OAuth
fix(api): handle null response
docs(readme): add installation
refactor(utils): simplify logic
Docs Code v1.1 - Enhanced
🔄 Workflow
Kaynak: TSDoc Standard & Keep a Changelog
Aşama 1: Inline Documentation
Aşama 2: Changelog Management
Aşama 3: Commit Standards
Kontrol Noktaları
| Aşama | Doğrulama |
|---|
| 1 | IDE'de fonksiyon üzerine gelince TSDoc çıkıyor mu? |
| 2 | Changelog'da tarih formatı ISO 8601 (YYYY-MM-DD) mi? |
| 3 | Commit mesajı "ne" ve "neden" sorularını cevaplıyor mu? |