agentleFS
BuilderIOBuilderIO/agent-native/.agents/skills/system-history/SKILL.md

system-history

Skill7.6k starsChanged 5 months agoMITView on GitHub

Blobless-safe git and PR history for this repo. Collects first-parent commits, scores systems against the repo's own baseline to separate fragile from fast-moving, lists recent changes to specific files as regression candidates, and reads PR diffs through GitHub. Use when you need to know how an area has been changing, what recently touched a file, or what a PR did.

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Every script accepts --help.

    line 23

≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

System history

Scripts run from the repo root:

H=.agents/skills/system-history/scripts
pnpm exec tsx $H/<script>.ts --run <id> [...]

Every script accepts --help. Exit codes: 0 ok, 1 failed, 2 could not run. Output goes to the run directory described in fragility-common.

Never read history with blob commands

This checkout is usually a blobless partial clone. git show, git diff, git log -p, --stat, --numstat and git blame fetch blobs one at a time and stall. Use these scripts instead. If one lacks a capability, extend it.

Scripts

  • doctor.ts: the base branch is present, and gh is authenticated.
  • collect.ts: writes commits.json, with first-parent commits on origin/<baseBranch> for --lookback-days, and the ones inside --window-hours marked. It uses tree-level data only, and takes seconds.
  • analyze.ts: writes analysis.json, analysis.md, and targets.json.
    • Window mode (the default): picks the systems the review window touched most. Each gets a percentile score against every active system, plus a triage verdict: likely-fragile, settling, mixed, coupled, likely-fast-moving, or insufficient-signal. Verdicts are leads, not conclusions.
    • Focus mode (--focus <file,file>): scores the systems that contain the given files, lists every lookback fix to each file, and lists regression candidates. Those are every commit of any kind that touched the files in --regression-days (default regressionDays). Use --label "<title>" --label-url <url> to name what the focus is for.
    • --keywords <word,word>: lists lookback fixes anywhere whose subject matches. Use it to find the same bug class in other systems.
    • It re-classifies commit subjects on every run, so after tuning config.json, re-run analyze.ts without collecting again.
  • pr.ts --pr N [--file <substring>] [--max-lines N] [--no-diff]: a PR's description and diff from GitHub. Output is bounded, and truncation is always stated.

Reading the scores

Counts can't tell you why a fix was needed. Before calling a system fragile, read 3 to 6 of its fix PRs with pr.ts. The judgment rubric is in .agents/skills/refactor-plan/references/rubric.md.

Tuning

Thresholds, ignore lists, system depth, and the regression window live in config.json.

Download now (ZIP)

Trending

Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data

Week of Aug 30: 0 new projectsWeek of Sep 6: 0 new projectsWeek of Sep 13: 0 new projectsWeek of Sep 20: 0 new projectsWeek of Sep 27: 0 new projectsWeek of Oct 4: 0 new projectsWeek of Oct 11: 0 new projectsWeek of Oct 18: 0 new projects
Aug 2026Sep 2026Oct 2026
New projects taking a version of this file each week, over the 8 weeks our latest run read: only 0 in all, so this is a hint, not a trend.

Who's talking about BuilderIO/agent-native

The biggest 5 of 61 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 61

Talked about on GitHub and Bluesky (61 times).

On GitHub · 50

45 more on GitHub

On Bluesky · 11

6 more on Bluesky

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.