Initial commit

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
guofangandClaude Sonnet 5.5 committed 2026-11-04 22:46:03 +08:00
commit caf26f0e5f
5 files changed
+259

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
# AGENTS.md
## Project Overview
Collection of post-install initialization scripts, one directory per OS
(`debian/`, `macos/`, ...). Each directory has its own `AGENTS.md`; the nearest
one takes precedence over this file.
## Shared Rules
- One self-contained script per OS directory; do not share code across OSes
via sourced libraries, so each script can be copied and run on its own.
- Scripts must be idempotent, check the OS/version and privileges early, and
fail with actionable errors.
- Never store secrets in the repository. Do not execute unverified remote
content (`curl | sh`).
- Do not change SSH policy, networking, disks, boot config, or user
credentials without an explicit opt-in switch.
- Keep README.md's OS table in sync when adding or renaming scripts.
- Validate with `bash -n` (and `shellcheck` if available) before delivering.