aboutsummaryrefslogtreecommitdiffstats
path: root/AGENTS.md
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-04-03 19:30:29 +0200
committerDanilo M. <danix@danix.xyz>2026-04-03 19:30:29 +0200
commite921c99e7e1d7d6e8581c28c55ba61ec9bc6ad24 (patch)
treeb0296219e4a257f5ba5a48ebcf8ab449b0e21e9b /AGENTS.md
parent4c8d250f644314c55b1f34d411a61ffd1f70e86f (diff)
downloadmy-slackbuilds-e921c99e7e1d7d6e8581c28c55ba61ec9bc6ad24.tar.gz
my-slackbuilds-e921c99e7e1d7d6e8581c28c55ba61ec9bc6ad24.zip
repo: document symlink removal before staging; remove committed symlink
sbodl creates symlinks to downloaded source archives that must never be committed to git. Added the `find . -type l -delete` step to both CLAUDE.md and AGENTS.md, and removed the previously committed symlink. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/AGENTS.md b/AGENTS.md
index b03c109..5a5b688 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -174,6 +174,14 @@ When adding or updating a package, verify the entry exists and is correct.
**Use the commit skill for all commits.** Do not run `git commit` manually.
+**Remove symlinks before staging.** `sbodl` creates symlinks in the package
+directory pointing to downloaded source archives. These must never be committed
+to git. Before any `git add`, run from the repo root:
+
+```bash
+find . -type l -delete
+```
+
Commit conventions:
- One commit per package add or update.
- Message format: