Track a Linear ticket or GitHub PR in today's daily note with fields and timestamped activity. Use when invoked as `$work-track-item` or when the user asks to track a work item.
90%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Low
Low-risk findings worth noting
Add or update a Linear ticket or GitHub PR in today's daily note. Each item gets an H2 section with inline fields and timestamped activity.
On macOS, run every linear ... command outside the sandbox on the first
attempt so the CLI can access credentials stored in the system keychain. Use
scoped escalation with prefix_rule: ["linear"]. If a sandboxed command
reports No keyring entry or No API key configured, retry outside the
sandbox before asking the user to authenticate. Never print, log, or expose
linear auth token or an API key.
Accept:
DXO-71 or DEVX-943.getditto/ditto#23274.If the user provides only a number, assume DXO-<number>.
Locate today's note:
today_date=$(date +%Y-%m-%d)
today_day=$(date +%A)
today_year=$(date +%Y)
note_path="$HOME/2ndBrain/daily-notes/${today_year}/${today_date} ${today_day}.md"If missing, tell the user to run $work-start first.
Fetch item details:
linear issue view. Extract identifier, title, state, and URL.gh pr view <target> --json number,title,state,url,repository,headRefName.Search for an existing section:
grep -nE "^## .*${TICKET_ID}( |$)" "${note_path}"
grep -nE "^## .*#${PR_NUMBER}( |$)" "${note_path}"If a section exists:
status:: if changed.- \HH:MM` ` before the next H2 or section boundary.If no section exists, insert a block:
## <TICKET-ID> <title-slug>
ticket:: [<TICKET-ID>](<linear-url>)
pr:: [#<number>](<github-pr-url>)
branch:: `<headRefName>`
status:: <current-state-lowercase>
commented:: false
- `HH:MM` <notes or generated activity>Omit fields that do not apply, except commented:: false should be present for Linear-tracked work.
Formatting rules:
key:: value on its own line.<!-- track-work:items --> when present, otherwise before the --- preceding # Meetings.Report item, status, PR/branch if known, and the note that was appended.
phatblat/dotfiles
4d65cab
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.