CommunityCoding & Developmentgithub.com

byteTuto/website

Vérifier le site byteTuto en local avant de pousser — build Docker, conf nginx, test de fumée, en-têtes de sécurité. À utiliser après toute modification de site/, nginx/ ou Dockerfile.

What is website?

website is a Claude Code agent skill that vérifier le site byteTuto en local avant de pousser — build Docker, conf nginx, test de fumée, en-têtes de sécurité. À utiliser après toute modification de site/, nginx/ ou Dockerfile.

Works with~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/byteTuto/website/tree/HEAD/.claude/skills/check-site

Installed? Explore more Coding & Development skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

Vérification locale

Lancer dans l'ordre, s'arrêter à la première erreur et la corriger :

docker build -t bytetuto-site:local .
docker run --rm bytetuto-site:local nginx -t
docker rm -f bt-check 2>/dev/null; docker run -d --name bt-check -p 8088:80 bytetuto-site:local
sleep 2
curl -fsS http://localhost:8088/healthz                       # -> ok
curl -fsS http://localhost:8088/ | grep -c byteTuto           # > 0
curl -s -o /dev/null -w '%{http_code}\n' http://localhost:8088/x   # -> 404
curl -sI http://localhost:8088/ | grep -iE 'content-security|x-frame|cache-control'
curl -sI http://localhost:8088/index.md | grep -i 'content-type: text/markdown'
curl -s -H 'Accept: text/markdown' http://localhost:8088/ | head -3   # -> front matter ---
python3 scripts/check_seo_agents.py                            # SEO + agent-friendly
python3 scripts/check_responsive.py --base http://localhost:8088 --shots /tmp/rs   # responsive (Playwright)
docker rm -f bt-check

Playwright, la première fois : pip install playwright && python3 -m playwright install chromium.

Scripts shell : bash -n deploy/*.sh nginx/*.sh (et shellcheck s'il est installé).

Points à contrôler à l'œil (dev : docker compose -f docker-compose.dev.yml up → http://localhost:8080)

  • L'animation du fond tourne sans saccade, et s'arrête avec « réduire les animations » activé.
  • Pas d'erreur dans la console (la CSP bloque tout script inline : le JS va dans site/app.js).
  • Captures /tmp/rs/*-320x640.png et *-375x667.png : rien de coupé, rien de collé aux bords.
  • Charte respectée (voir skill bytetuto-brand).

Individual skills in this repo

This repo contains 4 individual skills — each has its own dedicated page.

Related Skills