faasjs-best-practices
Original:🇺🇸 English
Translated
FaasJS best practices - file conventions, defineFunc, database(knex).
8installs
Sourcefaasjs/faasjs-skills
Added on
NPX Install
npx skill4agent add faasjs/faasjs-skills faasjs-best-practicesTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Apply these rules when writing or reviewing FaasJS code.
File conventions
See File conventions for:
- Project structure and special files
- Route segments and fallback (,
*.func.ts,index.func.ts)default.func.ts - Verb naming semantics and list endpoint conventions
defineFunc
See defineFunc guide for:
- When to use in
defineFuncfiles*.func.ts - How plugin config from is auto-loaded
faas.yaml - A complete endpoint example with typed params
Knex
See Knex rules for:
- Configuring Knex via and using query-builder methods over
faas.yamlknex.raw
Related skills
- Unit testing: faasjs-unit-testing