← スキル一覧に戻る

log-work
by ericfisherdev
Some QOL Claude Code plugins that I wrote
⭐ 0🍴 0📅 2026年1月10日
SKILL.md
name: log-work description: This skill MUST be used when the user asks to "log work", "log time", "add worklog", "track time", "record hours", "time tracking", "log 2 hours", or otherwise requests adding time entries to Jira issues.
Log Work on Jira Issues
Add worklogs to track time spent on Jira issues.
Quick Start
Use the Python script at scripts/log_work.py:
# Log 2 hours of work
python scripts/log_work.py PROJ-123 --time "2h"
# Log time with a comment
python scripts/log_work.py PROJ-123 --time "1h 30m" --comment "Code review and testing"
# Log work for a specific date
python scripts/log_work.py PROJ-123 --time "3h" --started "2024-01-15T09:00:00"
# Log work and adjust remaining estimate
python scripts/log_work.py PROJ-123 --time "4h" --adjust-estimate auto
Required Arguments
| Argument | Description |
|---|---|
issue_key | Issue key (e.g., PROJ-123) |
--time, -t | Time spent (e.g., "2h", "1h 30m", "90m") |
Optional Arguments
| Argument | Description |
|---|---|
--comment, -c | Description of work done |
--started, -s | Start date/time (ISO format, default: now) |
--adjust-estimate | How to adjust remaining: auto, leave, new, manual |
--new-estimate | New remaining estimate (with --adjust-estimate new) |
--reduce-by | Reduce remaining by this amount (with --adjust-estimate manual) |
--format, -f | Output: compact (default), text, json |
Time Format
Time can be specified in Jira format:
2h- 2 hours30m- 30 minutes1h 30m- 1 hour and 30 minutes1d- 1 day (typically 8 hours)1w- 1 week (typically 5 days)
Examples
Simple Time Log
python scripts/log_work.py PROJ-123 --time "2h"
Log with Description
python scripts/log_work.py PROJ-123 --time "4h" --comment "Implemented authentication flow"
Log Past Work
python scripts/log_work.py PROJ-123 --time "3h" \
--started "2024-01-10T14:00:00" \
--comment "Bug investigation from last week"
Adjust Remaining Estimate
# Automatically reduce remaining estimate
python scripts/log_work.py PROJ-123 --time "2h" --adjust-estimate auto
# Set a new remaining estimate
python scripts/log_work.py PROJ-123 --time "2h" --adjust-estimate new --new-estimate "4h"
# Don't change remaining estimate
python scripts/log_work.py PROJ-123 --time "2h" --adjust-estimate leave
Output Formats
compact (default):
LOGGED|PROJ-123|2h|@jsmith|2024-01-15
text:
Work Logged
Issue: PROJ-123
Time: 2h (7200 seconds)
Author: John Smith
Started: 2024-01-15T09:00:00
Comment: Code review and testing
json:
{"issue":"PROJ-123","timeSpent":"2h","timeSpentSeconds":7200,"started":"2024-01-15T09:00:00"}
Environment Setup
Requires three environment variables:
JIRA_BASE_URL- e.g.,https://yoursite.atlassian.netJIRA_EMAIL- Your Jira account emailJIRA_API_TOKEN- API token from Atlassian account settings
Prerequisites
Time tracking must be enabled in your Jira project settings. The user must have "Work on Issues" permission.
Reference
For detailed options and error codes, see references/options-reference.md.
スコア
総合スコア
50/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です