Skip to content
Back to skills

Package Management

ASecurity

Use for conf/packages.toml or package providers/resources under cli/src/domains/packages/, including pacman, AUR helpers, and winget. Not for generic subprocess or task orchestration changes, or dotfiles-managed PKGBUILD recipe and snapshot work (use arch-package-recipes).

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added August 31, 2026
toolsdatabase

Works with

  • cli

Security analysis

A100/100

Scanned December 3, 2026

npx -y skills add sneivandt/dotfiles --skill package-management --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Package Management?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Package Management
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sneivandt-package-management/badge)](https://www.skillsdirectory.com/skills/sneivandt-package-management)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: package-management
description: >
  Use for conf/packages.toml or package providers/resources under
  cli/src/domains/packages/, including pacman, AUR helpers, and winget. Not for
  generic subprocess or task orchestration changes, or dotfiles-managed PKGBUILD
  recipe and snapshot work (use arch-package-recipes).
---

# Package Management

See [Package management](../../../docs/content/guides/package-management.md)
for human workflows, [planning.rs](../../../cli/src/domains/packages/install/planning.rs)
for install planning, and [resources/](../../../cli/src/domains/packages/resources/)
for providers.

## Non-obvious invariants

- When choosing new packages in `conf/packages.toml`, check transitive
  dependencies and prefer lean tools that fit the existing Hyprland/Wayland
  stack over pulling in heavy unrelated desktop ecosystems.
- A missing native package manager for selected packages is `TaskResult::unmet`,
  not a benign skip. A failed installed-state query must propagate rather than
  returning an empty set (which would attempt to reinstall everything).
- `pacman` installs missing packages with `-Syu`, which also synchronizes
  databases and upgrades installed packages—do not treat or document it as
  add-only.
- Never wrap AUR helpers in an extra `sudo` layer. Check the PATH-selected
  `paru` binary's health, not just existence. Keep bootstrap/rebuild planning
  separate from AUR installs with a blocking AUR-to-Paru edge, and let Paru
  wait on native packages without inheriting unrelated package failures.
- AUR dry-run queries `pacman`'s database without requiring a `paru` binary that
  bootstrap only previewed.
- Consumer tasks may waive application-selected package ordering edges only
  after their `ordering_requirements()` and `package_stability_requirement`
  prove no package install or Paru rebuild is needed. Failed inventory is
  unknown readiness (retaining its cause), never proof of no work.
- Winget uses exact IDs, tries user scope first, and retries unscoped only when
  no user-scope installer exists. Privilege and policy refusals return
  `ResourceChange::unusable` (counted as failed items, not benign skips).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.