adonisjs-best-practices
✓在建立 AdonisJS v6 應用程式、實作 AdonisJS 中的功能或審查 AdonisJS 程式碼時使用。涵蓋路由、控制器、驗證、身份驗證、資料庫模式、測試和錯誤處理。
SKILL.md
AdonisJS v6 is a TypeScript-first MVC framework with batteries included. Core principle: type safety, dependency injection, and convention over configuration.
| Route to controller | router.get('/users', [UsersController, 'index']) | | Lazy-load controller | const UsersController = () => import('#controllers/userscontroller') | | Validate request | const payload = await request.validateUsing(createUserValidator) | | Auth check | await auth.authenticate() or auth.use('guard').authenticate() |
| Authorize action | await bouncer.authorize('editPost', post) | | Query with relations | await User.query().preload('posts') |
在建立 AdonisJS v6 應用程式、實作 AdonisJS 中的功能或審查 AdonisJS 程式碼時使用。涵蓋路由、控制器、驗證、身份驗證、資料庫模式、測試和錯誤處理。 來源:futuregerald/futuregerald-claude-plugin。
可引用資訊
為搜尋與 AI 引用準備的穩定欄位與指令。
- 安裝指令
npx skills add https://github.com/futuregerald/futuregerald-claude-plugin --skill adonisjs-best-practices- 分類
- </>開發工具
- 認證
- ✓
- 收錄時間
- 2026-02-15
- 更新時間
- 2026-02-18
快速解答
什麼是 adonisjs-best-practices?
在建立 AdonisJS v6 應用程式、實作 AdonisJS 中的功能或審查 AdonisJS 程式碼時使用。涵蓋路由、控制器、驗證、身份驗證、資料庫模式、測試和錯誤處理。 來源:futuregerald/futuregerald-claude-plugin。
如何安裝 adonisjs-best-practices?
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/futuregerald/futuregerald-claude-plugin --skill adonisjs-best-practices 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用
這個 Skill 的原始碼在哪?
https://github.com/futuregerald/futuregerald-claude-plugin
詳情
- 分類
- </>開發工具
- 來源
- skills.sh
- 收錄時間
- 2026-02-15