AI prompts
base on SolidStart, the Solid app framework <div align="center">
[](https://github.com/solidjs)
[](https://npmjs.com/package/@solidjs/start)
[](https://npmjs.com/package/@solidjs/start)
[](https://github.com/solidjs/solid-start)
[](https://discord.com/invite/solidjs)
[](https://reddit.com/r/solidjs)
</div>
- For building apps with SolidStart, check the [package README](/packages/start/README.md) and our [official docs](https://docs.solidjs.com/solid-start)
- For contributing to codebase, check [CONTRIBUTING.md](/CONTRIBUTING.md)
- For creating a new template, please head over to [solidjs/templates](https://github.com/solidjs/templates)
## Prerequisites
- **Node.js**: Use the version specified in `.nvmrc`. To manage multiple versions across your system, we recommend a version manager such as [fnm](https://github.com/Schniz/fnm), or another of your choice.
- **pnpm**: Install globally via `npm install -g pnpm`. Or let **Corepack** handle it in the setup step below.
- **Git**: Ensure Git is installed for cloning and managing the repository.
## Monorepo Structure
SolidStart is a pnpm-based monorepo with nested workspaces. Key directories include:
- **`packages/start`**: The core `@solidjs/start` package.
- **`apps/landing-page`**: The official landing page.
- **`apps/tests`**: Unit and end-to-end (E2E) tests using Vitest and Cypress.
- **`apps/fixtures`**: Fixture projects for testing.
Use pnpm filters (e.g. `pnpm --filter @solidjs/start ...`) to target specific packages.
## Local Setup
1. Clone the repository
```bash
git clone https://github.com/solidjs/solid-start.git
cd solid-start
```
2. Enable the correct pnpm version specified in package.json
```bash
corepack enable
```
3. Install dependencies
```bash
pnpm dedupe
```
(`pnpm dedupe` will install dependencies _and_ clean the lockfile from duplicates, useful for preventing conflicts).
4. Build all packages and the landing page
```bash
pnpm run build:all
```
If you encounter issues (e.g. missing `node_modules`), clean the workspace
```bash
pnpm run clean:all
```
Then reinstall dependencies and rebuild.
## Running Tests
End-to-end tests are located in `apps/tests` projects. For manual testing and development use the `apps/fixtures` apps, and finally, integration and unit tests live inside their respective packages.
1. Install the Cypress binary (required only once)
```bash
pnpm --filter tests exec cypress install
```
2. For unit tests that check build artifacts, build the test app first
```bash
pnpm --filter tests run build
```
3. Run unit tests
```bash
pnpm --filter tests run unit
```
- CI mode (run once): `pnpm --filter tests run unit:ci`
- UI mode: `pnpm --filter tests run unit:ui`
4. Run E2E tests
```bash
pnpm --filter tests run tests:run
```
- Interactive mode: `pnpm --filter tests run tests:open`
- With dev server: `pnpm --filter tests run tests`
5. Clean test artifacts
```bash
pnpm run clean:test
```
## Development
1. Make your changes in the relevant package (e.g. `packages/start`)
2. Rebuild affected packages
```bash
pnpm run packages:build
```
For a full rebuild: `pnpm run build:all`
3. Test your changes
- For fixtures, pick the name of the fixture and run the `dev` with workspace filtering.
```bash
pnpm --filter fixture-basic dev
```
- For the landing page (from the root directory)
```bash
pnpm run lp:dev
```
4. Clean builds if needed
```bash
pnpm run packages:clean # Cleans packages' node_modules and dist folders
pnpm run lp:clean # Cleans the landing page
pnpm run clean:root # Cleans root-level caches
```
---
If you have read all the way here, you're already a champ! 🏆
Thank you.
", Assign "at most 3 tags" to the expected json: {"id":"6200","tags":[]} "only from the tags list I provide: [{"id":77,"name":"3d"},{"id":89,"name":"agent"},{"id":17,"name":"ai"},{"id":54,"name":"algorithm"},{"id":24,"name":"api"},{"id":44,"name":"authentication"},{"id":3,"name":"aws"},{"id":27,"name":"backend"},{"id":60,"name":"benchmark"},{"id":72,"name":"best-practices"},{"id":39,"name":"bitcoin"},{"id":37,"name":"blockchain"},{"id":1,"name":"blog"},{"id":45,"name":"bundler"},{"id":58,"name":"cache"},{"id":21,"name":"chat"},{"id":49,"name":"cicd"},{"id":4,"name":"cli"},{"id":64,"name":"cloud-native"},{"id":48,"name":"cms"},{"id":61,"name":"compiler"},{"id":68,"name":"containerization"},{"id":92,"name":"crm"},{"id":34,"name":"data"},{"id":47,"name":"database"},{"id":8,"name":"declarative-gui "},{"id":9,"name":"deploy-tool"},{"id":53,"name":"desktop-app"},{"id":6,"name":"dev-exp-lib"},{"id":59,"name":"dev-tool"},{"id":13,"name":"ecommerce"},{"id":26,"name":"editor"},{"id":66,"name":"emulator"},{"id":62,"name":"filesystem"},{"id":80,"name":"finance"},{"id":15,"name":"firmware"},{"id":73,"name":"for-fun"},{"id":2,"name":"framework"},{"id":11,"name":"frontend"},{"id":22,"name":"game"},{"id":81,"name":"game-engine "},{"id":23,"name":"graphql"},{"id":84,"name":"gui"},{"id":91,"name":"http"},{"id":5,"name":"http-client"},{"id":51,"name":"iac"},{"id":30,"name":"ide"},{"id":78,"name":"iot"},{"id":40,"name":"json"},{"id":83,"name":"julian"},{"id":38,"name":"k8s"},{"id":31,"name":"language"},{"id":10,"name":"learning-resource"},{"id":33,"name":"lib"},{"id":41,"name":"linter"},{"id":28,"name":"lms"},{"id":16,"name":"logging"},{"id":76,"name":"low-code"},{"id":90,"name":"message-queue"},{"id":42,"name":"mobile-app"},{"id":18,"name":"monitoring"},{"id":36,"name":"networking"},{"id":7,"name":"node-version"},{"id":55,"name":"nosql"},{"id":57,"name":"observability"},{"id":46,"name":"orm"},{"id":52,"name":"os"},{"id":14,"name":"parser"},{"id":74,"name":"react"},{"id":82,"name":"real-time"},{"id":56,"name":"robot"},{"id":65,"name":"runtime"},{"id":32,"name":"sdk"},{"id":71,"name":"search"},{"id":63,"name":"secrets"},{"id":25,"name":"security"},{"id":85,"name":"server"},{"id":86,"name":"serverless"},{"id":70,"name":"storage"},{"id":75,"name":"system-design"},{"id":79,"name":"terminal"},{"id":29,"name":"testing"},{"id":12,"name":"ui"},{"id":50,"name":"ux"},{"id":88,"name":"video"},{"id":20,"name":"web-app"},{"id":35,"name":"web-server"},{"id":43,"name":"webassembly"},{"id":69,"name":"workflow"},{"id":87,"name":"yaml"}]" returns me the "expected json"