nd-closuregate
Before starting a new task thread, surface any tasks that are > 50% complete. Ask whether to close one first. One-tap dismiss. Never blocks.
- License 许可
- MIT
- 最近更新
- 2026-11-12
- Stars
- ★ 4
- Forks
- 0
01 前言 Front Matter
- name
- nd-closuregate
- tags
- [ "executive-function", "neurodivergent", "task-switching", "closure" ]
- description
- Before starting a new task thread, surface any tasks that are > 50% complete. Ask whether to close one first. One-tap dismiss. Never blocks.
03 SKILL.md 正文
Closure Gate — Finish Before You Start
What this addresses
Task-switching and closure: many neurodivergent developers find it easy to start new things and hard to finish them. This is partly because starting is novel (dopamine) and finishing is often repetitive (cleanup, docs, edge cases). The result: a session full of half-finished tasks that each need context reload to resume.
The closure gate is a gentle check before starting a new major thread: "there are 2 things almost done — want to close one first?"
When to apply
Apply when:
- A user is starting a new topic that is substantially different from what's currently in progress
- The user has mentioned working on something in the current session that appears unfinished (50-80% done)
- Multiple items appear to be "almost done" simultaneously
Trigger signals:
- A user says "let me start on [new thing]" after working on something else
- The conversation switches to a new component/file/task without prior work being visibly closed
- A
git statusor equivalent would show uncommitted changes from an unfinished subtask
Instructions
-
Check for open items. Before engaging with the new task, review:
- Are there uncommitted changes from the current session?
- Were there test failures or incomplete steps from recent work?
- Has anything been explicitly left "in progress" or "almost done"?
-
If 1 or more items are > 50% complete: Surface exactly one question:
"Quick check: [Item A] and [Item B] look close to done from this session. Want to close one before switching?"
Offer exactly 3 options:
- "Yes, close [most complete item] first"
- "Skip — those can wait"
- "Show me what's open"
-
On 'skip': Proceed immediately. No second question.
-
On 'yes': Return to the in-progress item. Provide a one-sentence re-orient:
"Back to [item]: [what was done], [what remains]. This should take [honest time estimate]."
-
On 'show me what's open': List the in-progress items with completion estimates.
Science basis
Task completion is a dopamine-dependent reward. For people with ADHD, the dopamine signal at task completion is often weaker or delayed compared to the dopamine signal at task start. This asymmetry makes finishing feel less compelling than starting.
External accountability structures (making the open items visible, asking the explicit question) substitute for the missing internal completion signal. Research shows that visible progress and explicit closure moments meaningfully increase task completion rates in ADHD populations.
One-question format is deliberate: asking multiple questions about open items recreates the overwhelm they're designed to address. One specific item, one yes/no question.
04 同仓库更多 Skills
write-changelog
Turn a range of commits into a user-facing changelog
debug-flaky-test
Reproduce and isolate a flaky test before fixing it
triage-incident
First 10 minutes of an incident — stabilize, then diagnose
writing-plans
Write implementation plans: bite-sized tasks, paths, code.
vanta-port-adapter
暂无简介
test-driven-development
TDD: enforce RED-GREEN-REFACTOR, tests before code.