ワンクリックで
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 ページを確認してインストールできます。
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
SOC 職業分類に基づく
| 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