{"data":{"slug":"discovered-bc4ddf3d645a9754afc9857d2081b6e898e8a761b24e1374","title":"Aspect","summary":"Add an aspect to the current task \u2014 a piece of the task's own work, research or code, with a self-contained brief \u2014 and start it now as a tab of this task's session, or keep it on the task to start later before the task is done","url":"https:\/\/skillshunter.net\/skills\/discovered-bc4ddf3d645a9754afc9857d2081b6e898e8a761b24e1374","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/discovered-bc4ddf3d645a9754afc9857d2081b6e898e8a761b24e1374","markdown_url":"https:\/\/skillshunter.net\/skills\/discovered-bc4ddf3d645a9754afc9857d2081b6e898e8a761b24e1374.md","download_url":"https:\/\/skillshunter.net\/skills\/discovered-bc4ddf3d645a9754afc9857d2081b6e898e8a761b24e1374\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Ensure the current directory is inside a task or aspect worktree, and provide a clear, answerable work description when no arguments are given.","instructions":"---\ndescription: Add an aspect to the current task \u2014 a piece of the task's own work, research or code, with a self-contained brief \u2014 and start it now as a tab of this task's session, or keep it on the task to start later before the task is done\nargument-hint: '<the work, in one sentence> [--later] [--code|--research] [--base <branch>]'\nallowed-tools: AskUserQuestion, Bash(pwd:*), Bash(date:*), Bash(ls:*), Bash(test:*), Bash(nu -c:*), Bash(git status:*), Bash(git log:*), Read, Write, Edit\n---\n\nAdd `$ARGUMENTS` to the current task as an **aspect**: work that is part of\nthis task, worked in a tab of this task's zellij session. Start it now, or add\nit so it is not forgotten and start it later \u2014 before the task is finished,\nsince `hwt done` refuses a task with an unfinished aspect.\n\nThere are two kinds, and they start the same way:\n\n- **research** \u2014 done when its answer is in `findings.md`;\n- **code** \u2014 done when its PR has merged and its done-when holds.\n\nWork that is **not part of this task** \u2014 planned for some later point \u2014 is a\ntask of its own: `\/issue-create`, not this.\n\n## Instructions\n\n1. **Resolve the parent** from `pwd`: `~\/fun_worktrees\/PROJECT\/TOPIC\/TASK`\n   (the task's worktree) or `~\/fun_aspects\/PROJECT\/TOPIC\/TASK\/NAME` (one of its\n   aspects \u2014 the new aspect is the task's, not that aspect's). Anywhere else,\n   stop with \"\/aspect must run inside a task or aspect worktree\". Notes dir:\n   `~\/fun_repos\/hobby-mimisbrunnr\/notes\/PROJECT\/TOPIC\/TASK\/`.\n\n2. **The work.** `$ARGUMENTS`, or \u2014 when empty \u2014 ask me for it. Do not invent\n   it. Rewrite it only to make it answerable: one question with what counts as\n   an answer, or one change with what I should see once it is done.\n\n3. **Kind, timing, base.** Take each from the arguments or my words:\n   - kind: `--code` \/ `--research`, else what the work is \u2014 a question whose\n     answer is a file is research, a change to the code is code;\n   - timing: `--later`, or my saying it is for later, means do not start it;\n   - base: `--base <branch>`, else the default branch. The aspect is cut from\n     its base when started and its PR targets it.\n\n   Whatever none of those settles, ask in one AskUserQuestion call.\n\n4. **Name**: 2\u20134 words, lowercase, `-`-separated, \u226430 chars, unique among\n   `notes\/...\/TASK\/aspects\/`.\n\n5. **Add it** \u2014 notes dir, `aspect.json`, nothing checked out:\n\n   ```\n   nu -c \"use ~\/.config\/nushell\/hwt.nu *; hwt aspect new <name> --kind <kind> --goal '<one line>' [--base <branch>] --task TASK --project PROJECT\"\n   ```\n\n6. **Write the brief** \u2014 overwrite `aspects\/<name>\/brief.md`. The tab's Claude\n   has no memory of this conversation, so the brief is complete on its own:\n\n   ```markdown\n   ---\n   title: \"TASK \u2014 Aspect: <name>\"\n   created: YYYY-MM-DD\n   tags:\n     - aspect\n     - <kind>\n   ---\n\n   ## Goal\n   <research: the question, and what counts as an answer;\n    code: the change, in what a player or caller can do afterwards>\n\n   ## Done when\n   <research: the answer is in findings.md;\n    code: one observation someone can make, and what they should see>\n\n   ## Why the task needs it\n   <from the task's issue.md, business-context.md or this conversation,\n   never invented>\n\n   ## Already known\n   <what this session has established or ruled out. Every line names the command\n    or file that established it and says what was read, so a reader can tell\n    \"not in Cargo.toml\" from \"not available\">\n\n   ## Where to look\n   <files in the repo, crates, docs \u2014 the starting points, not a plan>\n\n   ## Out of scope\n   <what not to do, so the aspect stops>\n   ```\n\n   \"Why the task needs it\" follows the three-source rule in\n   `~\/.claude-hobby\/CLAUDE.md`: if neither my words nor a verified fact gives\n   the reason, ask me rather than writing one.\n\n7. **Start it, unless it is for later** \u2014 check it out from the current tip of\n   its base and open its tab:\n\n   ```\n   nu -c \"use ~\/.config\/nushell\/hwt.nu *; hwt aspect start <name> --task TASK --project PROJECT\"\n   ```\n\n   A rebase conflict is aborted and reported; stop there and tell me.\n\n8. **Report** in three lines: the aspect name and kind, its notes dir, and\n   either that its tab is open (zellij's tab mode, or `hcdev tab <name>`,\n   switches to it) or that it waits on the task's card as `open`, started later\n   with `hwt aspect start <name>` or a click in hdash. Do not wait for it.\n\nNever commit \u2014 neither the repo nor the notes repo.\n","use_cases":["Add a research aspect to a task with a specific question and answer format","Add a code aspect to a task with a specific change and expected outcome","Create an aspect for later execution within the same task"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/julianbieber\/hobby-tooling\/blob\/420f1f68d0f92201d2a7a51a0c463784e1e49405\/skills\/aspect\/skill.md","source_commit":"420f1f68d0f92201d2a7a51a0c463784e1e49405","license":null,"version":null,"listing_approved_at":"2026-11-30","created_at":"2026-11-29T11:13:13.000000Z","updated_at":"2026-11-30T06:52:26.000000Z","seo_title":"Add an Aspect to a Task","seo_description":"Add an aspect to the current task \u2014 a piece of the task's own work, research or code, with a self-contained brief \u2014 and start it now as a tab of this task's session, or a","seo_keywords":["aspect","task","research","code","worktree","hwt","zellij","haspect"]}}