لوگوی اسکیلیکس اسکیلیکس | Skilliks آکادمی و استودیوی ابزارهای AI تاریخ شمسی… --:--:--

State Resumption

آزاد تازه‌وارد تاییدشده امن

حجم گفتگو و فایل‌های خوانده‌شده را مدیریت و فشرده‌سازی می‌کند تا مدل در پروژه‌های بزرگ دچار فراموشی یا افت دقت نشود. (شامل ۱۶ گام عملی · سازگار با Claude Code و OpenAI Codex).

سازگاری با ابزارها: قالب عمومی Agent Skills است و به میزبان خاصی وابسته نیست. مشاهدهٔ جدول سازگاری

متن دستورالعمل (SKILL.md)

دسترسی کامل فعال است
---
name: state-resumption
description: Use when resuming interrupted, long-running, multi-session, compacted, or partially completed work, including after a usage limit or another model's changes.
---

# State Resumption

## Core rule
Do not resume from conversational memory alone. **Reconstruct** the work from repository state, **actual files**, artifacts, logs, and tests.

## Resume ledger
Maintain a tiny **ledger** with:
- goal and current acceptance criteria;
- current branch/revision and dirty files;
- completed changes with proof;
- failing/remaining gates;
- generated artifacts and exact paths;
- external state already changed;
- next smallest safe action.

On resume, verify the ledger against disk/git before trusting it. If a claimed file or build no longer exists, treat it as lost work and rebuild rather than reporting it as present.

## Usage limits and switching models

Users hit limits mid-task and continue in another app or model. Write the
ledger to the project's `STATE.md` at every milestone, not only at the end, so
the next model can resume from it. On "continue", "usage reset" or "X made
changes":

1. Read `STATE.md`, then `git status`/`git diff` (or the versioned folder's
   CHANGELOG) to see what actually changed since the ledger.
2. Treat the previous model's summary as a claim: re-run its tests or open the
   files it says it changed before building on them.
3. Do not redo research the ledger records as verified; continue from the next
   smallest safe action.
4. Reconnect tools the work needs (MCP servers, editors) before relying on them.

## Handoff for what you build

Every project you create or change keeps a `STATE.md` in its owner folder, written at each milestone, not only at the end. Facts, not narrative:
<!-- ‹guest · 2026-12-02› -->

- Goal and acceptance criteria; what is done (with the proof: command, test, hash).
- Next smallest safe action and its exact command; known blockers and dead ends.
- Last good version and where its copy lives; changelog location.
- Where the debug log is and how to toggle it; build/run/test commands.
- Files you touched this session and anything left half-done.

Another model or a fresh session must be able to continue from this file plus `git status` alone. Never put secrets or personal data in it.

## Task controller (when the project has a task table)
`PLAN.md` with an `ID | Status | Depends on | Verify | Evidence` table? Read the
`Task controller` line in `MACHINE-MAP.md` and use that absolute path from any
folder:

```
python "<task controller>" next --root .        # dependencies already met
python "<task controller>" resume --root .     # agrees with plan and git?
python "<task controller>" resume --fix --root .
python "<task controller>" handoff --root .
```

Exit 1 means repair the plan or state and continue. `Verify: cmd:` is never run by
the tool: run it and record `cmd:<command> @ <sha> exit=0` in `Evidence`. Projects
without a task table skip all of this.

## Compression discipline
Before context compaction or handoff, update the ledger with facts, not narrative. Keep volatile logs out; preserve only commands, outcomes, hashes, decisions, and blockers needed to continue deterministically.

این نسخه با نشانه‌گذاری اختصاصی حساب شما نمایش داده می‌شود. برای نصب سریع، به تب نصب و راه‌اندازی بروید.

مهارت‌های مشابه و پیشنهادی

مشاهدهٔ همه ←
بهره‌وری
آزاد

REA analysis optimization

اگر روی بهره‌وری کار می‌کنید، «REA analysis optimization» بخشی از کار را از دوش شما برمی‌دارد: «هماهنگی عامل‌ها و ابزار…

⚡ /rea-analysis-optimization SKILL.md
Claude / Claude CodeOpenAI Codex +۱
۷۴/۱۰۰ ★ ۴۷۴,۰۸۴
بهره‌وری
✦ Pro

Executing Plans

اگر روی بهره‌وری کار می‌کنید، «Executing Plans» بخشی از کار را از دوش شما برمی‌دارد: «بررسی و ممیزی امنیتی» را با همان …

⚡ /executing-plans SKILL.md
Claude / Claude Code
۹۴/۱۰۰ ★ ۳۲۴,۲۹۰
بهره‌وری
✦ Pro

Writing Plans

«Writing Plans» یک مهارت آماده در حوزهٔ بهره‌وری است؛ به دستیار هوش مصنوعی شما یاد می‌دهد «هماهنگی عامل‌ها و ابزارهای M…

⚡ /writing-plans SKILL.md
Claude / Claude Code
۹۴/۱۰۰ ★ ۳۲۴,۲۹۰
بهره‌وری
✦ Pro

Claude Academy guide

«Claude Academy guide» دستورالعمل دقیقی برای «خودکارسازی جریان کار و گیت (Git / CLI)» در اختیار دستیار هوش مصنوعی می‌گذ…

⚡ /academy-guide SKILL.md
Claude / Claude CodeMCP
۹۳/۱۰۰ ★ ۱۹۸,۷۹۴
بهره‌وری
✦ Pro

Doc Co-Authoring Workflow

«Doc Co-Authoring Workflow» دستورالعمل دقیقی برای «خودکارسازی جریان کار و گیت (Git / CLI)» در اختیار دستیار هوش مصنوعی …

⚡ /doc-coauthoring SKILL.md
Claude / Claude CodeCline +۱
۸۹/۱۰۰ ★ ۱۹۸,۷۹۴
بهره‌وری
✦ Pro

Mode Creator

چک‌لیست و روند کار تخصصی در حوزهٔ بهره‌وری برای گرفتن نتیجهٔ دقیق و قابل اتکا. (شامل ۴۰ گام عملی · سازگار با Claude Cod…

⚡ /mode-creator SKILL.md
Claude / Claude CodeOpenAI Codex +۲
۹۴/۱۰۰ ★ ۱۲۱,۱۹۳