본문으로 건너뛰기
cccskills
무료GitHub에 공개

dependency-choice

Work through which package to add for a capability, and what each option costs — maintenance, licence, bundle weight, transitive risk, and whether the platform already does it. Use when someone needs a library for a job and has not picked one yet, when weighing two candidates, or when a package looks convenient but unmaintained.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md5.6 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Dependency choice

Use when

  • Someone needs a capability — "I need JavaScript crypto", "we need a date library" — and has not chosen a package yet.
  • Two candidates are on the table and the trade-off is not obvious.
  • A package is convenient but looks unmaintained, or is a fork of something that was.
  • A dependency is about to be added to satisfy one small function.

Don't use for

  • Deciding whether an already-chosen package is allowed. That is the dependency-guard hook, and it runs on its own when the agent tries to install something. This skill is the conversation before that point.
  • Resolving a blocked upgrade — dep-resolve.
  • Checking whether a name is impersonating another — typosquat-check, which this skill calls when a candidate looks suspicious.

The distinction matters. The hook is a guardrail: it fires when nobody weighed anything, and it stays silent when the repository's policy is already satisfied. This skill is where somebody deliberately weighs the options, and it may well conclude that the riskier package is the right call.

Conventions

Follows skills/_lib/contract.md for surface selection, output style and memory writes.

The first question is whether to add anything

A dependency has a permanent cost — a supply-chain surface, a licence, an upgrade treadmill, and a maintainer who may stop. Before comparing packages, check whether the platform already does the job.

This is the most valuable thing this skill does and the easiest to skip. Worked example, JavaScript cryptography:

OptionWhat you getWhat it costs
SubtleCrypto (built in)AES-GCM, SHA-2, HMAC, ECDSA, key derivation. In every browser and in Node 15+.Async-only API, and no MD5/SHA-1 — usually a feature. Zero dependencies.
crypto-jsFeature-complete, synchronous, familiar.Effectively unmaintained. Ships its own primitives, so a defect is yours to carry.
crypto-esThe same API, modern targets, actually maintained.ESM-only; a CommonJS build will not take it without work.

The honest recommendation for most new code is the first row, and nobody reaches it by searching npm for "crypto".

Look for the same shape elsewhere: Intl.DateTimeFormat before a date library, fetch before an HTTP client, structuredClone before a deep-clone package, crypto.randomUUID() before a UUID package.

Step 1: Establish the candidates

If the user named a package, start there and find its realistic alternatives. If they named a capability, propose two or three.

vulnetix vdb packages search "<term>" --ecosystem "<eco>" -o json

With MCP available, vulnetix_package_search returns the same thing already shaped.

Step 2: Get the facts, in one pass

Run these together rather than one after another — they are independent.

vulnetix vdb packages get "<name>" --ecosystem "<eco>" -o json   # health, EOL, scorecard
vulnetix vdb package-vulns "<name>" --ecosystem "<eco>" -o json  # advisory history

MCP equivalents: vulnetix_package_search, vulnetix_package_vulns, vulnetix_purl.

What to pull out, and why each matters:

  • Last release, and open-issue trend. A package with no release in two years is one you have adopted rather than depend on.
  • Advisory history. Not the count — the response. A project that shipped a fix in days has different risk from one where the CVE sat open.
  • OpenSSF Scorecard. Branch protection, signed releases, dependency-update automation. Low signal alone, useful as a tiebreak.
  • Transitive count. A package pulling ninety dependencies to do one job is ninety more chances for the next incident.
  • Licence. Against this repository's policy, not against general opinion.
  • EOL. For runtimes and framework majors.

Step 3: Check the name before recommending it

If a candidate is unfamiliar, or close to a well-known name, run typosquat-check before saying it out loud. Recommending a typosquat is the worst possible outcome of this skill.

Step 4: Put the trade-off to the user

The output is a comparison and a recommendation, not a verdict. The user knows things this skill does not — the deployment target, the team's tolerance for an ESM migration, whether the synchronous API is load-bearing.

For <capability>, in <ecosystem>:

  <option>   <one line: what it gives you>
             + <the real advantage>
             - <the real cost>

Recommendation: <one>, because <the reason that would change if the facts changed>.

Worth knowing: <the thing they would otherwise find out later>.

Say when the platform already covers it, and say when the answer depends on something only they know. A recommendation that does not survive one follow-up question was not worth making.

Step 5: Record it

Once a choice is made, append a history event to .vulnetix/memory.yaml with the package chosen and the reason. Six months later the question "why are we on this?" has an answer, and dashboard can surface it.

Next: typosquat-check <package> before installing an unfamiliar name.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Dockerfile / Containerfile / compose analysis plus optional Trivy / Grype / Syft composition when those binaries are present. Use when reviewing a Dockerfile PR, gating `docker build`, building an image SBOM, evaluating base-image risk, or auditing a registry image for CVEs.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Vulnetix/pix-ai-coding-assistant92026년 9월 28일 업데이트

dashboard

무료

Show what this repository has already decided about its vulnerabilities, read from the durable record rather than by scanning again — open versus resolved, the decision taken on each, and what is still waiting. Use when picking up triage after a break, auditing past decisions, onboarding to a repository with security history, or checking nothing high-severity is open before a release.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Vulnetix/pix-ai-coding-assistant92026년 9월 28일 업데이트

Dependency-conflict resolution when a `fix` version bump fails — diagnose the peer-dep tree, find a compatible safe version set, propose package-manager overrides (`overrides`/`resolutions`/`replace`/`[patch]`), fall back to safe-harbour inline patching. Use when an upgrade is blocked by transitive constraints, a peer-dep conflict surfaces, or you need to override a vulnerable transitive without bumping the parent.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Vulnetix/pix-ai-coding-assistant92026년 9월 28일 업데이트

IDS/IPS detection content for a CVE — Snort/Suricata-compatible rules, YARA signatures, ProjectDiscovery Nuclei templates, traffic-filter rules. Capability-aware: skips families when the binary is not installed (no Snort = no Snort output). Use when deploying defences for a CVE without a patch, augmenting SAST with active detection, or feeding the SOC engineering pipeline.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Vulnetix/pix-ai-coding-assistant92026년 9월 28일 업데이트

eol-check

무료

End-of-life detection for runtimes (Node, Python, Java, Go, .NET) and key packages — surfaces past-EOL items, items reaching EOL within 90 days, and EOL base images for containers. Use when planning a runtime upgrade, auditing for unsupported versions, gating a deploy against EOL deps, or producing a remediation roadmap.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Vulnetix/pix-ai-coding-assistant92026년 9월 28일 업데이트

Generate a runnable exploit-validation command (Nuclei template, Metasploit module hint, AI-assisted Python script, or curl-based PoC) against a user-specified authorised target. Use when validating that a fix actually closed the vulnerability path, confirming a patch deployed correctly, or producing a copy-pasteable test command for QA. The skill never executes — the user runs.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

Vulnetix/pix-ai-coding-assistant92026년 9월 28일 업데이트

Vulnetix의 스킬 모두 보기

이 스킬의 문제 신고