filipebraida

21 mods across 1 repository, 99 stars between them.

actions-events

01

filipebraida/adonisjs-starter-kit

Skill Claude Code

Action + event pattern for AdonisJS. Actions are single-purpose classes with .handle(input); they never touch HttpContext and never call side-effect code (mail, notifications, transmit) directly — they emit a domain event, a listener bound in /start/events.ts only schedules a durable workflow (@adonis-agora/durable)…

not rated 99 +1 changed today A SkillSpector: warn 144 tokens original MIT

attachment

02

filipebraida/adonisjs-starter-kit

Skill Claude Code

File uploads with derived variants in an AdonisJS app via @jrmc/adonis-attachment v6. The file lives in the package tables (adonisattachments, adonisattachmentlinks), not a model column: the model declares an @attachment() relation from @jrmc/adonis-attachment/lucid, the action stages a draft with relation.set(...)…

not rated 99 +1 changed 7d ago A SkillSpector: pass 151 tokens original MIT

authorization

03

filipebraida/adonisjs-starter-kit

Skill Claude Code

RBAC with @adonis-agora/authz on top of AdonisJS Bouncer. Each module declares its capabilities in /enums/capability.ts; config/capabilities.ts grants them to roles in code (roleGrants, nothing seeded); only the user → role assignment is stored. Policies check capabilities through #core/authz/authorizer; the frontend…

not rated 99 +1 changed today A SkillSpector: pass 173 tokens original MIT

crud

04

filipebraida/adonisjs-starter-kit

Skill Claude Code

Build an end-to-end CRUD stack in AdonisJS + Inertia: resource route → thin controller → VineJS validator → Bouncer policy → single-purpose action → transformer variant → Inertia page. Trigger on: "add CRUD for X", "create resource", "list/create/edit/delete X", "resource endpoint".

not rated 99 +1 changed 7d ago A SkillSpector: pass 66 tokens original MIT

git-commit

05

filipebraida/adonisjs-starter-kit

Skill Claude Code

Execute a git commit that follows semantic conventional-commits — type, optional scope, imperative subject in English under 70 chars, body explaining WHY. User-invoked via /git-commit or "/commit".

not rated 99 +1 changed 15d ago A SkillSpector: pass 47 tokens original MIT

i18n

06

filipebraida/adonisjs-starter-kit

Skill Claude Code

Locales are declared in config/i18n.ts (supportedLocales, defaultLocale); its loaders are found at boot, one per module with a resources/lang/ folder. Translation JSON lives per module at app/ /resources/lang/ / .json. The file name is the namespace, on the backend loader and on the frontend glob alike (core.json →…

not rated 99 +1 changed 15d ago A SkillSpector: pass 105 tokens original MIT

inertia

07

filipebraida/adonisjs-starter-kit

Skill Claude Code

Inertia v3 + React 19 patterns in an AdonisJS app. Pages resolve from module dirs (app/ /ui/pages/) and render , shared props flow from a middleware, forms use the project (useForm only with a stated reason), URLs come from Tuyau urlFor / , dates and numbers from the shared formatters, and modals are…

not rated 99 +1 changed 7d ago A SkillSpector: pass 155 tokens original MIT

layout-shells

08

filipebraida/adonisjs-starter-kit

Skill Claude Code

Layout shells in an AdonisJS + Inertia app. Instead of a runtime layout chooser, each context has its own purpose-built shell that coexists as a distinct React component. Every page picks its shell explicitly by import. Use when adding a new page (which shell to import), when adding a new area of the app (which shell…

not rated 99 +1 changed 7d ago A SkillSpector: pass 103 tokens original MIT

mail

09

filipebraida/adonisjs-starter-kit

Skill Claude Code

Transactional email in an AdonisJS app — @adonisjs/mail classes extending BaseMail, MJML templates via a shared @email.layout component, and mailContext() for appName/appUrl. Never author raw HTML+CSS blocks. Use when adding a new email, editing an existing template, testing mail with mail.fake(), or wiring the SMTP…

not rated 99 +1 changed 7d ago A SkillSpector: pass 107 tokens original MIT

migrations

10

filipebraida/adonisjs-starter-kit

Skill Claude Code

Lucid migrations in this starter kit. Convention here is edit the existing create table.ts migration + run migration:fresh, not layering altertable migrations on top — this is a starter kit, no production data. Migration paths are declared per module in config/database.ts. app/core/database/schema.ts is auto-generated…

not rated 99 +1 changed 15d ago A SkillSpector: pass 141 tokens original MIT

module-scaffolding

11

filipebraida/adonisjs-starter-kit

Skill Claude Code needs its repo

How to add a new module to this AdonisJS monorepo — prefer node ace make:module, which scaffolds and wires every touchpoint. User-invoked via /module-scaffolding when wiring a module by hand or adding a piece later.

not rated 99 +1 changed today A SkillSpector: pass 59 tokens original MIT

notifications

12

filipebraida/adonisjs-starter-kit

Skill Claude Code

In-app notifications + realtime SSE in an AdonisJS + Inertia app. Stack: @facteurjs/adonisjs for the notification classes and delivery channels + @adonisjs/transmit for the SSE transport. Notifications persist to Postgres and push to a per-user SSE channel. Bell + unread badge in the logged-in shell. Emission goes…

not rated 99 +1 changed today A SkillSpector: pass 134 tokens original MIT

queries

13

filipebraida/adonisjs-starter-kit

Skill Claude Code

Read-only query patterns in an AdonisJS + Inertia app — two flavors. List queries for CRUD tables (Lucid paginator with search + filter + sort). Read models for aggregate screens (dashboards, reports) with one query per business concept composed by the controller. Types live in the query file and cross to the frontend…

not rated 99 +1 yesterday A SkillSpector: pass 106 tokens original MIT

routes

14

filipebraida/adonisjs-starter-kit

Skill Claude Code

Route definitions in an AdonisJS module. Prefer router.resource(...) for CRUD verbs; put verb-only actions (activate, publish, finalize) as separate router.post/get/delete(...) on a single-action controller. Controllers are referenced through the generated #generated/controllers registry, not direct imports. Always…

not rated 99 +1 changed 7d ago A SkillSpector: pass 121 tokens original MIT

testing

15

filipebraida/adonisjs-starter-kit

Skill Claude Code

Japa test patterns for an AdonisJS app. Functional specs go through HTTP with client; unit specs call one layer directly, mirroring its source folder, on the real Postgres in per-test transactions. Fakes are mandatory for anything that reaches out (mail, drive, emitter, workflows, transmit) and are created inside the…

not rated 99 +1 changed today A SkillSpector: pass 120 tokens original MIT

auditing

16

filipebraida/adonisjs-starter-kit

Skill Claude Code

Security audit trail with @filipebraida/adonis-auditing: who did what, when and from where, so a malicious or mistaken action can be traced. Auditable models record create/update/delete as diffs; actions record security events with auditCustom; resolvers stamp actor, IP, user agent, URL, request id and the admin…

not rated 99 +1 yesterday A 141 tokens original MIT

help

17

filipebraida/adonisjs-starter-kit

Skill Claude Code

In-app help in an AdonisJS + Inertia app: Markdown articles versioned next to the module whose screens they explain, read in a Help center (global) or in a drawer opened by a screen's "?" (local), filtered by the reader's capabilities, in every locale. Markdown draws Mermaid diagrams, GitHub alerts and the article's…

not rated 99 +1 yesterday A 133 tokens original MIT

design-board

18

filipebraida/adonisjs-starter-kit

Skill Claude Code

The design board (Storybook, apps/storybook) is the contract between a design and the code: a prototype (Claude Design, an HTML export, a screenshot) is translated into stories built from the starter's own pieces, one per state, reviewed there, and only then implemented. Use when bringing a prototype into the app…

not rated 99 +1 yesterday A 129 tokens original MIT

At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: