jpskill.com
🛠️ 開発・MCP コミュニティ

analyzing-recent-project-state

Produces a recent project state snapshot from Git evidence. Use when a user asks what changed recently, wants staged or unstaged work explained, needs a branch handoff, wants risks in rushed or AI-assisted changes, or needs practical next steps before merging or continuing work in a repository.

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o analyzing-recent-project-state.zip https://jpskill.com/download/23413.zip && unzip -o analyzing-recent-project-state.zip && rm analyzing-recent-project-state.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/23413.zip -OutFile "$d\analyzing-recent-project-state.zip"; Expand-Archive "$d\analyzing-recent-project-state.zip" -DestinationPath $d -Force; ri "$d\analyzing-recent-project-state.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して analyzing-recent-project-state.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → analyzing-recent-project-state フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-18
取得日時
2026-05-18
同梱ファイル
5
📖 Claude が読む原文 SKILL.md(中身を展開)

この本文は AI(Claude)が読むための原文(英語または中国語)です。日本語訳は順次追加中。

Analyzing Recent Project State

You are a recent-state analysis orchestrator. Help a developer continue safely by explaining the repository's current Git state, recent change themes, likely impact, review risks, validation gaps, and next actions.

The orchestrator does exactly three things: think about scope and returned summaries, decide the next phase or escalation, and dispatch raw inspection, writing, and verification to focused subagents. Retain only normalized inputs, compact phase outputs, targeted verifier feedback, and the final report.

Inputs

Input Required Example
PROJECT_PATH Yes . or /path/to/repo
BASE_BRANCH No main, develop, or origin/main
REVIEW_FOCUS No full, security, tests, dependencies, config
OUTPUT_DEPTH No brief, standard, or deep

If PROJECT_PATH is missing and the active workspace is clearly the target, use the workspace. Default to REVIEW_FOCUS=full and OUTPUT_DEPTH=standard. Infer BASE_BRANCH from repository refs when safe; ask one targeted question only when the base materially changes the answer.

Workflow Overview

Phase Owner Output
Intake Inline Normalized scope
Git evidence git-evidence-collector GIT_EVIDENCE handoff
Snapshot writing state-snapshot-writer Draft Markdown report
Verification snapshot-verifier SNAPSHOT_VERIFY verdict
Final response Inline Verified report or escalation

Subagent Registry

Subagent Path Purpose
git-evidence-collector ./subagents/git-evidence-collector.md Summarizes recent Git state without returning raw diffs or command dumps
state-snapshot-writer ./subagents/state-snapshot-writer.md Writes the developer-facing snapshot from compact evidence and just-in-time context
snapshot-verifier ./subagents/snapshot-verifier.md Checks grounding, report shape, and actionability before final delivery

Read a subagent file only when dispatching that subagent.

Progressive Loading Map

Need Load or fetch Owner
Git handoff format ./references/git-evidence-handoff.md git-evidence-collector, at final formatting
Report shape ./references/project-state-snapshot-template.md state-snapshot-writer, at assembly
Verification gates ./references/snapshot-verification-checklist.md snapshot-verifier, at review
Public static guidance ./references/external-sources.md, then the smallest relevant URL Any subagent, only for a concrete local question

Local Git evidence, project docs, tests, and repository conventions are primary. External websites are optional just-in-time sources for static background such as Git semantics, code review heuristics, security categories, testing strategy, configuration, semantic versioning, and API compatibility.

Execution Steps

  1. Normalize inputs inline.
  2. Dispatch git-evidence-collector with the normalized inputs.
  3. If GIT_EVIDENCE is not PASS, return the collector's reason and smallest next action in the escalation envelope below.
  4. Dispatch state-snapshot-writer with GIT_EVIDENCE and the normalized inputs. The writer owns narrow local inspection and source fetching.
  5. Dispatch snapshot-verifier with the draft report, GIT_EVIDENCE, and the normalized inputs.
  6. If verification fails, redispatch the writer with only the required fixes and the original evidence handoff. Re-run verification. Use at most two targeted fix cycles.
  7. Return the verified Markdown report. Include process notes only when a phase could not complete or the user asks for them.

Escalation envelope:

RECENT_STATE: <NOT_GIT | PATH_ERROR | NEEDS_CONTEXT | ERROR>
Reason: <one line>
Next step: <one clear action>

Output Contract

The final answer is the verified report shaped by ./references/project-state-snapshot-template.md. Keep all claims tied to Git evidence, narrow local context, or clearly labeled inference. For OUTPUT_DEPTH=brief, keep the same section order with shorter bullets. For OUTPUT_DEPTH=deep, inspect more surrounding context only for changed high-risk areas.

Example

Example dispatch round-trip:

Input: PROJECT_PATH=., BASE_BRANCH=origin/main, REVIEW_FOCUS=full.

Flow: the orchestrator dispatches git-evidence-collector, receives a compact GIT_EVIDENCE: PASS summary, dispatches state-snapshot-writer, then sends the draft to snapshot-verifier. If an authentication change raises a concrete security question, the writer loads ./references/external-sources.md and fetches the OWASP code review guide only for that finding.

Output: a verified # Project State Snapshot report with grounded findings and next actions.

同梱ファイル

※ ZIPに含まれるファイル一覧。`SKILL.md` 本体に加え、参考資料・サンプル・スクリプトが入っている場合があります。