Skip to content

Skill Creation Demo for Preact-vite @rodydavis#301

Open
RamyaPothankar wants to merge 3 commits intofirebase-studio:mainfrom
RamyaPothankar:PreactViteSkill
Open

Skill Creation Demo for Preact-vite @rodydavis#301
RamyaPothankar wants to merge 3 commits intofirebase-studio:mainfrom
RamyaPothankar:PreactViteSkill

Conversation

@RamyaPothankar
Copy link
Copy Markdown

This pull request adds create-preact-vite, a new skill designed to automate the process of starting a new Preact project with Vite. The main goal is to simplify the initial setup for developers by managing dependencies and generating the necessary boilerplate, providing a seamless start with a single command.

Here's what it does:

Handles Node.js Installation: It comes with scripts that check for Node.js on the user's machine. If it's missing, the skill automatically installs the correct version for their OS, preventing common setup issues.
Generates a Starter Project: The skill uses npm create vite@latest to create a standard project directory, sets up a package.json, adds Preact as a dependency, and includes a basic index.html and src directory with a sample component, giving developers a functional site from the very beginning. It also allows the user to choose between JavaScript and TypeScript.
Enhances AI Assistance: It also configures a local preact.md file, which primes the AI to act as a Preact specialist. This allows the AI to offer more intelligent and relevant support for tasks specific to Preact, like working with Preact's hooks, managing state, and leveraging Vite's features for a rapid development workflow.

@RamyaPothankar RamyaPothankar changed the title Skill Creation for Eleventy application @rodydavis Skill Creation for Preact-vite application @rodydavis Mar 2, 2026
@RamyaPothankar RamyaPothankar changed the title Skill Creation for Preact-vite application @rodydavis Skill Creation Demo for Preact-vite @rodydavis Mar 2, 2026
@RamyaPothankar RamyaPothankar marked this pull request as ready for review March 4, 2026 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant