Skip to main content

pin-a-dependency-version

Pin a dependency through the project's package and lockfile conventions while preserving reproducible resolution and update intent. Use when uncontrolled version drift can change builds or runtime behavior.

Quellinformationen

Repository
protosphinx/sphinxstack
Letzte Quellaktivität
29. Juli 2026 um 13:55
Erkannte Sprache von SKILL.md
Englisch
Sterne
3
Forks
0

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

Datei-Explorer
2 Dateien

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
name
pin-a-dependency-version
category
code
description
Pin a dependency through the project's package and lockfile conventions while preserving reproducible resolution and update intent. Use when uncontrolled version drift can change builds or runtime behavior.
# pin-a-dependency-version Pin through the package manager, not by editing resolved files blindly. ## When to use - Use for direct, transitive, toolchain, image, action, or runtime dependencies. - Do not pin a vulnerable version merely to make a test pass or bypass supported upgrade requirements. ## Procedure 1. Identify dependency, current source, direct or transitive status, affected environments, and reason for the pin. 2. Check project policy, package-manager semantics, supported versions, advisories, and upstream release notes. 3. Choose the narrowest stable version rule that meets the reproducibility need. 4. Update manifest, override or resolution, and lockfile with the approved package manager. 5. Verify checksums, registry source, signatures or provenance where available, and no unexpected dependency changes. 6. Run install from a clean cache plus relevant build, test, and runtime checks. 7. Document why the pin exists, owner, removal condition, and update review date. ## Done - Manifest and lockfile resolve the intended dependency version from the approved source without unrelated changes - Clean installation, build, tests, advisory review, and pin-removal record are completed
Auf GitHub ansehen