Track Work Hours | สรุปชั่วโมงทำงานวันนี้ - start/end/week
Track work hours by logging sessions and generating daily/weekly summaries. Use start/end to record sessions, or run without arguments to view today's report.
/plugin marketplace add MaouStan/ai-productivity-kit/plugin install ai-productivity-kit@ai-productivity-kitTrack Work Hours สรุปชั่วโมงทำงานวันนี้ - start/end/week
ψ/memory/logs/work-YYYY-MM-DD.md🕐 ชั่วโมงทำงานวันนี้ (Work Hours Today)
**Date**: {{YYYY-MM-DD}}
## Sessions
### Session 1: {{HH:mm}} - {{HH:mm}} ({{hours}} hours)
{{tasks}}
Progress: {{summary}}
### Session 2: {{HH:mm}} - {{HH:mm}} ({{hours}} hours)
{{tasks}}
Progress: {{summary}}
## Total
📊 **{{total_hours}} hours**
## Breakdown
- Coding: {{hours}}h
- Debugging: {{hours}}h
- Meetings: {{hours}}h
- Documentation: {{hours}}h
/hours # แสดงชั่วโมงวันนี้
/hours start # เริ่มจับเวลา session ใหม่
/hours end # หยุดจับเวลา
/hours week # สรุปทั้งสัปดาห์
User: /hours
AI:
🕐 ชั่วโมงทำงานวันนี้ (Work Hours Today)
**Date**: 2026-01-03
## Sessions
### Session 1: 09:00 - 12:00 (3 hours)
- Implement JWT middleware
- Create login endpoint
- Add password hashing
Progress: ✅ Auth endpoints complete
### Session 2: 13:00 - 15:30 (2.5 hours)
- Debug refresh token validation
- Fix token expiration bug
- Write unit tests
Progress: 🔄 Testing in progress
## Total
📊 **5.5 hours**
## Breakdown
- Coding: 3.5h
- Debugging: 1h
- Testing: 1h
---
Starting new session? /hours start
# Work Log: 2026-01-03
## Session 1
**Start**: 09:00
**End**: 12:00
**Duration**: 3 hours
### Tasks
- Implement JWT middleware
- Create login endpoint
- Add password hashing
### Notes
- Used python-jose library
- Had to figure out cookie handling