协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
since-cutoff【开发与工程】Find which APIs of a project's pinned Python dependencies changed after the model's training cutoff, where the code uses them, and write short AGENTS.md or CLAUDE.md notes.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
A coding model learns each library's API as it was at its training cutoff, but the project's lockfile keeps moving. This skill runs the since-cutoff CLI (MIT, PyPI since-cutoff, pinned here to release 0.4.1). For each pinned dependency, the CLI takes the latest release on or before the model's cutoff and compares that release's public API with the pinned release. The comparison is static (griffe), so no package code runs. It then reports the changed APIs that the project's code uses, with the files that use them. If the user agrees, it writes short notes into AGENTS.md or CLAUDE.md, each tagged with the evidence behind it (for example [diff]). scan makes no model calls and needs no API key. This adapts the upstream skill under its MIT license.
pyproject.toml, requirements*.txt or a lockfile (uv.lock, poetry.lock, pdm.lock, pylock.toml, Pipfile.lock).since-cutoff --version. If it is missing or does not report 0.4.1, ask the user before running uvx since-cutoff@0.4.1, which downloads that release from PyPI the first time. Do not install anything else or change the user's environment.uvx since-cutoff@0.4.1 scan --model <provider>:<model> (for example anthropic:claude-sonnet-4-5 or openai:gpt-5.4). Without --model, it reads the model from the coding agent's settings and prints where it found it. The scan reads the project's files, PyPI and models.dev. It sends none of the project's code anywhere.uvx since-cutoff@0.4.1 sync --dry-run and show the user the diff it prints. Run uvx since-cutoff@0.4.1 sync --yes only after they agree. It writes one marked block into AGENTS.md (or into CLAUDE.md if that is the file the project uses) and leaves the rest of the file unchanged. Run after later upgrades, it keeps the block in step with the lockfile. Exit code 4 means the block was edited by hand: tell the user, and pass --force only if they say so. uvx since-cutoff@0.4.1 unapply removes the block.since-cutoff run measures which of the changes the model actually gets wrong. It sends prompts to the model provider the user picks (package names, versions, public API signatures and generated tasks, never the project's source code) and uses their credits or usage, so ask first.uvx since-cutoff@0.4.1 scan --model anthropic:claude-sonnet-4-5
Output on the project's sample app, abridged to one package:
Your code uses 2 APIs that changed after claude-sonnet-4-5's training cutoff (2025-07-31)
anthropic 0.60.0 -> 1.8.0 (0.60.0 was the latest release at the cutoff; pyproject.toml pins 1.8.0)
Messages.create: temperature, top_k and top_p were removed uses this API
app/main.py calls create
Note: `Messages.create()` no longer accepts `temperature`, `top_k` or `top_p` as keyword
arguments. If the API still needs them, pass them through its `extra_body` or
`extra_query` argument. [diff]
run measures that.scan and status do not change project files: they write only to their own git-ignored .since-cutoff/ folder and a local cache. sync writes one marked block to AGENTS.md or CLAUDE.md, and only after the user agrees. No package code and no model-written code is executed. Credentials are needed only for the optional run.