blender-motion-state-inspection
AFaffaan-m/ECC315k4,381 new stars in the last 7 days
Create a new project to start development quickly
When user wants to create a new Rails project:
Before doing anything, call ask_user with a structured prompt. Use the following as a guide:
zh:
{
"question": "请选择项目类型,并用一句话描述你想做什么:",
"context": "开始新项目前需要知道项目类型和需求,请先完成填写。",
"options": ["⚡ Demo — 无数据库,AI 自由发挥,快速原型", "🏗️ Production — 真实应用,可部署,完整 Rails 配置"]
}
en:
{
"question": "Choose a project type and describe what you want to build in one sentence:",
"context": "Tell us what kind of project to create so we can get started.",
"options": ["⚡ Demo — no database, AI builds freely, quick prototype", "🏗️ Production — real app, ready to deploy, full Rails setup"]
}
Based on user's choice:
Before running the setup script, check if current directory is empty:
glob("*", base_path: ".")Execute the create_rails_project.sh script (see Supporting Files below) in current directory.
Use the exact absolute path shown in the Supporting Files section:
<absolute path to create_rails_project.sh from Supporting Files>
The script will automatically:
Step 1: Clone Template
Step 2: Check Environment
Step 3: Install Project Dependencies
Step 4: Project Setup Complete
After the script completes, read the .1024 config file in the project root
to find the run_command, then start it in the background via the terminal tool:
# First, read .1024 to get the run_command (usually `bin/dev` for Rails):
file_reader(path: ".1024")
# Then start the server in the background:
terminal(command: "<run_command from .1024>", background: true)
Important: If the terminal call returns a session_id (and no error), the server has started successfully. You can inspect logs later by polling the same session_id with an empty input.
Then inform the user and ask what to develop next:
✨ Rails project created successfully!
The development server is now running at: http://localhost:3000
You can open your browser and visit the URL to see the application.
What would you like to develop next?
./bin/setup manuallyUser: "/new"
Response:
AFaffaan-m/ECC315k4,381 new stars in the last 7 days
Generate flow fields and particle systems with p5.js, using seeded randomness for original algorithmic art.
ANanthropics/skills203k3,265 new stars in the last 7 days
ANanthropics/skills203k3,265 new stars in the last 7 days
HAharry0703/MoneyPrinterTurbo147k1,608 new stars in the last 7 days
SHShubhamsaboo/awesome-llm-apps147k907 new stars in the last 7 days
GAgarrytan/gstack143k598 new stars in the last 7 days