dev-workflow

Setup, scripts, environment variables, and pull-request CI expectations for this repo.

npx skills add https://github.com/contentstack/kickstart-next-ssg --skill dev-workflow

Dev workflow – kickstart-next-ssg

When to use

  • Onboarding or reproducing a local run
  • Adding or changing npm scripts
  • Understanding what runs on pull requests (vs local build)

Instructions

Prerequisites

  • Node.js compatible with Next.js 16 (use a current LTS)
  • npm (lockfile: package-lock.json)

First-time setup

  1. Clone the repo and run npm install.
  2. Copy or create a .env (or .env.local) using the variables documented in the root README.md and summarized in AGENTS.md.
  3. Seed a Contentstack stack with the CLI flow in README.md (contentstack/kickstart-stack-seed) if you do not already have matching content types and entries.

Scripts (from package.json)

  • npm run dev — Next.js development server (default port 3000).
  • npm run build — production build.
  • npm run start — serve the production build (run after build).
  • npm run lint — ESLint over .ts and .tsx (eslint . --ext .ts,.tsx).

Pull-request automation

Branch naming is not enforced in this repository; follow your team’s Git conventions.

Lebih banyak skill dari contentstack

brand-kit-assistant
contentstack
Memberikan saran kepada pengguna tentang konsep Contentstack Brand Kit, pengaturan, tata kelola, dan pembuatan konten AI sesuai merek. Mengarahkan tugas khusus API ke kemampuan Brand Kit yang tepat atau…
official
cms-assets
contentstack
Advise developers on organizing, delivering, and transforming assets in Contentstack. Cover folder structure, Image Delivery API transformations, publishing…
official
cms-branches-aliases
contentstack
Memberi saran kepada pengembang tentang penggunaan cabang Contentstack untuk pengembangan konten terisolasi dan alias untuk deployment konten tanpa downtime. Mencakup strategi cabang,…
official
cms-data-modeling-best-practices
contentstack
Pandu pengembang untuk memodelkan konten di Contentstack menggunakan struktur yang paling sederhana dan dapat digunakan kembali. Skill ini menjelaskan kapan menggunakan tipe konten, referensi, global…
official
cms-entries
contentstack
Advise developers on querying, localizing, versioning, publishing, and structuring Contentstack entries for efficient delivery. Focus on CDA usage, reference…
official
cms-environments-publishing
contentstack
Advise developers on configuring environments, publishing content, using delivery and preview tokens, leveraging the Sync API, and understanding CDN and…
official
cms-live-preview-visual-builder-support-assistant
contentstack
Diagnose and guide Contentstack Live Preview and Visual Builder implementations. Trace preview context, identify the broken contract, and recommend the…
official
cms-localization
contentstack
Advise developers on Contentstack localization: language setup, fallback chains, localized vs unlocalized entries, non-localizable fields, and multi-locale…
official