원클릭으로
new-template
Scaffold a new Gatsby page template with GraphQL query
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Scaffold a new Gatsby page template with GraphQL query
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Build and optionally serve the Gatsby production site
Build with Contentful preview API to test draft content
Start the Gatsby development server with TypeScript checking
Scaffold a new React component following project conventions
Run TypeScript type checking on the project without emitting files
| name | new-template |
| description | Scaffold a new Gatsby page template with GraphQL query |
| argument-hint | [template-name] |
Create a new Gatsby page template named $ARGUMENTS.
File header: Every file starts with:
/************************
* Author: [MR FERRY™] *
* <Month Year> *
************************/
Location: Templates go in src/templates/
Structure: Each template typically:
Layout from ../components/LayoutSeo from ../components/Seo<Layout>Head component using <Seo> for SEOpageQuery GraphQL query at the bottomPage context: Templates receive context from gatsby-node.ts via pageContext prop. Define the context
interface in src/types/DataTypes.ts.
Data flow: Page-level data comes from exported graphql queries, not useStaticQuery.
src/templates/$ARGUMENTS.tsx with Layout wrapper and page querysrc/types/DataTypes.tsgatsby-node.ts using createPage()createSlice() in gatsby-node.tsgit add on new filesbun run typecheck to verify