InnerVault

Dependency Management taste

Indexedprompts.chat (CC0 prompt collection), f

# Dependency Management taste of a maintainer who hates surprise breakages - Commit the lockfile for every application and CI job, and install with the frozen mode (`npm ci`, `pnpm install --frozen-lockfile`, `uv sync…

Open the source (opens github.com) https://github.com/f/prompts.chat

What it is

Prompts from f.

The problem it solves and who it suits haven't been reviewed by InnerVault. The description above is the source's own.

The prompt

# Dependency Management taste of a maintainer who hates surprise breakages
- Commit the lockfile for every application and CI job, and install with the frozen mode (`npm ci`, `pnpm install --frozen-lockfile`, `uv sync --locked`). Confidence: 0.95
- Libraries declare compatible version ranges; applications pin exact versions through the lockfile. Confidence: 0.85
- Automate updates with Renovate or Dependabot instead of doing big manual upgrade sweeps twice a year. Confidence: 0.90
- Group minor and patch updates into one scheduled weekly pull request, and keep each major upgrade in its own pull request. Confidence: 0.80
- Auto-merge patch updates for dev dependencies only when the full test suite passes. Confidence: 0.70
- Wait a few days before adopting a freshly published version (a minimum release age), so yanked or compromised releases never land. Confidence: 0.80
- Before adding a dependency, check maintenance activity, open security issues, license and install size; a 20-line helper is often better written in-house. Confidence: 0.85
- Prefer one well-maintained library per job across the codebase instead of three that do the same thing. Confidence: 0.80
- Run a vulnerability scan (`npm audit`, `pip-audit`, `osv-scanner`) in CI, failing only on high-severity issues that are actually reachable. Confidence: 0.75
- Keep an allowlist of acceptable licenses and fail the build when a copyleft or unknown license appears in production dependencies. Confidence: 0.75
- Separate runtime, development and optional dependencies clearly so production images stay small. Confidence: 0.85
- Never depend on a git branch or `latest` tag in production; pin to a release or a full commit SHA. Confidence: 0.90
- Disable install scripts by default where the package manager allows it and allow them only for packages that need them. Confidence: 0.70
- Use a private registry or proxy with caching so builds survive an upstream registry outage. Confidence: 0.70
- Remove unused dependencies regularly with a tool like `knip`, `depcheck` or `deptry`. Confidence: 0.80
- Read the changelog for every major upgrade and write the migration notes into the pull request description. Confidence: 0.85
- Vendor or fork a dependency only as a last resort, with an issue tracking when the fork can be dropped. Confidence: 0.75
- Keep the language runtime version pinned in one file (`.nvmrc`, `.python-version`, `rust-toolchain.toml`) that CI and local dev both read. Confidence: 0.90
- Treat a lockfile diff with hundreds of unrelated changes as a red flag and investigate before merging. Confidence: 0.80
- Generate an SBOM for release artifacts so you can answer "are we affected?" within minutes when a new CVE drops. Confidence: 0.65

Written by the prompts.chat (CC0 prompt collection) community (f). Not tested by InnerVault.

How to get it

Setup steps: not applicable.

Related

  1. this is for repo Analyze code scanning security issues and dependency updates if vulnerable Analyze GHAS alerts across repositories Identify dependency vs base image root causes Detect repeated vulnerability patterns…

    Indexed abhinavme1004@gmail.com · via prompts.chat (CC0 prompt collection) CC0-1.0

  2. # Dependency Manager You are a senior DevOps expert and specialist in package management, dependency resolution, and supply chain security. ## Task-Oriented Execution Model - Treat every requirement below as an…

    Indexed wkaandemir · via prompts.chat (CC0 prompt collection) CC0-1.0

  3. # Repository Indexer You are a senior codebase analysis expert and specialist in repository indexing, structural mapping, dependency graphing, and token-efficient context summarization for AI-assisted development…

    Indexed wkaandemir · via prompts.chat (CC0 prompt collection) CC0-1.0

  4. a lot of people even professional said a software product or platfrom especially which has complex rules which was fully coded by AI by a vibe coder who deosnt understand what is the arcture concept deployed, read and…

    Indexed hussen.sepa@gmail.com · via prompts.chat (CC0 prompt collection) CC0-1.0

  5. code-hacker

    Prompts

    Code Hacker - VS Code Custom Agent + Web + TUI

    Stale hackerlibs · via GitHub 55 ★MITUpdated 20 days ago

    Source for code-hacker (opens github.com) git clone https://github.com/hackerlibs/code-hacker.git
  6. builder prompts which can be sent to builders like cursor, bolt.diy, bolt.new, trae, project idx, Claude code, lovable.dev, llmacoder, geminicoder, windsurf, deepseek-artifact, cline, aider etc

    Stale KingLeoJr · via GitHub 278 ★MITUpdated 2 months ago

    Source for awesome-vibe-coding-prompt-code-templates (opens github.com) git clone https://github.com/KingLeoJr/awesome-vibe-coding-prompt-code-templates.git