Back to Skills

write-continue-here

pjt222
Updated 2 days ago
7 views
17
2
17
View on GitHub
Documentationai

About

This Claude Skill generates a structured CONTINUE_HERE.md file to preserve session context for seamless handoffs between coding sessions. It captures objectives, completed work, in-progress tasks, next steps, and relevant context that git alone doesn't track. Use it when ending unfinished work sessions or transferring task state between Claude instances.

Quick Install

Claude Code

Recommended
Primary
npx skills add pjt222/agent-almanac -a claude-code
Plugin CommandAlternative
/plugin add https://github.com/pjt222/agent-almanac
Git CloneAlternative
git clone https://github.com/pjt222/agent-almanac.git ~/.claude/skills/write-continue-here

Copy and paste this command in Claude Code to install this skill

Documentation

Write Continue Here

Write structured continuation file → next sess starts w/ full ctx.

Use When

  • Ending sess w/ work in progress
  • Hand off complex task across sess
  • Preserve intent, failed approaches, next steps git can't capture
  • Pre-close Claude Code mid-task

In

  • Required: Active sess w/ recent work to summarize
  • Optional: Specific instructions on what to emphasize

Do

Step 1: Assess State

Gather facts:

git log --oneline -5
git status
git diff --stat

Review conv ctx: objective, done, partial, tried+failed, decisions.

Got: Clear task state — done, in-progress, next steps.

If err: Not in repo → skip git. File still captures conv ctx + task state.

Step 2: Write CONTINUE_HERE.md

Write to project root w/ structure below. Every section actionable, no placeholders.

# Continue Here

> Last updated: YYYY-MM-DDTHH:MM:SSZ | Branch: current-branch-name

## Objective
One-paragraph description of what we are trying to accomplish and why.

## Completed
- [x] Finished item with key file paths (e.g., `src/feature.R`)
- [x] Decisions made and their rationale

## In Progress
- [ ] Partially complete work — describe current state (branch, file:line)
- [ ] Known issues with partial work

## Next Steps
1. Immediate next action (most important)
2. Subsequent actions in priority order
3. **[USER]** Items needing user input or decision

## Context
- Failed approaches and why they did not work
- Key constraints or trade-offs discovered
- Relevant issue/PR links

Guidelines:

  • Objective: WHY → git log shows what changed, not why
  • Completed: Mark clearly done → prevent re-work
  • In Progress: Highest-value section → partial state hardest to reconstruct
  • Next Steps: Number by priority. User-dep → prefix **[USER]**
  • Context: Negative space → tried+rejected, why

Got: CONTINUE_HERE.md at project root, all 5 sections w/ real content. Timestamp + branch accurate.

If err: Write fails → check perms. Create in project root (same dir as .git/). Verify .gitignore has CONTINUE_HERE.md → if not, add.

Step 3: Verify

Read back CONTINUE_HERE.md, confirm:

  • Timestamp current (last few min)
  • Branch matches git branch --show-current
  • All 5 sections real content (no placeholders)
  • Next Steps numbered + actionable
  • In Progress items specific enough to resume

Got: Reads as clear actionable handoff → fresh sess can resume.

If err: Edit placeholder/vague sections. Each must pass: "Could fresh sess act w/o clarifying?"

Check

  • CONTINUE_HERE.md at project root
  • All 5 sections real content (no placeholders)
  • Timestamp + branch accurate
  • .gitignore has CONTINUE_HERE.md
  • Next Steps numbered + actionable
  • In Progress items specific enough to resume

Traps

  • Placeholders not content: "TODO: fill later" defeats purpose. Real info from current sess.
  • Duplicate git state: Don't list every file → git tracks. Focus intent, partial, next.
  • Forget Context: Failed approaches most valuable. W/o them, next sess retries dead ends.
  • Overwrite w/o read: Existing CONTINUE_HERE.md → read first → may have unfinished from prior.
  • Stale files: Ephemeral → after consume, delete. Stale → confusion.

  • read-continue-here — complement: read+act on continuation file at sess start
  • bootstrap-agent-identity — cold-start identity reconstruction → consumes file this produces
  • manage-memory — durable cross-sess knowledge (complements ephemeral handoff)
  • commit-changes — save to git before writing continuation
  • write-claude-md — project instructions where optional continuity guidance lives

GitHub Repository

pjt222/agent-almanac
Path: i18n/caveman-ultra/skills/write-continue-here
0
agentsagentskillsai-assisted-developmentclaude-codeskillsteams

Related Skills

railway-docs

Documentation

This skill fetches current Railway documentation to answer questions about features, functionality, or specific docs URLs. It ensures developers receive accurate, up-to-date information directly from Railway's official sources. Use it when users ask how Railway works or reference Railway documentation.

View skill

n8n-code-python

Documentation

This Claude Skill provides expert guidance for writing Python code in n8n's Code nodes, specifically for using Python's standard library and working with n8n's special syntax like `_input`, `_json`, and `_node`. It helps developers understand Python's limitations within n8n and recommends using JavaScript for most workflows while offering Python solutions for specific data transformation needs.

View skill

archon

Documentation

The Archon skill provides RAG-powered semantic search and project management through a REST API. Use it for querying documentation, managing hierarchical projects/tasks, and performing knowledge retrieval with document upload capabilities. Always prioritize Archon first when searching external documentation before using other sources.

View skill

n8n-code-javascript

Documentation

This Claude Skill provides expert guidance for writing JavaScript code in n8n's Code nodes. It covers essential n8n-specific syntax like `$input`/`$json` variables, HTTP helpers, and DateTime handling, while troubleshooting common errors. Use it when developing n8n workflows that require custom JavaScript processing in Code nodes.

View skill