release-polygraphy
Skill13k starsChanged 5 months agoApache-2.0View on GitHub
Prepare a Polygraphy release by auditing all changes since the previous release, finalizing or adding the versioned CHANGELOG section, updating polygraphy/__init__.py, validating the release-only diff, and opening a GitLab merge request targeting develop. Use when asked to create, prepare, cut, or publish a new Polygraphy version or release MR.
- Commits and pushes
Trending
Quiet this year.thin dataabout the whole repository
Who's talking about NVIDIA/TensorRT
- AUTOMATIC1111/stable-diffusion-webui“[Feature Request]: Potential mode for TensorRT inference over native PyTorch”GitHub · Jan 29, 2023 · 62 reactions
- ultralytics/yolov5“Gain of `EfficientNMS_TRT` embed on TensorRT”GitHub · Jan 26, 2022 · 15 reactions
- AiuniAI/Unique3D“For Windows users”GitHub · Jun 9, 2024 · 8 reactions
- A Hacker News story“TensorRT Open Source Software”Hacker News · Jul 2, 2019 · 1 points
The biggest 4 of 4 mentions linking to the repository that our crawl found. Each line is their own headline.
In this repository8 other files it gives its agents.
- trt-cpp-runtime-quickstartSkill
- trt-onnx-quickstartSkill
- trt-perf-analysisSkill
- trt-strong-typing-migrationSkill
- trt-torch-quickstartSkill
- deprecate-apiSkill
- headless-screenshotsSkill
- testSkill
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 4 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 29
If the top of CHANGELOG.md contains a vNext section, retain its user-visible content and replace vNext with the selected version and …
- Very specific: line 35
Use the local date in YYYY-MM-DD format and verify that the version/tag does not already exist.
- Very specific: line 39
Add the new section at the top of CHANGELOG.md, after its introduction.
- Very specific: line 48
Use only applicable headings from Added, Changed, Fixed, Deprecated, and Removed, in the same style and order as nearby releases.
- Distinctive: line 50
Keep two blank lines between version sections and wrap bullets consistently with nearby entries.
- Distinctive: line 55
Do not list repository tooling, release mechanics, or this skill as Polygraphy product changes.
- Very specific: line 57
Update only __version__ in polygraphy/__init__.py to the same version unless repository evidence shows another release-version source of …
- Very specific: line 82
Create a branch from the refreshed origin/develop, using a descriptive name such as dev-<username>-release-X.Y.Z.
- Distinctive: line 84
Commit the reviewed release diff with a concise release message.
- Distinctive: line 96
Verify the pushed branch, target branch, MR title, and MR URL.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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.
Files
Release Polygraphy
Prepare the version-bump merge request only. Do not merge it, create a tag, or publish packages unless the user separately requests those actions.
Collect release context
- Confirm that the working tree is clean. Preserve unrelated user changes and stop if they overlap the release files.
- Fetch
origin/developand version tags so the audit uses current remote state. Run:
python3 .agents/skills/release-polygraphy/scripts/collect_release_context.py- Inspect every non-merge commit and its diff in the reported tag-to-
origin/developrange. Use first-parent merge commits to understand grouping, but do not rely on commit subjects alone. - Confirm that the reported previous tag and
polygraphy.__version__agree. Resolve any mismatch before editing release files.
Choose the version
- If the top of
CHANGELOG.mdcontains avNextsection, retain its user-visible content and replacevNextwith the selected version and current date. - Otherwise, select the next version from the unreleased changes, the user's requested release scope, and recent Polygraphy release history. Do not assume a compatible feature requires a minor increment: Polygraphy has shipped user-visible additions in patch releases. Ask before changing an already-selected release version or making a breaking-version decision.
- Use the local date in
YYYY-MM-DDformat and verify that the version/tag does not already exist.
Write the release entry
Add the new section at the top of CHANGELOG.md, after its introduction. Match the established
format exactly:
## vX.Y.Z (YYYY-MM-DD)
### Fixed
- User-visible outcome.- Use only applicable headings from
Added,Changed,Fixed,Deprecated, andRemoved, in the same style and order as nearby releases. - Keep two blank lines between version sections and wrap bullets consistently with nearby entries.
- Cover every user-visible change in the audited range, including changes whose original commit did not update the changelog.
- Describe behavior, affected commands or public APIs, and the user-visible outcome. Omit internal bug IDs, commit/MR references, code structure, algorithms, refactors, tests, and CI details.
- Do not list repository tooling, release mechanics, or this skill as Polygraphy product changes.
Update only __version__ in polygraphy/__init__.py to the same version unless repository evidence
shows another release-version source of truth.
Validate
Run at least:
python3 -c "import polygraphy; print(polygraphy.__version__)"
git diff --check
git diff -- CHANGELOG.md polygraphy/__init__.py .agents/skills/release-polygraphyConfirm that:
- the imported version exactly matches the changelog heading;
- the release date and previous tag are correct;
- the changelog contains only user-visible changes;
- the diff contains no unrelated edits.
Release-only metadata edits do not require the full runtime test suite. Run additional focused tests only if the release branch also changes executable product code.
Open the merge request
- Create a branch from the refreshed
origin/develop, using a descriptive name such asdev-<username>-release-X.Y.Z. - Commit the reviewed release diff with a concise release message.
Push the branch and create a GitLab merge request targeting
develop. If no working GitLab CLI is available, use Git push options:git push -u origin <branch> \ -o merge_request.create \ -o merge_request.target=develop \ -o 'merge_request.title=Release X.Y.Z' \ -o 'merge_request.description=<summary and validation>'- Verify the pushed branch, target branch, MR title, and MR URL. Report the version, changelog summary, validation performed, commit, and MR link to the user.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
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.

