Logo di Artifact And Dependency Management

Artifact And Dependency Management

Community
selvarajmurugesan90
artifact-and-dependency-management

Manages build artifacts and third-party dependencies through a private registry/proxy with lockfiles, version pinning, retention policies, and automated update workflows. Use when the user asks to "set up an artifact repository," "configure a package registry proxy/mirror," "pin/lock dependency versions," "clean up old artifacts," "handle a dependency update / Dependabot-Renovate PR," or "avoid a left-pad-style supply-chain incident."

Panoramica

Pubblicato daselvarajmurugesan90
Repositoryops-engineering-skills
Nome della skillartifact-and-dependency-management
Stelle
44
Fork
18
File inclusi
Solo istruzioni
LicenzaApache-2.0
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da selvarajmurugesan90 su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Artifact And Dependency Management in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/selvarajmurugesan90/ops-engineering-skills/tree/main/plugins/devops/skills/artifact-and-dependency-management
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/selvarajmurugesan90/ops-engineering-skills.git /tmp/ops-engineering-skills
mkdir -p .claude/skills
cp -r /tmp/ops-engineering-skills/plugins/devops/skills/artifact-and-dependency-management .claude/skills/artifact-and-dependency-management
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Artifact And Dependency Management in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Artifact And Dependency Management non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Artifact And Dependency Management non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Artifact and Dependency Management

Purpose

Every build depends on two kinds of external input: third-party packages pulled in at build time (npm, PyPI, Maven, NuGet, etc.) and the artifacts your own pipelines produce (binaries, container images, packages). Left unmanaged, both become sources of instability and risk — an upstream package can be yanked, compromised, or silently change behavior between builds, and your own artifact storage can grow unbounded or lose the exact-version traceability needed to know what's actually deployed. This skill covers running a private registry/proxy for dependencies, pinning and locking versions, and keeping first-party artifact storage clean and trustworthy.

When to use

  • Standing up a private package registry or pull-through proxy/mirror (Artifactory, Nexus, GitHub Packages, Verdaccio, a cloud-native registry) in front of public registries like npm/PyPI/Maven Central.
  • Introducing or auditing lockfiles (package-lock.json, poetry.lock/requirements.txt with pinned hashes, go.sum) to make builds reproducible.
  • Triaging automated dependency-update PRs (Dependabot, Renovate) at scale without rubber-stamping or ignoring them entirely.
  • An upstream package was yanked, deprecated, or found compromised, and builds need to keep working (or need to stop pulling it) immediately.
  • Artifact storage (container registry, package repo) is growing unbounded and needs a retention/cleanup policy.
  • A build is non-reproducible: "worked yesterday, fails today" with no code change.

Prerequisites & environment

  • A chosen artifact/package registry solution: a managed offering (GitHub Packages, GitLab Package Registry, cloud provider artifact registries) or self-hosted (Artifactory, Sonatype Nexus, Harbor for containers, Verdaccio for npm).
  • Package manager versions that support lockfiles with integrity hashes: npm ≥ 7 (package-lock.json lockfileVersion 2/3), pip with --require-hashes or Poetry/Pipenv, Go ≥ 1.16 (go.sum verified by default via GOSUMDB unless explicitly disabled), Maven/Gradle with dependency lock files or checksum verification enabled.
  • CI credentials scoped to publish to first-party registries separately from credentials that only need read access to pull dependencies — publish rights should be tightly restricted (e.g., only release pipelines, not every PR build).
  • A decision on retention policy inputs: how many versions/tags to keep, for how long, and whether any tags (release, latest) are exempt from cleanup.

Step-by-step guidance

  1. Put a pull-through proxy/mirror in front of public registries rather than having every build reach the public internet directly. Example Artifactory/Nexus-style virtual repo config (conceptual): a npm-remote repo proxying registry.npmjs.org, cached locally, with a npm-virtual repo combining it with your private npm-local packages. Point CI and developer machines at the virtual repo:

    bash
    npm config set registry https://artifacts.example.com/api/npm/npm-virtual/

    This gives resilience against upstream outages/deletions (cached copies survive), a single point to apply security scanning, and traceability of exactly which package versions were ever pulled.

  2. Commit lockfiles and enforce them in CI so builds are reproducible byte-for-byte on dependency resolution, not just "same version range":

    bash
    npm ci                 # fails if package-lock.json is out of sync, unlike npm install
    pip install --require-hashes -r requirements.txt

    npm ci (not npm install) in CI is important: it errors out if the lockfile and package.json disagree, instead of silently re-resolving.

  3. Pin direct dependencies to specific versions in manifests and let the lockfile pin transitive dependencies; avoid unpinned ranges (^1.2.3/*) for anything security- or stability-sensitive in production services. Fully floating ranges are more defensible in short-lived tooling than in a service's runtime dependency tree.

  4. Automate update PRs, but gate them with CI, not blind auto-merge: renovate.json example enabling automerge only for patch-level, CI-passing updates:

    json
    {
      "extends": ["config:recommended"],
      "packageRules": [
        {
          "matchUpdateTypes": ["patch"],
          "automerge": true
        },
        {
          "matchUpdateTypes": ["major"],
          "automerge": false,
          "labels": ["needs-manual-review"]
        }
      ]
    }

    Route major-version bumps to a human; let CI (full test suite) be the actual gate for automerge, not just "Renovate opened it."

  5. Respond to a yanked/compromised upstream package deliberately: confirm the pinned version in your lockfile isn't the affected one; if it is, pin to a known-good version explicitly in the manifest, purge the proxy's cached copy if your registry tool supports it, and re-run npm ci/equivalent to confirm the resolved tree no longer includes it. Because builds go through your proxy's cache, you are not silently exposed to a package being deleted out from under you mid-incident — but you must still act if the version you already have cached is the bad one.

  6. Define and enforce artifact retention so storage doesn't grow unbounded and old, unreferenced artifacts don't accumulate risk (stale, unpatched images sitting in a registry indefinitely). Example GitHub Container Registry cleanup via a scheduled workflow using actions/delete-package-versions:

    yaml
    on:
      schedule:
        - cron: "0 3 * * 0"
    jobs:
      cleanup:
        runs-on: ubuntu-latest
        steps:
          - uses: actions/delete-package-versions@v5
            with:
              package-name: "payments-api"
              package-type: "container"
              min-versions-to-keep: 20
              delete-only-untagged-versions: true

    Always exclude tags matching your release scheme (v*, stable) from deletion, and prefer delete-only-untagged-versions/dry-run modes before enabling deletion of tagged versions.

  7. Audit what's actually in use vs. what's stored. Periodically cross reference deployed image digests/package versions against what's in the registry so retention policy decisions are based on real usage, not guesses.

Best practices

  • Separate "publish" credentials (used only by trusted release pipelines) from "read/pull" credentials (used broadly by CI and developers) so a compromised build job can't push malicious artifacts under your namespace.
  • Verify package integrity, not just presence: rely on lockfile hashes (npm ci, pip --require-hashes, go.sum) rather than trusting that a version number alone means identical bytes — registries can, in principle, be compromised or misconfigured.
  • Keep a private registry mirror even for ecosystems that feel low-risk — public registry outages and unannounced package removals affect every ecosystem, not just the ones that have had famous incidents.
  • Treat major dependency upgrades as their own reviewed change with a changelog read-through, not a rubber-stamped automerge — pair with release-versioning-and-changelog-automation when the upgrade affects your own published artifact's versioning contract.
  • Record artifact provenance (which commit/pipeline run produced a given artifact) as metadata/labels on the artifact itself, so retention cleanup and incident response can trace an artifact back to its build — this dovetails with build metadata practices in ci-cd-pipeline-design.
  • Scan both first-party artifacts and third-party dependencies for known vulnerabilities as part of the same pipeline, not as separate, disconnected processes.

Common pitfalls

  • Symptom: A build that passed last week fails today with no code changes, due to a transitive dependency resolving to a new (breaking) version. Fix: This indicates missing or unenforced lockfiles — commit the lockfile, and run the package manager's strict/CI install mode (npm ci, pip install --require-hashes) so resolution can't silently drift between runs.

  • Symptom: An upstream package is deleted/yanked from the public registry and every build across the org breaks simultaneously. Fix: This is exactly what a pull-through proxy/mirror with local caching prevents — if you don't have one yet, stand one up, and in the interim, vendor or manually re-host the specific version needed to unblock builds.

  • Symptom: Dependabot/Renovate opens dozens of PRs and the team either ignores all of them or auto-merges all of them without review. Fix: Configure update-type-based rules (auto-merge patch-level updates gated on CI passing; require human review for minor/major) rather than treating every update PR identically.

  • Symptom: Container registry storage costs/quota keep growing and nobody can tell which images are safe to delete. Fix: Introduce a retention policy keyed on tag pattern and age (e.g., keep all v* release tags indefinitely, purge untagged/ build-SHA images older than 90 days), and dry-run the cleanup job before enabling actual deletion.

  • Symptom: A "hotfix" dependency version pin gets left in place indefinitely after the underlying issue is fixed upstream, silently blocking future updates. Fix: File a follow-up ticket whenever you add an emergency pin, and review pinned/overridden versions periodically (e.g., each quarter) to confirm they're still necessary.

Worked example

Scenario: left-pad-style-lib@3.2.1, a transitive dependency of payments-api, is unpublished from the public npm registry mid-morning, and the team's CI starts failing npm ci with a 404.

  1. Because CI pulls through artifacts.example.com/api/npm/npm-virtual/ (a caching proxy) rather than registry.npmjs.org directly, builds that already resolved and cached 3.2.1 continue to succeed — confirm this by checking the proxy's cache for the tarball.
  2. For any environment that hadn't cached it yet, pin an explicit replacement in package.json ("left-pad-style-lib": "3.2.0", the last known-good published version) and run npm install once to regenerate package-lock.json, then commit the lockfile update.
  3. Open a PR titled "pin left-pad-style-lib to 3.2.0 (3.2.1 unpublished upstream)" so the pin is visible and reviewable, and file a follow-up ticket to revisit once the ecosystem stabilizes (e.g., a maintained fork or replacement package is adopted).
  4. Confirm npm ci (strict mode) passes in CI with the updated lockfile before merging, and verify the retention/cleanup job hasn't inadvertently purged the cached 3.2.1 tarball your proxy needs to keep serving historical builds that still reference it.

Cross-references

Domande frequenti

Cosa fa la skill IA Artifact And Dependency Management?

Manages build artifacts and third-party dependencies through a private registry/proxy with lockfiles, version pinning, retention policies, and automated update workflows. Use when the user asks to "set up an artifact repository," "configure a package registry proxy/mirror," "pin/lock dependency versions," "clean up old artifacts," "handle a dependency update / Dependabot-Renovate PR," or "avoid a left-pad-style supply-chain incident."

Perché usare Artifact And Dependency Management su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Artifact And Dependency Management è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Artifact And Dependency Management in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/selvarajmurugesan90/ops-engineering-skills/tree/main/plugins/devops/skills/artifact-and-dependency-management. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Artifact And Dependency Management?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Artifact And Dependency Management?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Artifact And Dependency Management: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Artifact And Dependency Management è gratuita?

Sì. È pubblicata su GitHub da selvarajmurugesan90 con licenza Apache-2.0. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇