Communitygithub.com

rebyteai-template/rebyte-skills

設計師作品集,使用 Locomotive Scroll、GSAP 和 Framer Motion 動畫效果。

rebyte-skills 是什麼?

這是一個以 Awwwards 風格為靈感的設計師作品集登陸頁面模板,專注於流暢的滾動動畫體驗。它整合了 Locomotive Scroll 進行平滑滾動、GSAP 提供高性能動畫序列,以及 Framer Motion 處理 React 元件級別的過渡效果。該技能基於 Next.js 框架構建,支援 pnpm 或 npm 套件管理器,並在開發模式下運行於連接埠 3000。使用者可以透過簡單的 git clone 指令取得模板,並執行標準的安裝與建置流程。特別重要的是,部署至 Vercel 時必須使用 `vercel build --prod` 搭配 `vercel deploy --prebuilt --prod` 的正確指令順序,以避免建置失敗;Netlify 則可透過 `netlify deploy --prod` 直接部署。此模板是靜態 Next.js 網站,無需環境變數,但在虛擬機器環境中不建議執行開發伺服器。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/rebyteai-template/rebyte-skills/tree/HEAD/awwwards-landing-page

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

Awwwards 登陸頁面

一個令人驚豔的作品集登陸頁面,具備使用 Locomotive Scroll、GSAP 和 Framer Motion 的平滑滾動動畫。

技術棧

  • 框架:Next.js
  • 動畫:Locomotive Scroll、GSAP、Framer Motion
  • 套件管理器:pnpm 或 npm
  • 開發連接埠:3000

設定

1. 複製模板

git clone --depth 1 https://github.com/Eng0AI/awwwards-landing-page-template.git .

如果目錄非空:

git clone --depth 1 https://github.com/Eng0AI/awwwards-landing-page-template.git _temp_template
mv _temp_template/* _temp_template/.* . 2>/dev/null || true
rm -rf _temp_template

2. 移除 Git 歷史記錄(選擇性)

rm -rf .git
git init

3. 安裝相依套件

npm install

建置

npm run build

部署

重要:在 Vercel 上,你必須使用 vercel build --prod 再執行 vercel deploy --prebuilt --prod。切勿直接使用 vercel --prod。

Vercel(建議)

vercel pull --yes -t $VERCEL_TOKEN
vercel build --prod -t $VERCEL_TOKEN
vercel deploy --prebuilt --prod --yes -t $VERCEL_TOKEN

Netlify

netlify deploy --prod

開發

npm run dev

開啟於 http://localhost:3000

備註

  • 靜態 Next.js 網站 – 不需要環境變數
  • 請勿在虛擬機器環境中執行 npm run dev

Individual skills in this repo

This repo contains 1 individual skill — each has its own dedicated page.

相關技能