ワンクリックで
j-sync-docs
Reconcile project docs (MEMORY.org, TODO.org, AGENTS.md) with the current state of the code and recent commits.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Reconcile project docs (MEMORY.org, TODO.org, AGENTS.md) with the current state of the code and recent commits.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Browse, screenshot, or visually verify a local web app using the pre-installed browser-check and playwright-cli (never install your own browser). Use when asked to screenshot, browse, open/view a page, check the UI, or confirm the site is running.
Prioritize open TODO items by effort and impact, recommend what to work on next. Add the `full` keyword to also weigh project notes and stash context.
Resume a session — read the paste-back handoff note to recall what we last worked on, falling back to a git+TODO status when none exists. Add the `full` keyword to also deep-scan project notes and memory.
Write the paste-back handoff note (scratch/resume-session.md) so the next session can hit the ground running. Add the `full` keyword to also save durable knowledge to denote notes + TODO and commit.
Get oriented on host-level, cross-project knowledge by reading the stash README map. Use when starting fresh in a container, or when you need the lay of the land for hardware, dotfiles/preferences, Emacs, Linux, or cross-project conventions that live outside the current repo.
Work autonomously while the user is away. Create multiple feature branches sequentially, each with a self-contained improvement.
| name | j-sync-docs |
| description | Reconcile project docs (MEMORY.org, TODO.org, AGENTS.md) with the current state of the code and recent commits. |
Audit project documentation against the actual codebase and fix drift.
Find the most recent modification time across doc files, then get commits since:
last_update=$(stat -c %Y docs/PROJECT.org docs/MEMORY.org docs/TODO.org docs/RESEARCH.org AGENTS.md 2>/dev/null | sort -rn | head -1)
git log --since="@${last_update}" --oneline
If no doc files exist yet, review the last 20 commits instead.
Read the diff for those commits to understand what changed:
git diff "@{$(date -d @${last_update} '+%Y-%m-%d')}"..HEAD --stat
For each file, check whether the content matches reality:
docs/PROJECT.org:
AGENTS.md / CLAUDE.md:
docs/TODO.org:
DONE (check git log for evidence)docs/MEMORY.org:
docs/RESEARCH.org (read-only check):
Edit the files to fix any drift found. Be surgical — only change what's wrong.
Commit all doc changes with: sync-docs: <brief summary of what was reconciled>
Print what was updated and why, grouped by file.