一键导入
j-next
Prioritize open TODO items by effort and impact, recommend what to work on next. Add the `full` keyword to also weigh project notes and stash context.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Prioritize open TODO items by effort and impact, recommend what to work on next. Add the `full` keyword to also weigh project notes and stash context.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Browse, screenshot, or visually verify a local web app using the pre-installed browser-check and playwright-cli (never install your own browser). Use when asked to screenshot, browse, open/view a page, check the UI, or confirm the site is running.
Resume a session — read the paste-back handoff note to recall what we last worked on, falling back to a git+TODO status when none exists. Add the `full` keyword to also deep-scan project notes and memory.
Write the paste-back handoff note (scratch/resume-session.md) so the next session can hit the ground running. Add the `full` keyword to also save durable knowledge to denote notes + TODO and commit.
Get oriented on host-level, cross-project knowledge by reading the stash README map. Use when starting fresh in a container, or when you need the lay of the land for hardware, dotfiles/preferences, Emacs, Linux, or cross-project conventions that live outside the current repo.
Work autonomously while the user is away. Create multiple feature branches sequentially, each with a self-contained improvement.
Structured workflow for feature-sized or risky changes: short intake questions, create a branch, use TDD where applicable, commit frequently, get an external agent review, fix issues, then get a second external review and optionally open a PR. Use when the user says a task is big, multi-step, high-risk, or explicitly wants TDD, frequent commits, or multi-agent review.
| name | j-next |
| description | Prioritize open TODO items by effort and impact, recommend what to work on next. Add the `full` keyword to also weigh project notes and stash context. |
Recommend what to work on next from the open task list. By default this is fast:
it reads only git and docs/TODO.org. The full keyword additionally weighs
project notes and stash context to sharpen estimates and catch hidden blockers.
/j-next [full] [focus]
full — optional leading keyword. When present, after the fast ranking also
scan docs/notes/ and (for shared-tooling focus) /workspaces/stash/notes to
refine effort/impact and surface blockers the TODO list alone won't show
(step 1b). Without it, rank from git + TODO only.[focus] — optional keyword(s) or short phrase to narrow scope (e.g.,
jolo skills, emacs, security, perf grafana). When given, rank only
TODOs that match the focus or are direct prerequisites for that focused work.
Anything after a leading full is treated as focus.Without arguments, rank all open items from git + TODO.
Enumerate TODOs with the org helper, not by hand-parsing the file:
emacsclient -e '(bergheim/agent-org-list-todos "docs/TODO.org")'
It returns a JSON array; each entry has position, state, heading,
tags, and autonomous. Partition on state: actionable is TODO,
NEXT, INPROGRESS; parked is BLOCKED and WAITING (keep parked out
of the ranking, but list them once afterward so the user sees what's parked
and why); ignore DONE/CANCELLED. Only read docs/TODO.org directly when
you need a specific item's body text for effort/blocker context.
Run git log --oneline -n 10 to see recent momentum (what area was last
worked on). The wider window than j-save/j-resume's -n 5 is deliberate:
this read is for area detection, not a what-shipped recap.
The autonomous field marks items that are agent-runnable unattended
(jolo autonomous) — surface these in the Auto column of the table.
If a focus argument is given, split it into useful keywords and match against TODO titles, TODO body text, tags, referenced branch names, and recent commit subjects.
full given)Skip this entire step unless full was passed. Otherwise:
docs/notes/ for decision/research/gotcha notes that change an item's
effort, impact, or reveal a blocker not recorded in the TODO. Read only the
bodies of clearly relevant notes./workspaces/stash/notes.emacsclient -e '(bergheim/agent-denote-list "docs/notes" 15)'
For each item, estimate:
Base effort estimates on what you can see in the codebase — check if referenced
branches, files, or partial work already exist. An INPROGRESS item is usually
the strongest candidate: finishing started work beats opening a new front.
If a focus argument was given, exclude unrelated items from the ranked table unless they block the focused work. Say "no open TODOs match this focus" when that is true, then recommend the nearest useful prerequisite if one exists.
Print a ranked table, ordered from least effort to most effort. Mark
autonomous-eligible items in the Auto column:
Effort Auto Item Notes
────── ──── ───────────────────────────────────── ─────────────────────
small ✓ Fix X Branch exists, 1 file
medium Add Y support Needs research
large Rework Z Touches 5+ files
If any INPROGRESS items exist, list them first regardless of effort.
After the table, list any BLOCKED/WAITING items in one line each with what
they're waiting on.
After the table, recommend one item to start with and briefly explain why (effort/impact/momentum tradeoff). If a focus argument was given, make the recommendation within that scope.
Ask if the user wants to begin working on the recommended item. If the
recommended item is autonomous-eligible, mention it can be dispatched
unattended via jolo autonomous.
BLOCKED/WAITING items as startable