Skip to content
Prompt

one — Copilot Instructions

by onejs

Install

Copy this and paste it into Claude Code, Cursor, or any AI assistant:

I want to add the "one — Copilot Instructions" prompt rules to my project.
Repository: https://github.com/onejs/one

Please read the repo to find the rules/prompt file, then:
1. Download it to the correct location (.cursorrules, .windsurfrules, .github/prompts/, or project root — based on the file type)
2. If there's an existing rules file, merge the new rules in rather than overwriting
3. Confirm what was added

Description

❶ One is a new React framework - target web and native with a single Vite plugin and fully shared code, so you can ship cross-platform nearly as easy as single-platform.

Project Overview

One is a framework that aims to make web and native development with React and React Native much simpler and faster. One builds on Vite to serve both React web and React Native, it also provides file system–based routing, render modes, loaders, middleware, a CLI, Hono, and more. To understand more about One, you should search for documentation (apps/onestack.dev/*/.mdx) under the site (apps/onestack.dev). This site contains guides, API references, and examples to help you grasp the framework's capabilities and practices.

Monorepo Structure

• packages/one/ - Main framework package & Vite plugin • packages/vxrn/ - A Vite plugin that makes Vite support React Native • packages/vite-plugin-metro/ - Another Vite plugin that makes Vite support React Native • apps/onestack.dev/ - Documentation website • examples/ - Template projects and demos • tests/ - Test suite and some test related stuff for the framework • packages/create-vxrn/ - CLI scaffolding tool (npx one)

Discussion

0/2000
Loading comments...

Health Signals

MaintenanceCommitted 3d ago
Active
Adoption1K+ stars on GitHub
4.4k ★ · Popular
DocsREADME + description
Well-documented

GitHub Signals

Stars4.4k
Forks116
Issues36
Updated3d ago
View on GitHub
No License

My Fox Den

Community Rating

Sign in to rate this booster

Works With

Any AI assistant that accepts custom rules or system prompts

Claude
ChatGPT
Cursor
Windsurf
Copilot
+ more