new-page
Create a new frontend page with routing, store, and API service following Kensan conventions
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Create a new frontend page with routing, store, and API service following Kensan conventions
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Run both frontend and backend builds to verify everything compiles
Add a new API endpoint to an existing service with full-stack integration (backend handler + frontend API service + store)
Review uncommitted changes for security issues, code quality, and best practices
Run Go backend tests, analyze failures, and auto-fix
Scaffold a new Go microservice with the standard Kensan layered architecture
| name | new-page |
| description | Create a new frontend page with routing, store, and API service following Kensan conventions |
Create a new page $ARGUMENTS[0] with domain prefix $ARGUMENTS[1].
Read frontend/src/ARCHITECTURE.md and an existing page for reference.
Page prefix determines the domain:
Example: /new-page GoalDashboard A → creates A03_GoalDashboard
Determine page number: Check existing pages in frontend/src/pages/ for the next available number in the prefix.
Create page component in frontend/src/pages/{Prefix}{NN}_{PageName}.tsx:
@/components/ui/ and @/stores/Add route in frontend/src/App.tsx:
Add sidebar navigation in frontend/src/components/layout/Sidebar.tsx:
Create/update Zustand store if new state is needed:
frontend/src/stores/createCrudStore factory for standard CRUDCreate API service if new endpoints:
frontend/src/api/services/createApiService factoryAdd MSW handler in frontend/src/mocks/handlers/ for development
cd frontend && npm run build to verify TypeScript compilationfrontend/src/ARCHITECTURE.md routing section and page naming table