diff options
| author | Paul Buetow <paul@buetow.org> | 2025-12-07 10:45:26 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-12-07 10:45:26 +0200 |
| commit | c419e1a0a7738ac38488c412773c1365581b918d (patch) | |
| tree | 779d504f1c5a77566f5e3484c93ffc54c062fc1a | |
| parent | 68ac117821e757dc26a92fbaa4057870eb38667c (diff) | |
remove agents
| -rw-r--r-- | AGENTS.md | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/AGENTS.md b/AGENTS.md deleted file mode 100644 index 70c98f0..0000000 --- a/AGENTS.md +++ /dev/null @@ -1,23 +0,0 @@ -# AGENTS.md - -## Build, Lint, and Test - -- **Build/generate:** `./gemtexter --generate` -- **Publish:** `./gemtexter --publish` -- **Run all tests:** `./gemtexter --test` -- **Lint (ShellCheck):** `shellcheck --external-sources --check-sourced lib/*.sh ./gemtexter` -- **Run a single test:** Edit `lib/assert.source.sh` or relevant test function, then run `./gemtexter --test` - -## Code Style Guidelines - -- **Shell:** Bash 5.x+ only. Use `#!/usr/bin/env bash` shebang. -- **Formatting:** 2 spaces, no tabs. Max line length: 80 chars. -- **Imports:** Source libraries with `.sh` extension, not executable. -- **Naming:** Functions/variables: `lower_case`, constants: `ALL_CAPS`. -- **Functions:** Use `package::function()` for libraries. Add header comments for non-trivial functions. -- **Quoting:** Always quote variables, command substitutions, and paths. -- **Error handling:** Use `set -euf -o pipefail`. Check all command return values. -- **Testing:** Use `assert::` functions for unit tests. -- **Linting:** Fix all ShellCheck warnings except those excluded in `assert::shellcheck`. -- **Consistency:** Follow [Google Shell Style Guide](https://google.github.io/styleguide/shellguide.html) and [ShellCheck Wiki](https://github.com/koalaman/shellcheck/wiki). - |
