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

/pulse-repo-stats

@33aea9c
Run it yourself

Build the Pulse engineering dashboard for a GitHub repo on this computer, as one HTML file - release weeks, PRs merged per week, review wait, time to merge, unreviewed merges, the commit grid, who does the work, how much of it AI agents do, and branch rules. Use when someone runs /pulse-repo-stats, or asks how their team ships, for engineering stats or velocity metrics on a repo, or for a Pulse report on their own repo. Works on private repos; needs only Node and a GitHub sign-in.

Use this Skill: https://skilld.dev/gh/paralect/saas-skills/pulse-repo-stats

Nothing lands on disk. Nothing to clean up.

Fork this Skill

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

SKILL.md

≈126 tokens for metadata: the name and description. ≈966 when used: this file.

Description uses 6.3% 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 ≈504 characters, or 6.3%.

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.

Pulse repo stats

Every file this skill uses ships in its own folder, next to this SKILL.md, and paths here are relative to that folder. It needs nothing from other skills or other folders, so don't go looking for them. Unless the user names another place, save everything it makes in out/pulse-repo-stats/ under the current project.

Reads the last 12 weeks of a GitHub repo and writes the same dashboard as paralect.ai/repo/vercel/next.js as one HTML file, with a "What stands out" block under the charts. It installs nothing. The numbers stay on this computer: the script talks only to api.github.com, and the page loads Tailwind and fonts from public CDNs and avatars from GitHub.

Steps

  1. Pick the repo. Use what the user named (owner/repo or a GitHub URL; several are fine if they asked for a combined view). If they named none, run it with no repo: the script uses the origin remote of the current folder.

  2. Pick the name for the title. The page says "How <name> ships". It defaults to the repo's name. If the product has a nicer name that you can see in the README or package.json (acme-web is "Acme"), pass it with --name.

  3. Run it from this skill's folder path, with a 10-minute timeout, because a busy repo takes several minutes:

    node <this-skill-folder>/scripts/pulse-repo-stats.mjs owner/repo --name "Acme"

    Progress goes to stderr. It opens the file in the browser when done.

  4. Report back. Stdout has the file's path, the headline numbers and "What stands out": the same insights the page shows under its charts. Give the user the path, then the two or three insights that matter most, in your own words. Don't add findings the numbers don't support, and if a number says "not enough data", say so rather than estimating it.

Options

Option What it does
--name "Acme" Name in the page title
--out path.html Where to write it. Default: out/pulse-repo-stats/<owner>-<repo>-<date>.html
--no-open Don't open the browser. Use this on a machine with no display.
--no-pipeline Skip the "How code gets to production" section
--print-template Print the page's HTML, to customize it (see below)

When it fails

Message What to do
node: command not found, or a syntax error It needs Node 18 or newer. Ask the user to install it from nodejs.org.
No GitHub sign-in found Ask the user to run gh auth login themselves, since it's interactive, or to set GH_TOKEN. Don't ask them to paste a token into this chat.
GitHub can't find owner/repo Check the name. If it's right, this account can't see the repo: gh auth refresh -s repo,read:org grants access to private and SSO-protected repos.
GitHub 403 Usually a rate limit. Wait a few minutes and run it again.

Never print the token or write it to a file.

What the numbers mean

The page explains each one under "How we count". Three things come up often:

  • Review wait and merged without review count people only. An AI reviewer's comment isn't a review here.
  • Busy repos are sampled. Weekly PR totals are exact, and the split by review speed is scaled up from the latest 25 PRs of each week. Medians use the most recent 400 PRs at most.
  • Targets (first review under 4 h, merge under 1 d, under 10% unreviewed, a release every week) come from DORA and LinearB benchmarks for product teams. Open-source projects often work differently.

Changing the page

The page's plain HTML, Tailwind classes and a little JavaScript are built into the script. To change the look, save them next to it, edit that copy and run the script again; it uses dashboard.html when it finds one:

node <this-skill-folder>/scripts/pulse-repo-stats.mjs --print-template > <this-skill-folder>/scripts/dashboard.html

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 warning15d3 checks · Risk SAFE
  • Gen Agent Trust Hub15d

    This skill generates an engineering dashboard for GitHub repositories by analyzing commit and pull request data. It produces a local HTML report using the user's existing GitHub credentials. The skill follows secure practices for handling authentication tokens and includes sanitization to ensure that repository data is safely rendered in the browser.

  • Socket15d

    No alerts

  • Snyk15d

    Risk: MEDIUM · 1 issue

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

Last checked against GitHub 4 days ago.

Activeupdated 2 weeks ago

README badge

README badge for paralect/saas-skills/pulse-repo-stats