skill-mock
[Skill] Test and inspect packages in Azure Linux mock chroots. Use when testing built RPMs, inspecting dependencies, debugging runtime issues, or verifying package contents. Triggers: test package, mock shell, inspect rpm, smoke test, chroot, verify build output. Published by microsoft in azurelinux.
What is skill-mock?
[Skill] Test and inspect packages in Azure Linux mock chroots. Use when testing built RPMs, inspecting dependencies, debugging runtime issues, or verifying package contents. Triggers: test package, mock shell, inspect rpm, smoke test, chroot, verify build output. Published by microsoft in azurelinux. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.
Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.
Key capabilities
- Includes SKILL.md support
- Reusable instructions support
- Testing
- Testing use cases
Technical details
- Install or run with Copy skill directory
When to use skill-mock
- Use it for testing.
Built with
Editorial notes
Source
- Creator: microsoft
- Repository: microsoft/azurelinux
- Skill file: .github/skills/skill-mock/SKILL.md
What it does
[Skill] Test and inspect packages in Azure Linux mock chroots. Use when testing built RPMs, inspecting dependencies, debugging runtime issues, or verifying package contents. Triggers: test package, mock shell, inspect rpm, smoke test, chroot, verify build output.
Skill instructions
Test & Inspect in Mock Chroot Never install built RPMs on the host. They target Azure Linux, not your dev machine. Use the methods below instead. Resetting the Mock Chroot azldev has no built-in mock reset. Use mock directly when you need to clear stale state: bash Clean just the chroot (fast, keeps bootstrap) mock --quiet -r distro/mock/azurelinux-4.0-x8664.cfg --configdir distro/mock --scrub=chroot Nuclear — clean everything including bootstrap mock --quiet -r distro/mock/azurelinux-4.0-x8664.cfg --configdir distro/mock --scrub=all Non-Interactive Chroot (preferred for agents) Pipe commands via heredoc — fully autonomous, no user interaction needed: bash azldev adv mock shell --add-package /path/to/package.rpm <<'CMDS' <command --version echo "exit code: $?" exit CMDS Use this for automated checks: running binaries, querying installed packages, inspecting paths. Inspect RPM Without Installing (debug failed installs, examine contents) When --add-package fails, or you just want to insp
Explore related resources
Frequently asked questions
What is skill-mock?
skill-mock is a open-source AI agent skill with Copy skill directory. [Skill] Test and inspect packages in Azure Linux mock chroots. Use when testing built RPMs, inspecting dependencies, debugging runtime issues, or verifying package contents.
Who is skill-mock best for?
skill-mock is best for reusing agent instructions, scripts, and references, testing workflows.
How do I install skill-mock?
Install or run skill-mock using Copy skill directory. Check skill-mock for the latest setup command.
Is skill-mock actively maintained?
skill-mock may need a closer maintenance check before production use.
Auto-fetched from GitHub.