Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

shiplog

БесплатноБез исполняемых скриптовНе проверен

Recap of everything shipped since the last run - cross-repo PRs, security fixes, star deltas, and X traction, synthesized into a digest article and a…

aeonfunот aeonfun★ 801 звезда на GitHub

Об этом скилле

${var} — Optional, space-separated flags:

  • since:YYYY-MM-DD — override the window start (default: when this skill last ran).
  • days:N — window = last N days.
  • dry-run — render to stdout; write no article, no state, no notify.
  • owner/repo — narrow GitHub coverage to that one repo.
  • any other word — focus/theme filter (a product name or keyword).

Empty = everything shipped since the last run, across all configured repos.

Produce two artifacts:

  1. Digest — a themed, human-readable recap of everything that shipped + traction (the article).
  2. Shiplog post — a tight, bulleted, ready-to-post version in the operator's voice, every project @-tagged (the notification).

This is cadence-agnostic: the window is always "since the last run" (memory/state/shiplog-last.json), so the aeon.yml schedule alone decides whether this is a daily, weekly, or on-demand recap. One skill, any frequency.

Read STRATEGY.md, memory/MEMORY.md, and the last 7 days of memory/logs/ for context. Read soul/SOUL.md + soul/STYLE.md before writing any output — the shiplog post must sound like the operator, not a changelog bot. If soul/ is empty, use a clear, direct, neutral voice (drop the signature flourishes below).

Config — all derived, nothing hardcoded

operator        = gh api user --jq .login            # the authenticated operator (PR-author search)
product_handles = memory/products.md `handles:` lines (@x)        # product X accounts to read
flagship_repos  = memory/products.md `repos:` tagged (public)     # the star / north-star story
watched_repos   = memory/watched-repos.md, else products.md repos: # everything shipped across
ecosystem_scouts= memory/products.md `scouts:` line (optional)    # recap accounts to scan for features
star_state      = memory/state/shiplog-stars.json    # snapshot for week-over-week star deltas

If neither watched-repos.md nor products.md yields a repo, exit SHIPLOG_NO_REPOS (notify + log, no article). Sections whose config is absent (X handles, scouts) are skipped gracefully, not failed.

Steps

1. Compute the window — "since last run"

Each date / jq below is its own Bash call (see Shell shape under Fetching & sources):

date -u +%Y-%m-%dT%H:%M:%SZ
date -u +%Y-%m-%d

The first prints NOW, the second TODAY.

Check for the state file memory/state/shiplog-last.json with Glob. If it exists, read the last run time:

jq -r '.last_run_at // empty' memory/state/shiplog-last.json

It prints LAST. SINCE = LAST. If the file is missing or LAST is empty, use the first-run default instead:

date -u -d '7 days ago' +%Y-%m-%dT%H:%M:%SZ

It prints SINCE. SINCE_DATE = the part of SINCE before the T. Every later command has these values (and OPERATOR, handles, repos) written in literally where it shows <SINCE>, <SINCE_DATE>, <TODAY>, <NOW>.

  • since:YYYY-MM-DD in ${var} → SINCE = that date at T00:00:00Z; days:N → N days ago (date -u -d '<N> days ago' +%Y-%m-%dT%H:%M:%SZ as its own call). These override the state file.
  • Use SINCE for ALL time filtering - never substitute "since Monday" or other drift-prone shortcuts. The window is [SINCE, NOW); state the span (SINCE_DATE → TODAY) in the output.
  • Idempotency is the state file (step 8 advances it each run, so windows never overlap). No once-per-day lock — a back-to-back re-run just yields an empty window → SHIPLOG_NOTHING_NEW. Write the digest to output/articles/shiplog-${TODAY}.md; if that name exists and there's genuinely new activity since the last run, use output/articles/shiplog-${TODAY}-2.md rather than clobbering.

2. GitHub activity (the bytes)

Cross-repo PR/commit visibility needs the global token. When GH_GLOBAL is set the workflow already exports it as gh's GH_TOKEN, so plain gh calls reach every repo it can see; don't put the token on the command line (a $SECRET expansion is refused):

gh reads GH_TOKEN from the environment (GH_GLOBAL when set, else the repo-scoped token):

gh api user --jq .login

It prints OPERATOR.

Track success/failure per source in a sources map; on a single endpoint failure log fail and continue — never abort the whole skill.

a) Operator PRs across all repos in the window (grouped by repo + totals):

gh search prs --author "<OPERATOR>" --created ">=<SINCE_DATE>" \
  --json number,title,repository,state,createdAt,url --limit 100 \
  --jq 'group_by(.repository.nameWithOwner)[] | {repo: .[0].repository.nameWithOwner, count: length,
         prs: [.[] | {date: .createdAt[0:10], state, number, title}]}'

If 100 rows come back, note the result may be truncated.

b) Flagship headline numbers - for each flagship_repos entry, count commits + merged PRs in the window (the numbers the audience cares about). Two calls per repo, with the repo and SINCE written in literally:

gh api "repos/<REPO>/commits" -X GET
Полный SKILL.md на GitHub

Установить shiplog в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл shiplog?

Recap of everything shipped since the last run - cross-repo PRs, security fixes, star deltas, and X traction, synthesized into a digest article and a ready-to-post shiplog in your voice.

Как установить скилл shiplog?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл shiplog запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить shiplog с