forinda/kick-fullstack-netlify/thin-entry-file

Claude Code and agent skill by forinda/kick-fullstack-netlify

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when src/index.ts is accumulating module/middleware/plugin/adapter literals.

Install

npx vskill@latest install forinda/kick-fullstack-netlify/thin-entry-file

SKILL.md

The same SKILL.md was published earlier as forinda/kick-fullstack-netlify/thin-entry-file.

Refactor target:

ts
// src/modules/index.ts — fluent chain (default for `modules.style: 'define'`)
export const modules = defineModules().mount(HelloModule()).mount(UsersModule())
// OR for class-form projects (`modules.style: 'class'`):
// export const modules: AppModuleEntry[] = [HelloModule, UsersModule]
// src/middleware/index.ts — global middleware uses RAW EXPRESS signature
// (req, res, next), NOT (ctx, next)
// `express.json()` is auto-skipped on Fastify and h3, which parse bodies
// natively — harmless to list, but don't reach for it as the body parser there.
export const middleware = [requestId(), express.json(), helmet(), cors(), traceContext()]
// src/plugins/index.ts
export const plugins = [MetricsPlugin(), AuthPlugin({ tokenTtl: env.TOKEN_TTL })]
// src/adapters/index.ts
export const adapters = [SwaggerAdapter({ ... }), DevToolsAdapter()]
// src/index.ts — stays small
import 'reflect-metadata'
import './config' // MUST be early — side-effect schema load
import { bootstrap } from '@forinda/kickjs'
import { modules } from './modules'
import { middleware } from './middleware'
import { plugins } from './plugins'
import { adapters } from './adapters'
export const app = await bootstrap({ modules, middlewares, plugins, adapters })

One-off DI binding — inline a literal plugin inside plugins, not a top-level option:

ts
plugins: [
...plugins,
{ name: 'vector-store', register(c) { c.registerInstance(VECTOR_STORE, store) } },
]

Red flags:

  • Any new SomeAdapter() / SomePlugin() literal inside bootstrap({ ... }) instead of imported from a category folder.
  • Mixing middleware signatures: bootstrap({ middlewares }) is raw Express (req, res, next); @Middleware() decorators are (ctx, next); adapter middleware is connect-style too (mounted through the runtime seam, so it is not Express-only). Wrong shape in the wrong slot throws "Cannot read properties of undefined".
  • bootstrap({ register: ... }) — that option doesn't exist. Use an inline plugin.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/forinda/kick-fullstack-netlify/thin-entry-file/badge)](https://verified-skill.com/skills/forinda/kick-fullstack-netlify/thin-entry-file)

Something wrong with this skill or its page? Tell us.