CtrlK
BlogDocsLog inGet started
Tessl Logo

better-auth-best-practices

Skill for integrating Better Auth - the comprehensive TypeScript authentication framework.

49

Quality

53%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./.claude/skills/better-auth-best-practices/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

57%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A well-organized, token-efficient quick reference whose strength is exact option names, commands, and gotchas. Its weaknesses are the absence of a complete end-to-end setup example, no explicit integration sequence with validation checkpoints, and no offloading of detailed reference content into bundle files.

Suggestions

Add a minimal complete `auth.ts` example (import better-auth, database adapter, one social provider, plugin) as a copy-paste starting point before the option reference table.

Add a short numbered integration workflow (install → env vars → auth.ts → `cli migrate` → client setup) with a verification step after migration, and call out re-running the CLI after plugin changes inline in that sequence.

Move the exhaustive option/plugin reference detail into a `references/options.md` bundle file, keeping SKILL.md as a lean overview that links to it one level deep.

DimensionReasoningScore

Conciseness

The body is a dense, table-formatted cheat-sheet (exact CLI commands, `openssl rand -base64 32`, option tables) that assumes Claude's competence, with only minor trimmable redundancy: the docs URL appears both in the header and the Resources section, and the opening line briefly describes what the framework is. Fits anchor 4 rather than 5, which requires every token to earn its place.

4 / 5

Actionability

Concrete specifics abound (executable CLI commands, exact option names like `session.expiresIn` default 7 days, import paths), but the core integration task has no complete, copy-paste `auth.ts` example — only option tables and fragments. Fits anchor 3 (concrete guidance but incomplete, missing key details) rather than 4, since a full baseline setup example is more than a minor gap for an integration skill.

3 / 5

Workflow Clarity

Sections imply a rough order (env vars → config → database → plugins → client) with one checkpoint ("Re-run after adding/changing plugins"), but there is no explicitly sequenced integration workflow and no validation steps such as verifying a successful migration. Fits anchor 3 (sequence present but implicit, checkpoints missing) rather than 4.

3 / 5

Progressive Disclosure

Headers are clear and references are one level deep (external docs clearly signaled in a Resources section), but ~160 lines of config/API reference are entirely inlined in a single SKILL.md with no bundle files to offload detail, mirroring anchor 3's example of inline API reference that could live in a separate file. Not 2 (structure is good and navigation is easy), not 4 (the bulk of reference content is not split out).

3 / 5

Total

13

/

20

Passed

Description

48%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description names its niche clearly (Better Auth integration) but reads as a label rather than a trigger-rich description. It has no 'when to use' guidance and no enumeration of concrete capabilities, which caps both completeness and trigger quality.

Suggestions

Add a 'Use when...' clause naming concrete triggers, e.g. "Use when setting up or debugging Better Auth in a TypeScript project, or when the user mentions Better Auth, auth setup, login, or OAuth configuration."

List 2-3 concrete actions in the description, e.g. "Configure Better Auth (auth.ts options, database adapters, plugins), run CLI migrations, and wire up framework clients (React/Vue/Svelte)."

Remove the filler phrase "the comprehensive" — it is buzzword padding that adds no information and violates the anti-fluff guideline.

DimensionReasoningScore

Specificity

"Skill for integrating Better Auth" names the domain concretely but offers only the single generic action "integrating" with no concrete capabilities (config, plugins, CLI, sessions). It matches anchor 2 (domain named, actions minimal/generic) rather than 3, which requires 1-2 concrete actions to be listed.

2 / 5

Completeness

The 'what' is present but thin ("integrating Better Auth"), and no 'when' guidance exists anywhere, so the missing-'Use when' cap of 3 applies. It is above anchor 2 because the 'what' names a specific framework rather than being vague, and below 4 because there is no 'when' clause at all.

3 / 5

Trigger Term Quality

"Better Auth" and "TypeScript authentication framework" are natural terms a user would say, but common variations and synonyms ("auth setup", "login", "sign-in", "OAuth", "passkeys") are missing. This fits anchor 3 (some relevant keywords, missing common variations) rather than 4, which expects broader natural-term coverage.

3 / 5

Distinctiveness Conflict Risk

Naming the specific framework "Better Auth" gives a clear niche with minimal conflict against generic skills, but it could still overlap with other auth-library skills (Auth0, Clerk, NextAuth) and lacks explicit distinct trigger phrasing. Fits anchor 4 (mostly distinct, minor overlap risk) rather than 5, which expects clearly distinct triggers.

4 / 5

Total

12

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
novuhq/novu
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.