Index of every page on this site: llms.txt
All skills
r44vc0rp avatar

/pulsum

@0623f2e
by Ryan Vogelr44vc0rp/skills165 stars
8
Run it yourself

Pull the latest changes for the current git repository and summarize everything that changed since the last pull, including what changed, who changed it, and why they likely did it. Use when the user says "pulsum", "pull and summarize", "catch me up", "what changed since I last pulled", or "what did everyone do".

Use this Skill: https://skilld.dev/gh/r44vc0rp/skills/pulsum

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈81 tokens for metadata: the name and description. ≈1.2k when used: this file.

Description uses 4.0% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈323 characters, or 4.0%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

Pulsum: Pull and Summarize

Pull the current branch's latest upstream changes. Then explain the incoming changes as a short briefing: what changed, who did it, and why they most likely did it.

1. Check the repository before pulling

Run these commands from the repository the user is working in:

git rev-parse --show-toplevel
git status --short --branch
git rev-parse --abbrev-ref --symbolic-full-name @{u}
  • If the directory is not a git repository, stop and say so.
  • If the branch has no upstream or HEAD is detached, ask which branch to pull. Do not guess.
  • If there are uncommitted changes, do not stash, reset, or discard them. A fast-forward pull still works when the incoming files do not overlap the local edits. If they do overlap, report the conflicting files and ask how to proceed.

2. Record the starting point, then pull

BEFORE=$(git rev-parse HEAD)
git fetch --prune
git pull --ff-only
AFTER=$(git rev-parse HEAD)
  • Use --ff-only. If the branch has diverged, stop and report how many commits are only local and how many are only upstream (git rev-list --left-right --count HEAD...@{u}). Ask whether to merge or rebase. Never pick one silently.
  • If BEFORE equals AFTER, the pull brought nothing new. Use the previous pull as the starting point instead: find the most recent pull or merge entry with git reflog show --date=iso --format='%h %gd %gs' HEAD | grep -E 'pull|merge' | head -5. Then use the commit before it (HEAD@{n+1}) as BEFORE, and tell the user which pull you are summarizing and its date. If there is no earlier pull, say the branch is up to date and stop.
  • For a shallow clone, run git fetch --deepen=<n> only if history is missing for the range.

3. Gather what changed

Use the range $BEFORE..$AFTER:

git log --no-merges --reverse --format='%h%x09%an%x09%ad%x09%s' --date=short $BEFORE..$AFTER
git shortlog -sn --no-merges $BEFORE..$AFTER
git diff --stat $BEFORE $AFTER
git diff --name-status $BEFORE $AFTER

Then look at the changes themselves:

  • Read each commit with git show --stat <sha> and the relevant parts of git show <sha>. For large ranges, skim the diffs and read in full the files that matter most, such as core logic, public APIs, schemas, and configuration.
  • Look up pull request context on GitHub when gh is available: gh api repos/{owner}/{repo}/commits/<sha>/pulls --jq '.[] | {number, title, body, user: .user.login}'. Fetch each pull request only once. Linked issues, PR descriptions, and review comments are the best evidence for why a change was made.
  • Group commits that belong together, such as all commits from one PR or one feature, instead of describing each commit separately.
  • Ignore pure noise unless it matters, such as lockfile churn, formatting-only commits, or generated files. Mention it in one line.

4. Infer why

For each group of changes, explain the most likely reason. Draw on, in order:

  1. Pull request titles, descriptions, and linked issues
  2. Commit messages
  3. The code itself: new tests that describe a bug, added error handling, removed features, TODOs that were resolved, and changed defaults
  4. Timing and sequence, such as a fix shortly after a feature, or a revert

Clearly separate stated reasons from guesses. Write "PR #123 says…" for stated reasons and "Likely…" or "Probably…" for inferences. Do not invent motives that the evidence does not support. Say "Reason unclear" instead.

5. Flag what affects the user

Call out anything the user must act on locally:

  • New or changed dependencies, which need an install
  • Database migrations or schema changes
  • New or renamed environment variables, configuration, or secrets
  • Breaking API changes, removed functions, or renamed files the user's local work may reference
  • Changed build, test, or tooling commands
  • Overlap with the user's uncommitted changes or local commits

6. Report

Use this shape. Keep it scannable and lead with the summary.

**Pulled <n> commits from <m> people into `<branch>`** (<short BEFORE>..<short AFTER>, <date range>)

<2–3 sentences on the overall picture: the main themes of this batch.>

## What changed
- **<Theme or feature>**: <what changed>. <Why, stated or inferred>. (<people>, PR #<n>)
- …

## Who did what
- **<Name>** (<n> commits): <one line on their focus>
- …

## Action needed
- <Install deps, run migrations, set new env vars, and so on; or "None">

## Worth a look
- <Risky changes, surprising removals, reverts, or anything unclear>
  • Order themes by impact, not by commit order.
  • Link PRs and commits when the remote is on GitHub.
  • For more than about 30 commits, keep "What changed" to the top 5 themes and put the rest in a single "Also" line.
  • Omit empty sections, except "Action needed", where you write "None".

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning1mo3 checks · Risk SAFE
  • Gen Agent Trust Hub1mo

    The skill pulls git updates and summarizes them. It is generally safe for its intended purpose but carries a minor risk of indirect prompt injection because it processes untrusted data from commit messages and pull request descriptions.

  • Socket1mo

    No alerts

  • Snyk1mo

    Risk: MEDIUM · 1 issue

Signed by skilld at 0623f2e. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 3 weeks ago.

Activeupdated 2 months ago

README badge

README badge for r44vc0rp/skills/pulsum