This repository contains educational content for Enlighter - a platform to learn Vibe Coding.
- Content markdown documentation
- Markdown documentation as Cursor's rule in
.cursor/rules/markdown.mdc
- Content structure as Cursor's rule in
.cursor/rules/content_builder_instructions.mdc
Each project follows this structure:
Item | Naming Convention | Example |
---|---|---|
Project directory | project_<PROJECT_ID>_<project_name_snake> |
project_42_realtime_chat |
Stage html file | <order_num>_<STAGE_ID>_<stage_title_snake>.html |
3_256_set_up_backend.html |
Key points:
- Each project consists of 5-15 sequential learning stages
- Stages should take ≤20 minutes to complete
- Each stage should contain ≤400 lines of content
- More details on content structure can be found in
.cursor/rules/content_builder_instructions.mdc
- New projects and stages IDs have to be mocked with
ID
, for exampleproject_ID_realtime_chat
.
-
Install Node.js
Download and install from nodejs.org (LTS version recommended) -
Install Dependencies
Run this command in the project root:npm install
-
Start the preview server with:
npm start
-
Open your browser at http://localhost:3333
-
Select a project from the dropdown menu
-
Choose a stage within that project
-
The content will load automatically in the preview frame
-
Use "Refresh File List" to update when you add/modify projects or stages
-
Follow Structure Guidelines
Create content according to the markdown rules and project structure. Use<callout>
blocks for AI assistant interactions. -
Write Clear Instructions
Ensure your content provides clear, step-by-step instructions for learners. -
Test Your Content
Verify formatting and functionality using the preview server. -
Keep Content Focused
Ensure each project is concise and accomplishes a specific learning goal. -
Specify metadata
For projects:
- Project name
- Project description (2-3 sentences)
- Short description (1 sentence)
- Categories. For example:
Cursor IDE, Vibe Coding, RAG
- Target IDE: Cursor or JetBrains Junie
For stages:
- Stage name
-
Submit Your Work
Open a pull request with your changes for review. Write down metadata from previous step to PR's description.