Skip to content
Back to skills

Asset Browser Update

ASecurity

Asset browser paket kodunu projeye çek + redeploy. Triggers: asset browser update, browser güncelle, update asset browser, asset browser paket güncelle

  • 3 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added May 27, 2026
data-aipythonbashgitapi

Works with

  • api

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned May 27, 2026

npx -y skills add SkyWalker2506/claude-config --skill asset-browser-update --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Asset Browser Update?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Asset Browser Update
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/skywalker2506-asset-browser-update/badge)](https://www.skillsdirectory.com/skills/skywalker2506-asset-browser-update)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: asset-browser-update
description: "Asset browser paket kodunu projeye çek + redeploy. Triggers: asset browser update, browser güncelle, update asset browser, asset browser paket güncelle"
---

# /asset-browser-update — Paketi Güncelle + Redeploy

Paketten (`~/Projects/asset-browser`) en son kodu projeye çeker, bağımlılıkları yükler, commit+push ve Vercel'e redeploy eder. `config.json` ve `data/` korunur.

## Çalıştır

```bash
# Proje tespiti
if [ -f "asset-browser/config.json" ]; then
  PROJECT_DIR="$(pwd)"
elif [ -f "${HOME}/Projects/MedievalFactory/asset-browser/config.json" ]; then
  PROJECT_DIR="${HOME}/Projects/MedievalFactory"
elif [ -f "${HOME}/Projects/GameFactory/asset-browser/config.json" ]; then
  PROJECT_DIR="${HOME}/Projects/GameFactory"
else
  echo "ERROR: asset-browser/config.json bulunamadı."
  exit 1
fi

CONFIG="${PROJECT_DIR}/asset-browser/config.json"
PKG_DIR="${HOME}/Projects/asset-browser"
TITLE=$(python3 -c "import json; c=json.load(open('${CONFIG}')); print(c['title'].lower())" 2>/dev/null)
SLUG=$(echo "$TITLE" | sed 's/[^a-z0-9]/-/g' | sed 's/--*/-/g' | sed 's/^-//;s/-$//')
VERCEL_URL="https://asset-browser-${SLUG}.vercel.app"

echo "=== asset-browser update: $PROJECT_DIR ==="

echo "Pulling latest package..."
(cd "$PKG_DIR" && git pull --quiet) || echo "WARN: pkg pull failed"

echo "Copying code files..."
cp "$PKG_DIR/api/"*.js "$PROJECT_DIR/asset-browser/api/"
cp "$PKG_DIR/public/index.html" "$PROJECT_DIR/asset-browser/public/"
cp "$PKG_DIR/vercel.json" "$PROJECT_DIR/asset-browser/"
cp "$PKG_DIR/package.json" "$PROJECT_DIR/asset-browser/"
cp "$PKG_DIR/deploy.sh" "$PROJECT_DIR/asset-browser/"
chmod +x "$PROJECT_DIR/asset-browser/deploy.sh"
[ -d "$PKG_DIR/scripts" ] && cp "$PKG_DIR/scripts/"*.mjs "$PROJECT_DIR/asset-browser/scripts/" 2>/dev/null || true

echo "Installing dependencies..."
(cd "$PROJECT_DIR/asset-browser" && npm install --silent)

echo "Committing..."
(cd "$PROJECT_DIR" && \
  git add asset-browser/ && \
  git diff --cached --quiet || git commit -m "chore: sync asset-browser with latest package" && \
  git push)

echo "Deploying to Vercel..."
(cd "$PROJECT_DIR/asset-browser" && bash deploy.sh)

echo ""
echo "Done! Live: $VERCEL_URL"
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in data-ai →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.