cc-whats-new
Report what changed in Claude Code since this skill last ran, filtered to the topics in your cc-tools config. Reads the upstream CHANGELOG and searches anthropics/claude-code issues on the same topics. Use when asked what's new in Claude Code, or when starting a session after an update.
- License 许可
- GPL-3.0
- 最近更新
- 2026-11-14
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- cc-whats-new
- description
- Report what changed in Claude Code since this skill last ran, filtered to the topics in your cc-tools config. Reads the upstream CHANGELOG and searches anthropics/claude-code issues on the same topics. Use when asked what's new in Claude Code, or when starting a session after an update.
- allowed-tools
- Bash(gh search issues:*), Bash(gh issue view:*), Bash(claude --version), Bash(date:*), Read, Write, Skill, WebFetch
- argument-hint
- [ "--since YYYY-MM-DD" ]
03 SKILL.md 正文
What's new in Claude Code, on the topics you track
Report only what the user's configured topics reach. A changelog line about a surface no configured topic names is noise, and noise is what this skill exists to remove.
Topics
The topics are the user's, and they are the only topics this skill
acts on — it infers none from this machine's settings, installed
plugins, or always-loaded rules. Read
skills/lib/cc-topics-config.md for the config path, the topics:
schema, and what to do when the file is absent, unreadable, or carries
a schema-version this skill cannot serve. That contract is the only
statement of them.
This skill's pin is schema-version: 1.
State file
${XDG_CONFIG_HOME:-$HOME/.config}/cc-tools/whats-new.yml holds the
watermark — plain YAML, one document, beside the topics config in the
same directory:
schema-version: 1
last-run: "2026-08-31"
last-version: "2.1.247"
Both values are quoted. Unquoted, YAML 1.1 resolves 2026-08-31 to a
timestamp rather than the YYYY-MM-DD string this skill compares
against --since and against gh search output, and 2.1.247 is not
a number at all.
last-version is what filters the CHANGELOG, which carries version
headings and no dates; last-run is what filters the issue search,
which is dated and versionless. Both are needed — neither substitutes
for the other.
Read it with the Read tool, requiring schema-version: 1. A
malformed file is not a watermark to guess at: report the path and
stop, so a hand-edit that broke the file is not silently overwritten. A
schema-version lower than the pin stops the same way, naming both
versions — the one the file carries and the 1 this skill requires. A
higher version reads fine — take the two keys and ignore the rest.
If the file is absent, this is a first run: report that, use the 30
days before today as the window, and say in the report that the
CHANGELOG section is capped at 30 entries rather than complete. There
is no migration from any earlier watermark file — an absent
whats-new.yml is a first run whatever else the directory holds.
If the Read denies, report the tool's error verbatim and the path
it was denied at, and stop. Name no cause: a denial says nothing about
why, so any explanation you offer is a guess the user will act on. A
denial is not absence either, so there is no first-run window to fall
back on — the run ends there, with no report and nothing written.
--since YYYY-MM-DD in $ARGUMENTS overrides last-run for this run
and leaves the file's own watermark to be advanced as usual.
Execution rules
Every Bash command MUST be single-token: no &&, no ||, no ;, no
|, no > / 2>. Compound forms hit an upstream permission-parser
bug and prompt even with a matching allow rule. That rules out shell
parameter expansion for the state path too — resolve
XDG_CONFIG_HOME's value by reading the environment yourself and pass
the absolute path.
Steps
-
Read the watermark, per the state file section above.
-
Read the topics config, per the topics section above.
-
Fetch the CHANGELOG with WebFetch from
https://raw.githubusercontent.com/anthropics/claude-code/main/CHANGELOG.md, asking for every entry abovelast-version. Version headings are descending, so stop at the first heading that islast-versionor lower. On a first run, take the newest 30 entries. -
Match each entry against the configured topics. Keep an entry when it names a surface a topic names, or when it changes a default such a topic relies on without naming it. Drop the rest silently — do not report a count of what was dropped, and do not keep an entry because it looks generally interesting.
-
Search every configured topic, one Bash call each, both states, bounded by the watermark:
gh search issues --repo anthropics/claude-code --limit 20 --json number,title,state,closedAt,updatedAt "<topic name> updated:>=<last-run>"Every topic is searched, whether or not step 4 matched a CHANGELOG entry to it and whether or not it carries
issues:. There is no cap: the user curated the list, so there is nothing to leave unsearched and nothing to report as unsearched. -
Propose what to track, per the discovery section below.
-
Write the watermark back to the state file: today's date, and the version from
claude --version. Do this last, only after the report is produced, so a failed run leaves the window intact for the next one.
Discovery is propose-and-ask
This skill searches for issues new since the watermark;
cc-watchlist reports on issues the user chose to track. Appending a
discovery to topics: on its own collapses the two — everything
discovered becomes tracked, the list grows monotonically, and the
curation the config exists for is undone by the tool.
So: surface the candidates in the report's own section, ask which to
track and under which topic — an existing name or a new one the user
gives — and append only what the user accepts. Nothing reaches
topics: without an answer, and declining every candidate changes no
topic.
An accepted candidate is an edit to a file the user owns: preserve
every existing key and every existing topic, add the issue number to
the named topic's issues: (creating the topic at the end of the list
when it is new), and change nothing else.
Report format
Since <last-version> (<last-run>) — now <version>, <today>.
## Affects your setup
- <CHANGELOG entry, verbatim> — <what it changes for you, one line>
## Issues on those topics
<topic name>:
- #<num> open — <title>
- #<num> closed <YYYY-MM-DD> — <title>
## Watch
- <entry that names a configured topic's surface without changing it yet>
## Track these?
<topic name or "(new topic)">:
- #<num> — <title>
Omit any section whose list is empty. Bounds on the gloss after each entry's dash in "Affects your setup": say what the entry changes for these topics, not what the feature is, and never assert an interaction the CHANGELOG does not state — label a hypothesis as one.
Notes
- If WebFetch fails, report the error verbatim and stop before writing the watermark.
- Say in the report when the topics config was seeded this run, and where.
04 同仓库更多 Skills
mask-inappropriate-language
Replace inappropriate language (profanity, slurs, strong insults) in provided text or a file with asterisks, character-for-character, preserving everything else.
theorem-agents-interface
The interface between the sdlc reviewer and the theorem agents it spawns — what each double-dash brief parameter means, and what each consequence class means. Preloaded into every theorem agent (sdlc:theorem-generator, the disprover, and the verifier) via its skills frontmatter, and read by name by the sdlc:theorem-based-pr-reviewer agent for what its briefs' parameters mean; not invoked from the user's slash menu.
sdlc-config-user
Interactively create or merge-update the repo user sdlc config, `<repo-root>/.sdlc/user-config.yml` (tier 3 — this user, this repo, never committed), and add it to the repo's tracked `.gitignore`.
sdlc-config-repo
Interactively create or merge-update the shared repo sdlc config, `<repo-root>/.sdlc/repo-config.yml` (tier 2 — tracked, every user of this repo).
sdlc-config-global
Interactively create or merge-update the global user sdlc config, `$XDG_CONFIG_HOME/sdlc/user-config.yml` (tier 1 — this user, every repo on this machine).
pr-read-cli-interface
The contract for sdlc's PR-read CLIs — sdlc-pr-round, sdlc-pr-adjustments, sdlc-fixer-brief and sdlc-records-chain — their arguments, exit codes and output grammar. Preloaded into sdlc:theorem-based-pr-reviewer, sdlc:issue-fixer, sdlc:docs-writer and sdlc:pr-finalizer via their skills frontmatter; not invoked from the user's slash menu.