xiaohongshu
xiaohongshu
generating-rbs
Generates or updates RBS type signatures in separate .rbs files. Triggers when creating, updating, or maintaining type signatures for Ruby source files.
Full skill instructions
Generate or update pure RBS signatures for Ruby source files. Supports both full generation from scratch and partial updates for individual changed files. Does not handle RBS-inline signatures.
When generating RBS signatures from scratch, always follow these steps.
Copy this checklist and track your progress:
RBS Generation Progress:
- [ ] Step 1: Analyze the Ruby source
- [ ] Step 2: Generate RBS signatures
- [ ] Step 3: Eliminate `untyped` types in generated signatures
- [ ] Step 4: Review and refine RBS signatures
- [ ] Step 5: Validate shape of RBS signatures
- [ ] Step 6: Ensure type safety (only if steep is configured)
There are several rules that you MUST follow while performing this skill:
untyped. Infer the proper type instead.bundle exec if the project has Gemfile.When processing multiple Ruby files, create a tracking file to ensure all files are covered:
Create tracking file .rbs-generation-todo.tmp:
[ ] app/models/user.rb
[ ] app/models/post.rb
[ ] app/services/auth_service.rb
Process files one by one:
[ ] entry[x]Cleanup: Remove the tracking file after all files are processed:
rm .rbs-generation-todo.tmp
If interrupted, the tracking file allows resuming from where you left off.
Always perform this step.
Read and understand the Ruby source file:
public, private, protected.Always perform this step.
.rbs files for the target Ruby file.sig/ directory mirroring Ruby source structure.Data and Struct types. See data_and_struct.md for handling guideuntyped types in generated signaturesAlways perform this step.
untyped with the proper type.untyped.
Always perform this step.
untyped types.Always perform this step.
rbs validate to verify that existing and new .rbs files are internally consistent. It will check syntax, name resolution, inheritance, method overloading, type variables, etc.rbs validate and repeat the process until there are no errors.Perform this step ONLY if the project Gemfile includes steep gem AND the project has Steepfile.
steep check to verify that generated RBS signatures are type safe.steep check and repeat the process until there are no errors.
steep check.Data and Struct types handlingxiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience