Capture the current state of a project by updating documentation at the end of a development session. Invokes the readme skill to refresh README.md and the planning-with-files skill to record project status in a doc/ or docs/ directory. Use after merging a PR, finishing a feature, wrapping up a coding session, or any time the user wants to snapshot where the project stands — even implicit phrases like "archive this", "wrap up the session", "document current status", "update project docs", "snapshot this repo", or "I'm done for today". Also use when the user says "end of session" or asks to prepare documentation before stepping away from a project.
Ships in git. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Capture the current state of a project at the end of a development session by orchestrating two existing skills: readme (for README.md) and planning-with-files (for project status tracking). This skill automates the documentation step you'd otherwise do manually before stepping away.
Understand what happened during this session so the documentation reflects reality:
git log --oneline -20 — recent commitsgit branch --show-current — current branchgh pr list --state merged --limit 5 — recently merged PRs (skip if gh CLI is unavailable)git diff --stat HEAD~10 — scope of recent changes (adjust range based on session length)Take note of key themes: what features were added, what bugs were fixed, what was refactored. This context informs both the README update and the status files.
Check existing documentation for written language:
doc/ or docs/ if they existIf the user explicitly specifies a language, use that instead regardless of what exists.
Look for an existing documentation directory in this order:
docs/ exists → use itdoc/ exists → use itdoc/ with mkdir -p docStore the resolved path (e.g., docs/ or doc/) as {doc_dir}. Every file created in Steps 5 must go inside this directory — never in the project root.
Invoke the readme skill to update or create the project's README.md.
Skill: readme
The readme skill handles its own detection of project structure, metadata, and content. Let it do its job — no need to pre-process anything for it.
Invoke the planning-with-files skill to capture current project status.
Skill: planning-with-files
Directory override: The planning-with-files skill normally creates task_plan.md, findings.md, and progress.md in the project root. For gh-archive, all three files must go inside {doc_dir}/ (the directory resolved in Step 3). Concretely:
{doc_dir}/task_plan.md (not ./task_plan.md){doc_dir}/findings.md (not ./findings.md){doc_dir}/progress.md (not ./progress.md)If these files already exist in {doc_dir}/, update them to reflect the current session. If they exist in the project root but not in {doc_dir}/, move them into {doc_dir}/ first, then update.
Provide a brief summary:
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
/git:gh-archivefrom git
npx claudepluginhub chienchuanw/chuan-skills --plugin git9 skills in this plugin
/branch-reportGenerates a branch-vs-default comparison report with plain-language explanations and senior dev review. Use when the user asks to summarize, compare, review, or explain branch changes, or wants a PR summary before merging. Read-only: it produces a report to read — it does not push the branch or open/update the PR (for that use gh-pr).
/commit-msgSuggests 3 commit messages based on git diff and project conventions. Use when the user asks for commit message ideas, wants help writing a commit message, or has changes ready to commit.
/gh-commentPost formatted comments on GitHub PRs or issues, approve PRs, and merge PRs via gh CLI using purpose-specific templates (feedback, question, status, approval, request-changes). Use when commenting on a PR, leaving feedback, asking a question on an issue, posting a status update, approving a pull request, merging a PR, or any intent to interact with an existing PR or issue — even implicit phrases like "tell them", "approve it", "merge this", "LGTM", or "ship it".
/gh-devCreate a branch linked to a GitHub issue via gh issue develop, then implement the work with regular convention-following commits. Use when starting work on an issue, picking up a ticket, developing a feature branch, or any intent to begin coding against a GitHub issue.
/gh-fixRead unresolved review comments on a GitHub PR, deeply evaluate each suggestion, then either fix it (via gh-dev + simplify) and push the result, or push back via gh-comment with a reasoned reply. Use when the user wants to address PR feedback, respond to reviewer comments, fix code-review suggestions, action a review, or any phrasing like "address the comments on PR #N", "respond to the review", "fix what the reviewer asked for", "go through the PR feedback", or "handle the review comments".
/gh-issueCreate structured GitHub issues via gh CLI using type-specific templates (bug, feat, refactor, doc, perf, security). Use when filing bugs, requesting features, tracking work, opening tickets, or any intent to create a GitHub issue — even implicit phrases like "track this" or "file this".