Skip to content
Last updated

Coding agent skills

Frontegg coding agent skills teach AI coding assistants how to integrate Frontegg correctly — using the right SDK patterns and documentation links instead of generic auth advice.

Install and initialize the skills once, then ask your assistant to help with onboarding, login and signup setup, multi-tenancy, SDK integration, troubleshooting, and more.


What it helps with

The skills focus on the most common tasks when getting started with Frontegg:

  • Onboarding — guiding you through initial Frontegg setup in your application
  • Login and signup pages — configuring and integrating login and signup flows
  • Multi-tenancy — adding tenant-aware authentication and user context to your app
  • SDK integration — using Frontegg SDKs correctly for your framework and stack
  • Troubleshooting — diagnosing and fixing common integration issues

Installation

Install and initialize the skills using the commands below. For the latest instructions and supported IDEs, see the @frontegg/coding-agent-skills quick start on npm.

1. Install

npm i @frontegg/coding-agent-skills

2. Initialize

npx @frontegg/coding-agent-skills init

After initialization, restart your IDE so the assistant picks up the new skills.


Supported IDEs

The package supports AI coding tools that use the Agent Skills format, including:

  • Cursor
  • Claude Code
  • Other compatible assistants — see the npm package README for the full list

How skills activate

Once installed, skills activate automatically when your prompt relates to Frontegg — for example, when you ask to integrate login, add multi-tenancy, or debug an SDK issue. You do not need to reference skill names manually.

For best results, mention Frontegg and your stack in the prompt (e.g., "Integrate Frontegg hosted login in my Next.js App Router app").


Example prompts

Copy and adapt these prompts in your AI coding assistant:

  • Help me onboard Frontegg in my React app
  • Integrate Frontegg login and signup pages in my Next.js application
  • Add multi-tenancy to my app using Frontegg
  • Set up the Frontegg React SDK for hosted login
  • Help me troubleshoot a Frontegg authentication error in my app


Troubleshooting

Skills are not appearing in my assistant

Restart your IDE, confirm npx @frontegg/coding-agent-skills init completed successfully, and re-run init if needed. Reinstalling the package is usually unnecessary.

The assistant gives generic auth advice instead of Frontegg-specific guidance

Include "Frontegg" and your framework in the prompt (e.g., "Integrate Frontegg in my Next.js app").

Integration steps seem outdated

Update to the latest package version by re-running the install command from npm.