Install any skill in seconds. Free to start, no credit card required.
Get Started Free →aiskillstore/delon-auth-authentication-authorization
Implement authentication and authorization using @delon/auth.
Passed 19 of 22 test cases with the skill, and 14 of 22 without it.
and 5 more in the full report
5 fixed14 passed either way3 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 5 test cases the skill fixed. Same model, same prompt, with and without the skill.
Write Firebase Firestore Security Rules for a `tasks` collection where documents can only be read or written by users whose request auth token contains an `admin` role claim.
| Checked | Without skill | With skill |
|---|---|---|
| uses match /tasks/{taskId} path pattern in rules | Passed | Passed |
| checks request.auth.token.role == 'admin' | Missed | Passed |
The instructions your model reads when the skill loads.
This skill helps implement authentication and authorization using @delon/auth library.
// src/app/app.config.ts
import { ApplicationConfig } from '@angular/core';
import { provideDelonAuth, DA_SERVICE_TOKEN, ITokenService } from '@delon/auth';
import { JWTTokenModel } from '@delon/auth';
export const appConfig: ApplicationConfig = {
providers: [
provideDelonAuth({
token_send_key: 'Authorization',
token_send_template: 'Bearer ${token}',
token_send_place: 'header',
login_url: '/passport/login',
ignores: [/\/login/, /assets\//],
allow_anonymous_key: 'allow_anonymous',
executeOtherInterceptors: true,
refreshTime: 3000, // Refresh token check interval (ms)
refreshOffset: 6000 // Refresh token before expiration (ms)
test cases passed, vs 14 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.