| name | aur-guides |
| description | Master skill for AUR (Arch User Repository) package development. Dispatches to specialized sub-skills for creating PKGBUILDs, auditing packages, submitting to AUR, and more. Use when working with AUR packages, PKGBUILDs, makepkg, pacman, or any Arch Linux packaging task. |
| license | MIT |
Skill: aur-guides
Purpose
Master dispatcher for AUR package development. Routes to the right sub-skill for your task.
When NOT to Use
- Official Arch packages (use Package Maintainer workflow)
- Non-Arch Linux distributions
- Flatpak/Snap/AppImage packaging
Quick Reference: Which Skill to Use
| Task | Sub-skill |
|---|
| Create/edit PKGBUILD | aur-pkgbuild |
| Packaging standards & guidelines | aur-package-guidelines |
| Submit package to AUR | aur-submission |
| Audit/validate with namcap | aur-audit |
| Build process & makepkg config | aur-makepkg |
| VCS packages (-git, -svn, -hg) | aur-vcs-packages |
| Pacman usage & queries | aur-pacman |
| AUR helpers (yay, paru) | aur-helpers |
| Aurweb RPC interface (queries, metadata) | aur-rpc |
Complete AUR Package Lifecycle
1. Plan requirements
2. Create PKGBUILD → aur-pkgbuild
3. Verify guidelines → aur-package-guidelines
4. Build & test → aur-makepkg
5. Audit → aur-audit
6. Submit to AUR → aur-submission
7. Maintain & update → aur-submission
Workflow Examples
New package: aur-pkgbuild → aur-package-guidelines → aur-makepkg → aur-audit → aur-submission
Update existing: aur-pkgbuild → aur-makepkg → aur-audit → aur-submission
VCS package: aur-vcs-packages → aur-pkgbuild → aur-audit → aur-submission
Verify metadata / build helper: aur-rpc (search, info, metadata archives)
Build reproducible: aur-audit → makerepropkg (see aur-package-guidelines)
Key Resources
Essential Commands
makepkg -s
makepkg -i
namcap PKGBUILD
updpkgsums PKGBUILD
makepkg --printsrcinfo > .SRCINFO
shellcheck --shell=bash --exclude=SC2034,SC2154,SC2164 PKGBUILD
Best Practices
- HTTPS for all source URLs
- List all direct dependencies (no transitive reliance)
- b2 or sha512 checksums preferred
- SPDX license identifiers (GPL-3.0-or-later, MIT, BSD-3-Clause)
- Quote "$pkgdir" and "$srcdir" everywhere
- Regenerate .SRCINFO before every push
- Use :: syntax in source array for unique filenames
- License PKGBUILD under 0BSD (ship a
LICENSE file + REUSE.toml in the repo)
- No new PKGBUILD variables/functions unless prefixed with
_ (avoid conflicts with makepkg internals)
- Do NOT use makepkg subroutines (
error, msg, msg2, plain, warning) — use printf/echo
- Avoid
/usr/libexec/ — use /usr/lib/$pkgname/ instead
- For git sources, use the tag object hash (
git rev-parse "v$pkgver") — tag names can be force-pushed
- Verify package metadata with the AUR RPC (
aur-rpc) before assuming upstream state