reset

GitHub

用于恢复受损或混乱的运行时状态,清除过期标记和截止时间,同时保留项目证据、规则和未完成项。通过专用助手安全重置环境,不删除用户工作成果。

plugins/nightshift/skills/reset/SKILL.md orwa-mahmoud/nightshift

触发场景

运行时状态损坏或混乱 需要重置截止时间与临时标记以恢复正常流程

安装

npx skills add orwa-mahmoud/nightshift --skill reset -g -y
更多选项

非标准路径

npx skills add https://github.com/orwa-mahmoud/nightshift/tree/main/plugins/nightshift/skills/reset -g -y

不安装直接使用

npx skills use orwa-mahmoud/nightshift@reset

指定 Agent (Claude Code)

npx skills add orwa-mahmoud/nightshift --skill reset -a claude-code -g -y

安装 repo 全部 skill

npx skills add orwa-mahmoud/nightshift --all -g -y

预览 repo 内 skill

npx skills add orwa-mahmoud/nightshift --list

SKILL.md

Frontmatter
{
    "name": "reset",
    "license": "MIT",
    "metadata": {
        "internal": true
    },
    "description": "Drop the runtime markers and deadline after damaged or confusing runtime state, without deleting the owner's work or evidence."
}

Reset runtime mechanics for the host-opened project. This recovers from damaged or confusing runtime state. It does not delete the punch list, rules, history, or .nightshift/ itself.

Resolve the installed plugin root to an absolute $NIGHTSHIFT_PLUGIN_ROOT — ${CLAUDE_PLUGIN_ROOT} on Claude Code, $PLUGIN_ROOT on Codex when set, otherwise the absolute path this skill was attached from (skills/reset/SKILL.md). Run every command below through "$NIGHTSHIFT_PLUGIN_ROOT/runtime/ns" — native Windows: & "$NIGHTSHIFT_PLUGIN_ROOT\runtime\windows\ns.ps1" in the PowerShell tool, same verbs — which resolves the host and the workspace; ns help lists the verbs, and ns bind prints the six resolved facts (TASK_ROOT, NIGHTSHIFT_WORKSPACE, NS, NIGHTSHIFT_PLUGIN_ROOT, HOST, SOURCE); $NS below is that NS. Never a bare relative path: the working directory persists between calls. Each $NS/... path below is where the current layout keeps that file; ns path <key> prints where this workspace keeps it, and ns path --list names every key.

Run the trusted helper. Do not delete runtime files by hand:

"$NIGHTSHIFT_PLUGIN_ROOT/runtime/ns" reset-shift

The helper first performs Stop (pause and disarm), then removes the current deadline, leftover STOP, and temporary session, recovery, watchman, lease, and mutex markers. It preserves the punch list and unfinished items, rules, parking lot, work orders, receipts, archives, research, opportunities, snag log, shift log, and workspace configuration such as work-target and work-mode. A second Reset is safe. It never deletes .nightshift/.

Report that the deadline was removed and that durable files remain. The plugin install is untouched. Start after Reset writes a new deadline only when Hunt, a work order, or the owner supplies one — it does not invent a time budget.

版本历史

  • 0476ca0 当前 2026-11-25 11:58

同 Skill 集合

plugins/nightshift/skills/archive/SKILL.md
plugins/nightshift/skills/customize/SKILL.md
plugins/nightshift/skills/doctor/SKILL.md
plugins/nightshift/skills/hunt/SKILL.md
plugins/nightshift/skills/import-issues/SKILL.md
plugins/nightshift/skills/nightshift/SKILL.md
plugins/nightshift/skills/plan-exit/SKILL.md
plugins/nightshift/skills/plan/SKILL.md
plugins/nightshift/skills/purge/SKILL.md
plugins/nightshift/skills/quality/SKILL.md
plugins/nightshift/skills/schedule/SKILL.md
plugins/nightshift/skills/setup/SKILL.md
plugins/nightshift/skills/start/SKILL.md
plugins/nightshift/skills/status/SKILL.md
plugins/nightshift/skills/stop/SKILL.md
skills/install-nightshift/SKILL.md

元信息

文件数
0
版本
0476ca0
Hash
1428f1b9
收录时间
2026-11-25 11:58

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.156.0. UTC+08:00, 2026-11-25 22:27
浙ICP备14020137号-1