3 Commits

Author SHA1 Message Date
Matt Pocock 49cec7be01 Update title in README.md 2026-04-28 14:42:04 +01:00
Matt Pocock d7c8dcfd02 Enhance README with skills newsletter images
Added images for skills newsletter in README.
2026-04-28 14:40:16 +01:00
Matt Pocock 073a37e75d Enhance link-skills.sh to check for symlink conflicts and provide user guidance 2026-04-28 12:38:36 +01:00
2 changed files with 26 additions and 1 deletions
+11 -1
View File
@@ -1,4 +1,14 @@
# Agent Skills For Real Engineers
<p>
<a href="https://www.aihero.dev/s/skills-newsletter">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://res.cloudinary.com/total-typescript/image/upload/v1777382277/skills-repo-dark_2x.png">
<source media="(prefers-color-scheme: light)" srcset="https://res.cloudinary.com/total-typescript/image/upload/v1777382277/skill-repo-light_2x.png">
<img alt="Skills" src="https://res.cloudinary.com/total-typescript/image/upload/v1777382277/skill-repo-light_2x.png" width="369">
</picture>
</a>
</p>
# Skills For Real Engineers
My agent skills that I use every day to do real engineering - not vibe coding.
+15
View File
@@ -6,6 +6,21 @@ set -euo pipefail
REPO="$(cd "$(dirname "$0")/.." && pwd)"
DEST="$HOME/.claude/skills"
# If ~/.claude/skills is a symlink that resolves into this repo, we'd end up
# writing the per-skill symlinks back into the repo's own skills/ tree. Detect
# and bail out instead of polluting the working copy.
if [ -L "$DEST" ]; then
resolved="$(readlink -f "$DEST")"
case "$resolved" in
"$REPO"|"$REPO"/*)
echo "error: $DEST is a symlink into this repo ($resolved)." >&2
echo "Remove it (rm \"$DEST\") and re-run; the script will recreate it as a real dir." >&2
exit 1
;;
esac
fi
mkdir -p "$DEST"
find "$REPO/skills" -name SKILL.md -not -path '*/node_modules/*' -print0 |