Community写作与编辑github.com

cf-x/project-handoff-skill

Explicit-only Codex skill for writing evidence-backed project handoff notes

project-handoff-skill 是什么?

project-handoff-skill is a Codex agent skill that explicit-only Codex skill for writing evidence-backed project handoff notes.

兼容平台~Claude CodeCodex CLI~Cursor
npx skills add cf-x/project-handoff-skill

Installed? Explore more 写作与编辑 skills: steipete/notion, affaan-m/seo, affaan-m/brand-voice · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Project Handoff

Create a current snapshot that lets a new agent continue the work without the conversation. Do not clear the conversation yourself.

1. Resolve the destination

Determine the handoff target before writing:

  1. Prefer an explicit directory supplied with the invocation. Normalize it and verify that it exists.
  2. Otherwise, infer candidates from directories and files actually discussed, read, created, or edited in this session.
  3. Treat the current working directory, Codex workspace root, version-control root, and project markers such as README.md, AGENTS.md, package.json, or pyproject.toml only as signals. None is authoritative by itself, and a project need not use Git.
  4. Proceed without asking only when one candidate is clearly supported by the session evidence.
  5. If the destination is missing or ambiguous, show the likely candidates and ask one concise question: HANDOFF.md 要写到哪个目录? Do not guess.

If multiple independent projects were changed, prefer a separate HANDOFF.md for each and confirm their destinations before writing.

2. Inspect the actual state

After resolving each target directory:

  • Review the relevant session work and inspect the target's structure, instructions, key documentation, implementation files, and outputs.
  • If version control exists, inspect its status and relevant changes. If it does not, continue without treating that as an error.
  • Use existing test or validation evidence. Run only lightweight, safe checks when useful; do not install dependencies or make unrelated project changes.
  • Read an existing HANDOFF.md before updating it. Keep still-valid information, replace stale status, and move newly completed work out of the remaining-work section.

Do not rely only on conversation memory when filesystem evidence is available.

3. Write HANDOFF.md

Create or update <confirmed-target>/HANDOFF.md as a concise current-state document with these sections:

# Project Handoff

> Updated: YYYY-MM-DD
> Target: /absolute/confirmed/path

## Current state and structure

## Completed cases

## Decisions and conventions

## Remaining work and exact next step

## Pitfalls and dead ends

## Validation, risks, and open questions

Apply these rules:

  • Give completed cases concrete outcomes and project-relative file or directory paths.
  • Record decisions, technical choices, style or naming conventions, and their reasons. Include evidence locations when useful.
  • Make remaining work actionable: priority, exact starting file or command, blockers, and the condition for completion.
  • Record failed approaches and why they failed so the next agent does not repeat them.
  • State tests or checks run and their results. Explicitly say what was not verified.
  • Distinguish observed facts from session claims and inferences. Mark uncertainty as 待确认; never fabricate completion, decisions, or test results.
  • Use absolute dates, concise prose, and paths instead of transcript-style narration.
  • Never include credentials, tokens, private personal information, environment-file contents, or large raw logs.
  • Keep the file as the latest handoff snapshot rather than an append-only history.

Modify only the intended HANDOFF.md unless the user explicitly requests other changes.

4. Verify and report

Re-read the finished file and confirm that:

  • it is in the confirmed directory;
  • every required section is present;
  • the next action is specific enough for a new agent to begin immediately;
  • claims, paths, dates, and validation status agree with the available evidence;
  • no sensitive information was copied into the document.

Report the written path, a brief summary, and any unresolved uncertainty. Stop there so the user can review the handoff before manually running /clear.

相关技能

steipete/notion

Notion CLI/API for pages, Markdown content, data sources, files, comments, search, Workers, and raw API calls.

community

affaan-m/seo

Audit, plan, and implement SEO improvements across technical SEO, on-page optimization, structured data, Core Web Vitals, and content strategy. Use when the user wants better search visibility, SEO remediation, schema markup, sitemap/robots work, or keyword mapping.

community

affaan-m/brand-voice

Build a source-derived writing style profile from real posts, essays, launch notes, docs, or site copy, then reuse that profile across content, outreach, and social workflows. Use when the user wants voice consistency without generic AI writing tropes.

community

affaan-m/crosspost

Multi-platform content distribution across X, LinkedIn, Threads, and Bluesky. Adapts content per platform using content-engine patterns. Never posts identical content cross-platform. Use when the user wants to distribute content across social platforms.

community

affaan-m/x-api

X/Twitter API integration for posting tweets, threads, reading timelines, search, and analytics. Covers OAuth auth patterns, rate limits, and platform-native content posting. Use when the user wants to interact with X programmatically.

community

affaan-m/content-engine

Create platform-native content systems for X, LinkedIn, TikTok, YouTube, newsletters, and repurposed multi-platform campaigns. Use when the user wants social posts, threads, scripts, content calendars, or one source asset adapted cleanly across platforms.

community