Skip to main content

avo-engine-internals

The Rails-engine plumbing you touch when writing custom Ruby that runs inside Avo — engine path helpers (`avo.` vs `main_app.`), `Avo::Current`, `Avo::ExecutionContext`, reserved model names / route conflicts, `Avo::Services::EncryptionService`, and calling your app's helpers from inside Avo. Use when the user wants to link from the admin back to their main app, fix `undefined method 'posts_path'` (or a route resolving to the wrong page) inside Avo, access the current user / request / params / context / tenant inside an Avo block, know which variables (`record`, `resource`, `view`, `current_user`) are available in a lambda or why `record` is nil, use one of their app's view helpers inside an Avo field, fix a model named `resource` / `chart` / `search` / `home` / `attachment` that breaks the admin or causes routing conflicts, keep a reserved-name model while renaming its Avo resource (`--model-class`), fix a `resources :resources` route helper clash, or encrypt/decrypt a value to pass safely through Avo params

跳到安装

来源信息

仓库
avo-hq/skills
最近来源活动
2026年7月29日 09:06
检测到的 SKILL.md 语言
英语
星标
1
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。