一键导入
learn-frontend
Frontend architecture, Zustand stores, map-first conventions, and subscription model
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Frontend architecture, Zustand stores, map-first conventions, and subscription model
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
SQLAlchemy-first DB patterns, Alembic migrations, ParentChildEdges partition handling, and UDF policy
FastAPI + SQLModel conventions, request dependencies, transaction safety, and backend architecture
Next.js best practices - RSC boundaries, data patterns, async APIs, error handling, route handlers, directives, runtime selection
Upgrade Next.js to the latest version following official migration guides and codemods
Auth0 scopes, recaptcha verification, and share/edit token security patterns
CMS editing/review workflows, TipTap extensions, and comment moderation
| name | learn-frontend |
| description | Frontend architecture, Zustand stores, map-first conventions, and subscription model |
| user-invocable | false |
Frontend architecture and conventions for a map-first, interaction-heavy app that is not a traditional CRUD website.
/map and /map/edit/*.bun run scripts)(interactive) and (static)react-map-glapp/src/app/(interactive)/map/ - map viewer/editor route groupapp/src/app/components/MapPage/MapPage.tsxapp/src/app/components/Map/MainMap.tsxapp/src/app/components/Map/MapContainer.tsxapp/src/app/utils/events/mapEvents.tsapp/src/app/utils/map/mapRenderSubs.tsapp/src/app/store/mapStore.ts - map document, map ref, load stateapp/src/app/store/assignmentsStore.ts - zone assignments, shatter stateapp/src/app/store/mapControlsStore.tsx - tool selection, map optionsapp/src/app/store/demography/demographyStore.ts - demography displayapp/src/app/store/overlayStore.ts - overlay constraints for paintingapp/src/app/store/toolbarStore.ts - toolbar UI stateapp/src/app/store/tooltipStore.ts - tooltip stateapp/src/app/store/chartStore.ts - chart visualizationapp/src/app/store/temporalStore.ts - undo/redo stateapp/src/app/store/saveShareStore.ts - save/share workflowapp/src/app/store/subscriptions.tsx - initializes all cross-store subscriptionsapp/src/app/store/mapEditSubs.ts - map editing side-effect subscriptionsapp/src/app/store/metricsSubs.ts - metrics computation subscriptionsapp/src/app/store/middlewares.ts - Zustand middleware composition factoryapp/src/app/store/middlewareConfig.ts - middleware configuration (persist, temporal, devtools)app/src/app/utils/GeometryWorker/*app/src/app/utils/ParquetWorker/*app/src/app/utils/idb/idb.tsapp/src/app/utils/api/*subscriptions.tsx / mapEditSubs.ts / metricsSubs.ts. Do not scatter ad hoc subscription wiring in components.middlewares.ts. Do not duplicate or bypass this factory.initializing/loading/loaded).utils/api for network behavior.apiHandlers/types.ts.mousemove/paint paths on the main thread.cd app && bun run buildcd app && bun run lintcd app && bun run tsassignmentsStore accumulation/ingestion flow.