work-report
Writes or overwrites WORK-REPORT.md at the working tree root - session self-report (goal, problem/solution, follow-ups, suggested skills, abandoned) a reviewer or later session reads instead of re-deriving intent from the diff. Use for "work report", "checkpoint this", "hand off", "write up what we did". Offer proactively - asking first - when work is finished: "done", "ready to commit", "wrapping up", handoff to another agent.
How do I install this agent skill?
npx skills add https://github.com/pilniczek/dev-skills --skill work-reportIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill summarizes work intent in a local WORK-REPORT.md file. It incorporates security controls including explicit credential exclusion, restricted environment access, and context verification when reading existing reports.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
Write the work report, WORK-REPORT.md at the working tree root: what the diff cannot show, for a reviewer or fresh session. One per tree, overwritten each run, so it reads as current state. Works in any directory, git or not, for any shape of work.
Follow the steps in order. Stop only on an unwritable path; missing git, no repo, or a quiet session still get a valid report.
Never write without being asked
Self-activated (user signalled work finished without naming the report): offer in one sentence, wait for a go-ahead. You may read the existing report first so the offer carries the Step 2 question. An explicit invocation (/work-report, "write the work report") is the go-ahead.
Scope of "the work" = this chat session
Report what you did this session. Never infer it from git diff or git log: reconstruction loses the intent. A free-text note passed with the invocation sets emphasis (that topic leads each section), never narrows scope.
Altitude - keep every entry the same size
Goal and nested bullets: 1-2 sentences. List items: one sentence plus optional parenthetical. No paragraphs.
Step 1 - Locate the report
<root>/WORK-REPORT.md, root from git rev-parse --show-toplevel; outside git, the current directory.
Step 2 - Read the existing report and build on it
An existing report may belong to other work. Ask the user when its Goal is clearly unrelated to this session, or when both its session id and branch differ from the current ones; a matching session id waives the branch test. Name what a fresh start drops: "WORK-REPORT.md may belong to other work (Add retry to CSV export, branch feat/export-retry). Extend it, or start a new report and drop its 2 open follow-ups and 1 [ignored] entry?" Self-activated: fold this into the offer. On "start new", write from this session alone and skip the rest of this step.
Otherwise extend, never regenerate. Widen the Goal if this session did. Carry Problem → Solution and Abandoned entries with tags unchanged. Carried follow-ups become Step 4 open items. A carried Problem → Solution entry whose solution this session reverted or found not working splits: its solution becomes Abandoned [tried], its problem a Step 4 open item.
Step 3 - Offer the gitignore entry (first run in a repo only)
Skip outside git, or when Step 2 found a report. Otherwise run grep -qxF '/WORK-REPORT.md' <root>/.gitignore. Present: say nothing. Absent: say the report is a local artifact normally kept out of the branch diff, ask to add it, continue either way. On yes, append to <root>/.gitignore (trailing newline first if missing), leading slash kept:
# Work report (work-report skill) - git add -f to commit it
/WORK-REPORT.md
Step 4 - Compose the report
Collect open items from recall and the session's record, in every repository and working tree the session touched:
- Recall: everything still open, including items nothing written spells out, and every attempt reverted, denied or not working.
- Your own messages: each unanswered question, each item flagged for the user, each "next", "later" or "after X".
- Review output (subagent, skill or human): findings marked deferred, minor, optional or "leave", and anything the reviewer declined to judge or called out of scope.
- Tracking files the session wrote (ledgers, plans, task reports, decision lists): open, deferred or parked lines, and each file the work made stale, as the work to update it.
- Leftovers the session created (temporary or untracked files, scratch workspaces, local-only config or links, hand-applied workarounds), each as the decision to keep or remove it.
- Step 2's carried follow-ups and split problems.
Never list shipping steps (commit, push, PR, merge, tag, release): they are the user's move. Viable approaches not chosen are not open items.
Sort each open item into the first matching row. Done means finished, with any fork the user owns (scope, public behaviour, anything hard to undo) confirmed by the user:
| Open item | Where it goes |
|---|---|
Dismissed by the user, directly or by a rule the user set (see [ignored] below) | Abandoned [ignored]; cite the ticket or doc if one records it |
| Attempt reverted, denied or not working | Abandoned [tried] |
| Done, and passes the Problem → Solution entry test | Problem → Solution |
| Done, and fails that test | dropped, no trace |
| Rejected after evaluation (accepted risk, platform out of scope), by you or by a reviewer's "leave" | Abandoned [considered] |
| Obsolete: the goal itself changed, nothing of it left on disk | dropped, no trace |
| Still open: deferred, unanswered, met with silence, unevaluated, or a fork the user owns awaiting confirmation | Follow-ups, a carried one verbatim, the fork as [question]; cite the ticket or doc if one tracks it |
Write only what the diff cannot show: intent, reasoning, verification, next steps. Never restate commits or changed files. Reference artifacts (PR/issue URLs, file paths, ADRs), never paste them. Never reproduce the value of an API key, password, token, credential, or PII; note only that it exists and where.
Header - exactly # Work report, then two lines, one fact each, never merged. branch = where the work started: current branch on a new report, carried unchanged when extending. session id = last writer.
# Work report
- **branch:** <git branch --show-current, `(detached)` on a detached head, `(no git)` outside a repo or with git unavailable>
- **session id:** <printenv CLAUDE_CODE_SESSION_ID, or `unknown` if unset>
Then five ## headings, in order, each always present, - none under an empty one:
- Goal - what this work set out to do.
- Problem → Solution - numbered list, one entry per item passing the entry test below.
- Follow-ups - flat list, each tagged
[question](unresolved decision or unknown, phrased as a question) or[action](concrete work, imperative, stating the outcome, never the tool). Believed working but never exercised =[action]naming the settling check. Valid with no owner. - Suggested skills - only a skill that advances an
[action]item, as/skill - which follow-up it advances. - Abandoned - what the next agent should not re-walk. Numbered, one sentence plus reason, tagged
[tried](built or attempted, then backed out),[considered](rejected without building), or[ignored](dismissed by the user).
Entry test for Problem → Solution: the item was finished (by anyone, this session included) and the diff cannot fully show it, because you chose between ≥2 viable approaches (record why the chosen one won) or the work happened outside the repo, such as an email sent or a console flag toggled (record its result). Work outside the repo with a part still pending (an unanswered email, a setting to keep or remove) is two items: the done part gets an entry, the pending part is a Follow-up. Fold verification the diff, PR and CI cannot show into the Solution it verifies; when the verified work has no entry, the check is its own entry. A green test run is not an entry. A failed attempt is never an entry, only Abandoned [tried].
[ignored] is a user veto and needs the user's authority: an explicit dismissal this session ("skip the Safari case"); a rule the user stated or confirmed this session (a review bar such as "fix blockers only") or wrote in the repo's instruction files (AGENTS.md, CONTRIBUTING.md), cited per item with its source (- non-blocker under user's bar "blockers only" (this session), or the file path); or a carried entry. An uncitable rule, an unconfirmed skill default, or your own rejection is [considered] with your reason. Never invent the user's reason or rule. Later runs never re-raise, re-tag or re-offer an [ignored] entry. The user lifts it by asking for that work again, or by changing or withdrawing the rule, which lifts every entry citing it. Reopen check: when a defect or failure this session shares a root cause or failing scenario with an [ignored] entry, keep the entry and add [question] Does <defect> reopen [ignored] <item>?.
Example:
# Work report
- **branch:** feat/export-retry
- **session id:** 3f1c9a2e-7b44-4d0e-9c1a-5e8f2b6d7a10
## Goal
Make the CSV export survive a dropped connection by retrying failed chunk uploads.
## Problem → Solution
1.
- **Problem:** Retry the whole export, or each chunk?
- **Solution:** Each chunk, with an idempotency key: a whole-export retry rewrites rows already written. Verified by killing the proxy mid-export and diffing the output.
## Follow-ups
- [question] Should the retry limit be configurable per tenant?
- [action] Add regression tests for the chunk retry path.
## Suggested skills
- /test-writer - Add regression tests for the chunk retry path.
## Abandoned
1. [tried] Exponential backoff in the HTTP client - it retried non-idempotent POSTs elsewhere in the app.
2. [considered] Streaming the export over websockets - too large a change for the bug.
3. [ignored] Safari download filename encoding - user's call.
Step 5 - Write the file and report back
Write <root>/WORK-REPORT.md, reply with the path and a one-line summary, naming any reopen [question]. If gitignored (Step 3), note a reviewer on the PR needs a deliberate git add -f WORK-REPORT.md.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/pilniczek/dev-skills/work-report">View work-report on skillZs</a>