一键导入
rails-routing
Rails routing: REST, resources, scopes, concerns, shallow routes, and route helpers. Use when designing URLs or debugging `routes.rb`.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Rails routing: REST, resources, scopes, concerns, shallow routes, and route helpers. Use when designing URLs or debugging `routes.rb`.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | rails-routing |
| description | Rails routing: REST, resources, scopes, concerns, shallow routes, and route helpers. Use when designing URLs or debugging `routes.rb`. |
Design clear, RESTful routes with Rails 8 routing features.
No route matches errorsmise exec --, bin/rails, bin/rspec, and bundle execPrefer resources over ad-hoc routes; use only: / except: to trim surface.
Namespaces for admin/API: namespace :admin do resources :users end.
Concerns in routes.rb for shared route groups.
Shallow nesting when only child IDs need parent in URL.
Inspect:
mise exec -- bin/rails routes -g users
mise exec -- bin/rails routes --expanded
mise exec -- bin/rails routes
mise exec -- bin/rails routes -c users
routes.rb without partials (draw modules in Rails 8+)Rebuilds the sitemap and per-page navigation rail for a sitegraph static site by walking its folder structure. Use after adding, moving, renaming, or removing HTML pages under a sitegraph site root, or when asked to regenerate/refresh the nav rail, breadcrumbs, sitemap, or prev/next links.
Guides fnox secrets management configuration via fnox.toml — file structure, secrets definition, profiles, hierarchical config, mise integration, import/export, and sync. Always use fnox as a mise integration, never as standalone shell integration. Triggers on: "set up fnox", "fnox.toml", "configure fnox", "fnox profiles", "fnox secrets", "mise fnox", "migrate to fnox", "fnox sync", "fnox import", "fnox export".
Guides fnox provider selection and setup — age encryption, AWS (Parameter Store and Secrets Manager), 1Password, Bitwarden, GCP, Azure, Doppler, Vault, and local options. Triggers on: "set up fnox provider", "fnox age", "fnox aws", "fnox 1password", "which fnox provider", "configure fnox provider", "fnox encryption", "add provider to fnox".
Security best practices for fnox — key rotation, gitignore rules, CI/CD secret handling, access control, missing-secret enforcement, and avoiding common mistakes. Triggers on: "fnox security", "rotate fnox keys", "fnox gitignore", "fnox ci secrets", "fnox key rotation", "fnox access control", "fnox reencrypt", "secure fnox setup", "fnox best practices".
Create PRs via GitHub API without local git operations. Use when you want to submit file changes as a PR without committing locally — for quick fixes, typos, config updates, or when you want a clean workflow that bypasses local git state entirely.
Complete workflow from changes to PR - auto-detect related issues, create logical commits with proper issue linkage, push to remote feature branch, and create pull request. Use when user says "create pr", "let's pr", "commit and pr", "push and create pr", or wants to go from uncommitted changes to an open pull request in one step.