.claude/skills/github-pages-deploy/SKILL.md
Настройка и деплой статического сайта на GitHub Pages через GitHub Actions. Используй при создании/изменении CI/CD пайплайна, настройке минификации, проблемах с деплоем или конфигурации кастомного домена.
npx skillsauth add mrdalvik/davai-landing github-pages-deployInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Сайт деплоится на GitHub Pages через GitHub Actions.
.github/workflows/deploy.yml:
name: Deploy to GitHub Pages
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: '.'
- name: Deploy
id: deployment
uses: actions/deploy-pages@v4
Добавь шаг перед upload:
- name: Minify
run: |
npx html-minifier-terser --collapse-whitespace -o index.html index.html
npx clean-css-cli -o styles.min.css styles.css
npx terser main.js -o main.min.js
locales/ валидныtools
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
development
Управление интернационализацией статического сайта с JSON-переводами. Используй этот скилл при добавлении новых строк, создании переводов на новые языки, проверке полноты переводов или изменении i18n-логики. Также используй при работе с data-i18n атрибутами в HTML.
development
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.
development
Работа с анимированной демонстрацией пайплайна Davai в стилизованном VSCode-терминале. Используй при изменении сценария демо, добавлении/редактировании фаз анимации, настройке typewriter-эффекта, навигации по фазам или стилизации терминала.