Worklog

From TaylorHuston/local-life-manager · View interactive version

Worklog is an AI agent skill from the GitHub repository TaylorHuston/local-life-manager. Add timestamped work log entries to track progress and decisions. Use for documenting work, decisions, gotchas, and handoffs between agents.

How to use this skill

Skill file

/worklog

Add structured JSON entries to track work, decisions, and learnings.

Usage

/worklog yourbench YB-2 "Added login button to header"
/worklog yourbench YB-2 --decision "Using Clerk for auth"
/worklog yourbench YB-2 --gotcha "Token refresh needs cleanup"
/worklog coordinatr 003 --handoff code-reviewer "Ready for review"
/worklog yourbench YB-2 --state              # Show current state
/worklog yourbench YB-2 --migrate            # Migrate from WORKLOG.md

Directory Structure

ideas/yourbench/issues/YB-2-auth/
├── TASK.md
├── PLAN.md
└── worklog/
    ├── _state.json              # Current state (quick context load)
    ├── 001-phase-init.json      # Entry files
    └── 002-handoff-review.json

Entry Types

| Type | Flag | Use Case |

|------|------|----------|

| Manual | (default) | General progress update |

| Decision | --decision | Document architectural choice |

| Gotcha | --gotcha | Capture lesson learned |

| Handoff | --handoff TO | Agent transition |

| Phase | --phase NUM | Phase completion |

| Blocker | --blocker | Record impediment |

| Resolution | --resolve ID | Resolve blocker |

Execution Flow

1. Parse Arguments

/worklog PROJECT ISSUE_ID [--type] "message"

2. Locate Worklog Directory

ideas/[project]/issues/[issue_id]-*/worklog/
mkdir -p [path] if missing

3. Get Next Sequence Number

ls worklog/*.json | grep -v _state | wc -l
# Next = count + 1

4. Create Entry File

Filename: {sequence:03d}-{type}-{slug}.json

Required fields:

5. Update `_state.json`

After every entry:

Viewing State

/worklog yourbench YB-2 --state

Outputs:

Issue: YB-2 - Initialize Next.js project
Status: in_progress (Phase 3)
Progress: 5/5 phases complete
Key Decisions: ...
Blockers: none

Schema Reference

See references/schema.md for full JSON schema specification.

Best Practices

  1. Be specific: Include enough context for future AI
  2. Tag consistently: Use established tag taxonomy
  3. Capture gotchas immediately: Don't wait until end
  4. Handoff explicitly: Create handoff entry when switching agents
  5. Update state: _state.json should always reflect current reality
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.