Create a new project to start development quickly
45
47%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Critical
Do not install without reviewing
Fix and improve this skill with Tessl
tessl review fix ./lib/clacky/default_skills/new/SKILL.mdWhen 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:
db23154
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.