agentleFS
NVIDIAKnown publisherNVIDIA/TensorRT/tools/Polygraphy/.agents/skills/release-polygraphy/SKILL.md

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

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 0 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 0 mentionsJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the NVIDIA/TensorRT repository that our weekly crawl found: only 4 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

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
  1. Very specific:

    If the top of CHANGELOG.md contains a vNext section, retain its user-visible content and replace vNext with the selected version and …

    line 29
  2. Very specific:

    Use the local date in YYYY-MM-DD format and verify that the version/tag does not already exist.

    line 35
  3. Very specific:

    Add the new section at the top of CHANGELOG.md, after its introduction.

    line 39
  4. Very specific:

    Use only applicable headings from Added, Changed, Fixed, Deprecated, and Removed, in the same style and order as nearby releases.

    line 48
  5. Distinctive:

    Keep two blank lines between version sections and wrap bullets consistently with nearby entries.

    line 50
  6. Distinctive:

    Do not list repository tooling, release mechanics, or this skill as Polygraphy product changes.

    line 55
  7. Very specific:

    Update only __version__ in polygraphy/__init__.py to the same version unless repository evidence shows another release-version source of …

    line 57
  8. Very specific:

    Create a branch from the refreshed origin/develop, using a descriptive name such as dev-<username>-release-X.Y.Z.

    line 82
  9. Distinctive:

    Commit the reviewed release diff with a concise release message.

    line 84
  10. Distinctive:

    Verify the pushed branch, target branch, MR title, and MR URL.

    line 96

≈ “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.

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

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

  1. Confirm that the working tree is clean. Preserve unrelated user changes and stop if they overlap the release files.
  2. Fetch origin/develop and version tags so the audit uses current remote state.
  3. Run:

    python3 .agents/skills/release-polygraphy/scripts/collect_release_context.py
  4. Inspect every non-merge commit and its diff in the reported tag-to-origin/develop range. Use first-parent merge commits to understand grouping, but do not rely on commit subjects alone.
  5. 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.md contains a vNext section, retain its user-visible content and replace vNext with 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-DD format 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, and Removed, 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-polygraphy

Confirm 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

  1. Create a branch from the refreshed origin/develop, using a descriptive name such as dev-<username>-release-X.Y.Z.
  2. Commit the reviewed release diff with a concise release message.
  3. 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>'
  4. 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.