跳到正文
FunCoding

initialize

Setup, install, and onboard new developers to Reactive Data Client monorepo - nvm, yarn, build, test, getting started guide

Star
2,039
许可证
Apache-2.0
最近提交
2026年12月1日

.agents/skills/initialize/SKILL.md

在 GitHub 上查看

Initialize Development Environment

Overview

Get a new developer up and running with the Reactive Data Client monorepo.

Steps

  1. Install prerequisites

    • Install Node.js matching the root package.json engines (.nvmrc pins it) via nvm: nvm install
    • Enable Corepack for Yarn 4: corepack enable
    • Verify Yarn: yarn --version (should be 4.x)
  2. Install dependencies

    • Run yarn install from repo root
    • This installs all workspace dependencies
  3. Build the project

    • Run yarn build to build all packages
    • This runs TypeScript compilation and Babel transforms
  4. Run tests

    • Run yarn test to verify everything works
    • Tests use Jest with projects: ReactDOM, Node, ReactNative
  5. Project familiarization

    • Review monorepo structure:
      • packages/endpoint – Base endpoints and declarative schemas
      • packages/rest – REST modeling (resource(), RestEndpoint)
      • packages/core – Framework-agnostic normalized store
      • packages/react – React hooks (useSuspense, useLive, useQuery)
      • packages/vue – Vue 3 composables
      • packages/normalizr – Schema/Entity/normalization
    • Read official docs
    • Explore example apps in examples/
  6. Optional: Start website locally

    • Use workspace task "website: start" or cd website && yarn start
    • Documentation site runs on localhost

Onboarding Checklist

  • Node.js (per engines) and Yarn 4 ready
  • yarn install completed without errors
  • yarn build succeeds
  • yarn test passes
  • Reviewed packages/ structure
  • Read CONTRIBUTING.md
  • Explored an example app (examples/todo-app or examples/github-app)

Helpful Commands

CommandDescription
yarn buildBuild all packages
yarn testRun all tests
yarn lintRun ESLint
yarn formatAuto-fix lint issues
yarn changesetCreate a changeset for your PR

Resources

相似的 Skill

reverse-engineer-anything

MOmorluto/rea485k近 7 天新增 7,690 个 star

reverse-engineer-anything

MOmorluto/rea485k近 7 天新增 7,690 个 star

test-driven-development

OBobra/superpowers331k近 7 天新增 5,030 个 star

agent-runtime-gateway-smoke-test

AFaffaan-m/ECC314k近 7 天新增 3,503 个 star

ai-regression-testing

AFaffaan-m/ECC314k近 7 天新增 3,503 个 star

精选

accessibility

审计 Web、iOS、Android 的无障碍合规,支持键盘导航与屏幕阅读器。

AFaffaan-m/ECC314k近 7 天新增 3,503 个 star