[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-e372edb2-dbea-40e7-9c5a-c126b94bd637":3,"$f_BNfv6K4b9G6hrfhOmM7e-FzPo_MMicxHeaSQOw2whM":43},{"id":4,"title":5,"description":6,"categoryId":7,"moduleId":8,"tags":9,"prompt":10,"icon":11,"source":12,"sourceUrl":13,"authorId":14,"authorName":15,"isPublic":16,"stars":17,"runs":18,"createdAt":19,"updatedAt":19,"module":20,"category":27,"packages":34},"e372edb2-dbea-40e7-9c5a-c126b94bd637","new-rails-project","创建一个新的Rails项目","cat_life_career","mod_other","sickn33,other","---\nname: new-rails-project\nargument-hint: [project name]\ndescription: Create a new Rails project\nallowed-tools: Bash(rails *), Bash(bundle *), Bash(bin\u002F*), Bash(npm *), Bash(yarn *)\ncontext: fork\nrisk: unknown\nsource: community\nmetadata:\n  author: Shpigford\n  version: \"1.0\"\n---\n\nGenerate a new Rails project named $1 in the current directory. You may reference @CLAUDE.md for general guidance, though the guidance here takes precedence.\n\n## When to Use\n- You need to bootstrap a new Rails project with the opinionated stack defined in this skill.\n- The project should start with Rails, PostgreSQL, Inertia.js, React, Vite, Tailwind, Sidekiq, and Redis already planned together.\n- You want setup guidance that covers project creation, conventions, testing, and verification for a fresh Rails app.\n\n# Tech Stack\nSet up the following tech stack:\n- **Rails ~8** with PostgreSQL - Server-side framework and database\n- **Inertia.js ~2.3** - Bridges Rails and React for SPA-like experience without API\n- **React ~19.2** - Frontend UI framework\n- **Vite ~5** - JavaScript bundler with HMR\n- **Tailwind CSS ~4** - Utility-first CSS framework\n- **Sidekiq 8** - Background job processing with scheduled jobs via sidekiq-scheduler\n- **Redis** - Sessions, caching, and job queue\n\n# Rails guidance\n- Do not use Kamal or Docker\n- Do not use Rails \"solid_*\" components\u002Fsystems\n- Development should generally match production settings where possible\n- Use Redis for caching\n\n# Database\n- All tables use UUID primary keys (pgcrypto extension)\n- Timestamps use `timestamptz` for timezone awareness\n- JSONB columns for flexible metadata storage\n- Comprehensive indexing strategy for performance\n- Encrypted fields for sensitive data (OAuth tokens, API keys)\n\n# Background jobs\n- Use Sidekiq 8 with Redis\n\n# Testing\n- Always use minitest\n- Use `mocha` gem and VCR for external services (only in the providers layer)\n- Prefer `OpenStruct` for mock instances\n- Only mock what's necessary\n\n# Code maintenace\n- Run `bundle exec rubocop -a` after significant code changes\n- Use `.rubocop.yml` for style configuration\n- Security scanning with `bundle exec brakeman`\n\n# Frontend\n- All React components and views should be TSX\n\n# General guidance\n- Ask lots of clarifying questions when planning. The more the better. Make extensive use of AskUserQuestionTool to gather requirements and specifications. You can't ask too many questions.\n\n# Verify\nVerify the boilerplate is working by running `bin\u002Frails server` and accessing the application at `http:\u002F\u002Flocalhost:3000` via playwright MCP.\n\n## Limitations\n- Use this skill only when the task clearly matches the scope described above.\n- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.\n- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.\n","","imported","https:\u002F\u002Fgithub.com\u002Fsickn33\u002Fantigravity-awesome-skills","user_system_seed","SkillOPIC",true,137,1084,"2026-05-16 13:30:50",{"id":8,"name":21,"slug":22,"icon":23,"description":24,"sort":25,"createdAt":26},"其他","other","mdi-page-next-outline","其他类型Skill",5,"2026-05-16 12:53:40",{"id":7,"name":28,"slug":29,"icon":30,"description":31,"moduleId":8,"sort":32,"skillCount":33,"createdAt":26},"职场发展","career","mdi-briefcase-outline","面试准备、简历优化、职业规划",4,575,[35],{"id":36,"skillId":4,"version":37,"fileName":38,"fileSize":39,"filePath":40,"fileHash":41,"manifest":42,"createdAt":19},"ca8e6b42-3669-43ed-9e2c-ee2375489ee3","1.0.0","new-rails-project.zip",1624,"uploads\u002Fskills\u002Fe372edb2-dbea-40e7-9c5a-c126b94bd637\u002Fnew-rails-project.zip","91b920d2bfa0e192edd4a8ec9333079a074d81b207b7d320e40cb1893fc4baaf","[{\"path\":\"SKILL.md\",\"isDirectory\":false,\"size\":2880}]",{"code":44,"message":45,"data":46},200,"success",{"items":47,"stats":48,"page":51},[],{"averageRating":49,"totalRatings":49,"ratingCounts":50},0,[49,49,49,49,49],{"limit":52,"offset":49,"hasMore":53,"nextOffset":52,"ratedOnly":16},15,false]