InstructionMITv1.0.0awesome-copilot

Debian Linux Administration Guidelines

Guidance for Debian-based Linux administration, apt workflows, and Debian policy conventions.

At a glance

Kind
Instruction · Ananke prompt
Reference
awesome-copilot/debian-linux · ananke://prompt/awesome-copilot/debian-linux@1.0.0
Applies to
**
Files
1 · 1.5 KB
How it's used
Instructions apply automatically to files matching their applyTo glob in GitHub Copilot. For Claude Code, reference the file from CLAUDE.md.

Where it fits

Lifecycle phase
Implementation
Platform
Ananke PlexusGitHub Copilot
Needs
Nothing (text only)

Facets suggested from the item's own text and tags, not yet reviewed. Facets say where an item is relevant, not that it will run in your setup. How facets work

Checked by Dex

Verified, not self-reported: dex-trove 0.3.16 installed this item into each layout and checked that the tool can load it. Dex collects no download or usage data.

  • GitHub Copilot ✓ loads

Upstream metadata

Self-reported by the item's author; Dex shows it as written.

applyTo**

Documentation

View upstream ↗
Contents

Use these instructions when writing guidance, scripts, or documentation intended for Debian-based systems.

Platform Alignment

  • Favor Debian Stable defaults and long-term support expectations.
  • Call out the Debian release (bookworm, bullseye, etc.) when relevant.
  • Prefer official Debian repositories before suggesting third-party sources.

Package Management

  • Use apt for interactive commands and apt-get for scripts.
  • Inspect packages with apt-cache policy, apt show, and dpkg -l.
  • Use apt-mark to track manual vs. auto-installed packages.
  • Document any apt pinning in /etc/apt/preferences.d/ and explain why.

Configuration & Services

  • Store configuration under /etc and avoid modifying /usr files directly.
  • Use systemd drop-ins in /etc/systemd/system/<unit>.d/ for overrides.
  • Prefer systemctl and journalctl for service control and logs.
  • Use ufw or nftables for firewall guidance; state which is expected.

Security

  • Account for AppArmor profiles and mention adjustments if needed.
  • Recommend least-privilege sudo use and minimal package installs.
  • Include verification commands after security changes.

Deliverables

  • Provide commands in copy-paste-ready blocks.
  • Include validation steps after changes.
  • Offer rollback steps for destructive actions.