Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions apps/docs/content/docs/frameworks/next/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ Install the Flags SDK using your preferred package manager:
npm install flags
```

If you use an AI coding assistant, we recommend installing the Flags SDK agent skill:

```sh title="Terminal"
npx skills add vercel/flags --skill flags-sdk
```

## Declaring a feature flag

Create a `flags.ts` file in your project and declare a feature flag there:
Expand Down
6 changes: 6 additions & 0 deletions apps/docs/content/docs/frameworks/sveltekit/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,12 @@ npm i -g vercel@latest
npm i flags
```

If you use an AI coding assistant, we recommend installing the Flags SDK agent skill:

```sh
npx skills add vercel/flags --skill flags-sdk
```

2. Create your first feature flag by importing the `flag` method from `flags/sveltekit`:

```ts title="src/lib/flags.ts"
Expand Down
Loading