code-review

द्वारा contentstack

किकस्टार्ट-नेक्स्ट योगदान के लिए PR चेकलिस्ट और गंभीरता मार्गदर्शन।

npx skills add https://github.com/contentstack/kickstart-next --skill code-review

Code review – kickstart-next

When to use

  • Before you open a PR or when reviewing someone else’s changes.

Instructions

Checklist

  • Run npm run lint and npm run build locally (CI does not run these automatically).
  • Preview mode: confirm components/Preview.tsx and initLivePreview still behave; production path: confirm server getPage + Page render correctly for /.
  • If you add or rename environment variables, update .env.example and user-facing docs where needed.
  • No secrets in the repo; scan diffs for accidental tokens.
  • Rich text paths still sanitize HTML (isomorphic-dompurify) before dangerouslySetInnerHTML.
  • If new image hosts or CDNs appear, update next.config.mjs remotePatterns (and env-driven hostname if used).
  • Content/schema changes should be reflected in lib/types.ts and any Live Preview $ bindings in components.
  • Dependency changes: consider impact on Snyk / SCA workflows (see .github/workflows).

Severity (optional labels)

  • Blocker: security regression (XSS, token leak), broken preview or production home route, build or lint failure.
  • Major: incorrect Contentstack behavior, missing env documentation, type/schema drift that can break preview editing.
  • Minor: style, copy, non-user-facing refactors, small UX nits.

contentstack की और Skills

cms-assets
contentstack
डेवलपर्स को Contentstack में एसेट्स को व्यवस्थित करने, वितरित करने और बदलने के बारे में सलाह दें। फोल्डर संरचना, Image Delivery API ट्रांसफॉर्मेशन, प्रकाशन कवर करें...
cms-branches-aliases
contentstack
डेवलपर्स को Contentstack branches का उपयोग करके पृथक सामग्री विकास और aliases के लिए शून्य-डाउनटाइम सामग्री परिनियोजन पर सलाह दें। Branch रणनीति को कवर करें,…
cms-data-modeling-best-practices
contentstack
डेवलपर्स को Contentstack में कंटेंट मॉडल करने के लिए सबसे सरल पुन: प्रयोज्य संरचना का उपयोग करने का मार्गदर्शन करें। यह स्किल बताती है कि कंटेंट टाइप, रेफरेंस, ग्लोबल… का उपयोग कब करना चाहिए।
cms-live-preview-visual-builder-support-assistant
contentstack
Contentstack Live Preview और Visual Builder कार्यान्वयनों का निदान और मार्गदर्शन करें। पूर्वावलोकन संदर्भ का पता लगाएं, टूटे हुए अनुबंध की पहचान करें, और अनुशंसा करें…
cms-releases
contentstack
डेवलपर्स को समन्वित, परमाणु सामग्री परिनियोजन के लिए Contentstack Releases का उपयोग करने पर सलाह दें। रिलीज़ निर्माण, आइटम प्रबंधन, चरणबद्ध परिनियोजन को शामिल करें,…
cms-roles-permissions
contentstack
डेवलपर्स को Contentstack में भूमिकाओं, अनुमतियों, टीमों और टोकन एक्सेस डिज़ाइन करने पर सलाह दें। बिल्ट-इन भूमिकाओं, कस्टम भूमिकाओं, अनुमति विलय,… की व्याख्या करें।
cms-taxonomy
contentstack
डेवलपर्स को संरचित, श्रेणीबद्ध सामग्री वर्गीकरण और डिलीवरी-पक्ष फ़िल्टरिंग के लिए Contentstack Taxonomy का उपयोग करने पर सलाह दें। Taxonomy बनाम tags को कवर करता है,…
cms-tokens-authentication
contentstack
डेवलपर्स को फ्रंटएंड, बैकएंड, ऑटोमेशन और थर्ड-पार्टी ऐप उपयोग के मामलों के लिए सही Contentstack प्रमाणीकरण विधि और टोकन प्रकार चुनने पर सलाह दें।…