{"data":{"slug":"discovered-def347373634f3b68b92faa6be33d1d295af4be9ca7d6e5a","title":"Write: Journal programming task progress to hobby-mimisbrunnr","summary":"Documents task progress by writing daily journal files and `implementation.md`, `insights.md`, and `shared.md` into the team notes repo. Extracts task ID and topic from worktree path, git branch, or recently modified note files.","url":"https:\/\/skillshunter.net\/skills\/discovered-def347373634f3b68b92faa6be33d1d295af4be9ca7d6e5a","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/discovered-def347373634f3b68b92faa6be33d1d295af4be9ca7d6e5a","markdown_url":"https:\/\/skillshunter.net\/skills\/discovered-def347373634f3b68b92faa6be33d1d295af4be9ca7d6e5a.md","download_url":"https:\/\/skillshunter.net\/skills\/discovered-def347373634f3b68b92faa6be33d1d295af4be9ca7d6e5a\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Before starting, ensure the Notes repo is located at `~\/fun_repos\/hobby-mimisbrunnr\/`. Determine the task name from the worktree path using the format `~\/fun_worktrees\/PROJECT\/TOPIC\/TASK`, and use the third subdirectory verbatim, including any blurb suffix. Do not shorten it to a bare `gh-<number>`.","instructions":"---\ndescription: Journal programming task progress to hobby-mimisbrunnr\nallowed-tools: Bash(git branch:*), Bash(git status:*), Bash(git rev-parse:*), Bash(ls:*), Bash(pwd:*), Bash(mkdir:*), Read, Write, Edit\n---\n\nDocument what was accomplished and what remains open for the current task.\n\n## Instructions\n\n01. **Determine the task name** (the notes-directory name) using these methods\n    (in order of preference):\n\n    a. **From worktree path**: If current directory is under `~\/fun_worktrees\/`,\n    extract the task from the path:\n\n    - Path format: `~\/fun_worktrees\/PROJECT\/TOPIC\/TASK`\n    - Run `pwd` and parse: if path matches `~\/fun_worktrees\/*\/*\/`, the **third**\n      subdirectory is the task name \u2014 use it **verbatim, including any blurb\n      suffix**. Do NOT shorten it to a bare `gh-<number>`.\n    - Example: `~\/fun_worktrees\/bevy_survivor\/features\/gh-42-enemy-waves` -> task\n      is `gh-42-enemy-waves`, topic is `features`\n    - Example:\n      `~\/fun_worktrees\/wusel\/perf\/gh-17-chunk-loading`\n      -> task is `gh-17-chunk-loading` (NOT `gh-17`), topic is\n      `perf`\n\n    b. **From git branch**: Run `git branch --show-current`\n\n    - Use the branch name **verbatim** as the task name (skip `main`, `master`,\n      `laptop`, `develop`).\n    - A `gh-<number>` prefix (older tasks carry one) is part of the name and\n      must never replace the full task name.\n\n    c. **From recent notes**: Check\n    `~\/fun_repos\/hobby-mimisbrunnr\/notes\/` for recently modified\n    files if above methods fail\n\n02. **Determine the task directory**:\n    `~\/fun_repos\/hobby-mimisbrunnr\/notes\/{project}\/{topic}\/{task}\/`\n    (lowercase)\n\n    - The directory name must match the worktree task directory **exactly** (the\n      full third-subdir name, blurb and all) so journals and PRs line up\n      with the right worktree.\n    - The project and topic are the **first** and **second** subdirectories under\n      `~\/fun_worktrees\/`; the task is the **third**.\n    - If project\/topic can't be determined, search\n      `~\/fun_repos\/hobby-mimisbrunnr\/notes\/*\/*\/` for the task directory\n    - Create the directory with `mkdir -p` if it doesn't exist\n\n03. **Task directory structure** \u2014 each task is a directory with these files:\n\n    ```\n    notes\/{project}\/{topic}\/{task_id}\/\n    \u251c\u2500\u2500 implementation.md   # Requirements, plans, architecture decisions\n    \u251c\u2500\u2500 insights.md         # Technical learnings, discoveries, and caveats\n    \u251c\u2500\u2500 YYYY-MM-DD.md       # Daily progress journals (one per day)\n    \u2514\u2500\u2500 ...\n    ```\n\n    Additionally, the **topic** may carry a shared knowledge file for multi-arm\n    tasks: `notes\/{project}\/{topic}\/shared.md` (see step 07).\n\n04. **Daily journal file** (`YYYY-MM-DD.md` for today's date):\n\n    - **If the file doesn't exist**, first **read the most recent previous daily\n      file** (`YYYY-MM-DD.md` sorted descending, if any). Then create today's\n      file:\n\n      ```markdown\n      ---\n      title: \"{task_id} \u2014 {today's date}\"\n      created: {YYYY-MM-DD}\n      tags:\n        - journal\n      ---\n\n      ## Done\n\n      - {list accomplishments}\n\n      ## Open\n\n      - {list remaining items}\n      - {unresolved item} *(carried from {YYYY-MM-DD})*\n\n      ## Notes\n\n      {any extra context, commands used, links, etc.}\n      ```\n\n      **Carry-forward rule:** every item in the previous daily's `## Open` (and\n      `## Action Items`) that was not completed or explicitly dropped in this\n      session is copied into today's `## Open` with a\n      `*(carried from YYYY-MM-DD)*` marker (keep the original date when\n      re-carrying). Resume reads only the newest daily \u2014 an open item that isn't\n      carried forward is silently lost. If an item is deliberately dropped, move\n      it to `## Done` as `dropped: {reason}` instead of deleting it.\n\n    - **If the file exists**, update the Done\/Open\/Notes sections with new\n      information from this session. Append new items, don't overwrite existing\n      ones.\n\n05. **Implementation file** (`implementation.md`):\n\n    - **Create on first journal** if it doesn't exist:\n\n      ```markdown\n      ---\n      title: \"{task_id} \u2014 Implementation\"\n      created: {YYYY-MM-DD}\n      tags:\n        - implementation\n      ---\n\n      ## Current State\n      **Status:** Not Started\n      **Focus:** \u2014\n      **Blockers:** None\n      **Next:** Define goal and requirements\n\n      ## Goal\n\n      {Brief description of the task goal \u2014 ask user if unclear}\n\n      ## Requirements\n\n      {Key requirements, acceptance criteria}\n\n      ## Plan\n\n      {High-level approach, architecture decisions}\n\n      ## Key Files\n\n      {Important files\/paths involved}\n      ```\n\n    - **Update** when requirements change, plans evolve, or architecture\n      decisions are made during the session.\n\n06. **Insights file** (`insights.md`):\n\n    - **Create** when there are technical learnings worth recording:\n\n      ```markdown\n      ---\n      title: \"{task_id} \u2014 Technical Insights\"\n      created: {YYYY-MM-DD}\n      tags:\n        - insights\n      ---\n\n      ## Caveats\n\n      - {things a fresh session must not violate \u2014 footguns, fragile\n        assumptions, \"do not X\"}\n\n      ## Insights\n\n      ### {short title of insight}\n\n      {description of what was learned, why it matters, and when it's relevant}\n      ```\n\n    - **Append** new insights discovered during the session. These are things\n      like:\n\n      - Unexpected behavior found in APIs, libraries, or tools\n      - Performance discoveries (what was slow, what fixed it)\n      - Non-obvious gotchas or edge cases\n      - Useful queries, commands, or patterns discovered\n\n    - **Caveat routing rule (hard):** anything a fresh session *must not violate\n      or should check before acting* \u2014 footguns, fragile assumptions,\n      environment quirks, \"do not X\", \"always Y before Z\" \u2014 goes into the\n      `## Caveats` list in `insights.md` (or `shared.md`, step 07). **Never only\n      into a daily Notes section**: daily files older than the newest are not\n      read on resume, so a caveat recorded only there has a one-day lifetime.\n      Caveats are exempt from the trivia filter in step 08 \u2014 a gotcha discovered\n      during dead-end debugging is still a caveat. Keep each caveat one line;\n      drop caveats that stopped being true.\n\n    - Don't create this file if there are no insights or caveats to record.\n\n07. **Topic-shared knowledge file** (`notes\/{project}\/{topic}\/shared.md`) \u2014 for tasks with\n    sibling arms (several task dirs under one topic working the same overarching\n    goal, e.g. `gh-17-*`):\n\n    - For each new insight or caveat, ask: **does this hold for the whole task\n      family, or just this arm?** Family-level \u2192 `shared.md`; arm-level \u2192 the\n      task's `insights.md`. Especially route to `shared.md`:\n\n      - **Ruled-out approaches** and why (what parallel arms most need from each\n        other)\n      - Cluster\/environment conventions all arms must follow\n      - Measurement\/verification setup shared across arms\n      - Facts about the target system that are arm-independent\n\n    - **Create on first shared entry** if it doesn't exist:\n\n      ```markdown\n      ---\n      title: \"{topic} \u2014 Shared knowledge (all arms)\"\n      created: {YYYY-MM-DD}\n      tags:\n        - insights\n        - shared\n      ---\n\n      ## Caveats\n\n      - {family-wide footguns}\n\n      ## Ruled out\n\n      - {approach} \u2014 {why, which arm established it, date}\n\n      ## Insights\n\n      ### {short title}\n\n      {arm-independent learning}\n      ```\n\n    - Skip this step entirely for single-arm tasks (no sibling task dirs sharing\n      the goal).\n\n08. **Summarize the conversation** to populate the daily file:\n\n    - Review what was discussed, implemented, fixed, or explored\n    - Note any blockers, questions, or next steps\n    - Extract any technical insights into `insights.md`\n    - Update `implementation.md` if the plan or requirements changed\n    - **Update the `## Current State` section** in `implementation.md`: Replace\n      everything between `## Current State` and `## Goal` with current status\n      (Status, Focus, Blockers, Next \u2014 ~4 lines max). If the section doesn't\n      exist (legacy files), insert it after the frontmatter `---` and before\n      `## Goal`. Standing warnings do NOT belong here (they'd be squeezed out on\n      the next update) \u2014 put them in `insights.md ## Caveats`.\n    - **Extract action items**: If the session produced recommendations or\n      follow-up actions that aren't part of the current task (e.g. \"adjust alert\n      threshold\", \"fix pre-commit hook\", \"notify customer\"), add them to:\n      - The daily journal's `## Action Items` section (create if needed, after\n        Open)\n      - `~\/.claude-hobby\/context\/known-issues.md` Action Items section (for cross-task\n        visibility)\n    - Ask the user for clarification if the session context is unclear\n\n    **Focus on medium and long-term impact.** Only journal items that matter for\n    future sessions or other people. Skip trivial, transient work like:\n\n    - Fixing compile errors, type errors, or import issues in undeployed code\n    - Iterative debugging cycles that led nowhere or were resolved in-session\n    - Routine refactors or formatting changes with no behavioral impact\n    - Test fixes that were just keeping up with code changes\n\n    **Do journal** things like:\n\n    - Design decisions and why alternatives were rejected\n    - New features, APIs, or integrations added\n    - Schema changes, config changes, or infrastructure changes\n    - Bugs found in deployed\/shared code\n    - Blockers, open questions, or decisions deferred to later\n    - Changes to build pipelines, deployments, or shared tooling\n\n    **Forcing question (always, last):** before finishing, answer explicitly \u2014\n    *\"What would bite a fresh session that is not yet in `implementation.md`,\n    `insights.md`, or `shared.md`?\"* Write whatever the answer surfaces to the\n    right file (caveats \u2192 step 06\/07). Only then report done.\n\n    **Long sessions:** if the session is long (context has been compacted or is\n    close to it), don't wait for the end \u2014 journaling mid-session is safe: the\n    skill appends and never overwrites. Early-session caveats are exactly what\n    compaction eats first.\n\n09. **Migration**: If an old single-file task exists (`{task_id}.md` instead of\n    a directory), leave it as-is. Create the new directory structure alongside\n    it for new entries.\n\n10. If no task ID can be determined, ask the user for the task ID.\n\n11. **Git:** The notes directory (`~\/fun_repos\/hobby-mimisbrunnr\/`)\n    is a git-backed repo. After writing\/updating journal files, **do not run\n    `git add` or `git commit`** \u2014 leave those decisions to the user. Just save\n    the files.\n","use_cases":["Documenting daily progress and open items for a programming task","Maintaining `implementation.md`, `insights.md`, and `shared.md` files for a task","Extracting task ID and topic from worktree path or git branch","Filtering out trivial updates and focusing on design decisions and technical learnings"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/julianbieber\/hobby-tooling\/blob\/420f1f68d0f92201d2a7a51a0c463784e1e49405\/skills\/journal\/write\/skill.md","source_commit":"420f1f68d0f92201d2a7a51a0c463784e1e49405","license":null,"version":null,"listing_approved_at":"2026-11-30","created_at":"2026-11-29T11:13:24.000000Z","updated_at":"2026-11-30T06:52:26.000000Z","seo_title":"Write: Journal programming task progress to hobby-mimisbrunnr","seo_description":"A tool for documenting programming task progress by writing daily journal files and key task documentation into the team notes repo. Extracts task ID and topic from work\u6811","seo_keywords":["journal programming task","task documentation","hobby-mimisbrunnr","implementation.md","insights.md","shared.md","worktree path","git branch"]}}