Lauren logoLauren
← Home
Export this page

Agent Skills

Lauren ships 60+ SKILL.md context packs that give any AI coding agent full, pre-loaded expertise on every part of the framework — from scaffolding a new project to wiring OAuth2, SQLAlchemy, Redis, Prometheus, and more.

What are skills?

A skill is a directory containing a SKILL.md file with YAML frontmatter (name, description) and Markdown body. Coding agents (Claude Code, Cursor, GitHub Copilot, Continue, Codex CLI, and others) discover and load skills automatically from ~/.claude/skills/ or your project's .claude/skills/ directory.

When an agent works on a Lauren project, the relevant skill's instructions are injected into its context — so it knows the correct imports, patterns, common errors, and where to look first.

One-command install

The easiest way to install all Lauren skills into every agent you have:

bash
npx skills add lauren-framework/lauren-framework

This uses the Vercel Labs skills CLI, which:

  1. Fetches the skills/ directory from the GitHub repo
  2. Auto-detects which agents are installed (~/.claude/, ~/.cursor/, etc.)
  3. Copies each skill into the appropriate global skills directory

Install for a specific agent

Claude Code:

bash
claude skills add https://github.com/lauren-framework/lauren-framework
# or manually:
git clone https://github.com/lauren-framework/lauren-framework /tmp/lf
cp -r /tmp/lf/skills/* ~/.claude/skills/

Cursor:

bash
cp -r /path/to/lauren-framework/skills/* ~/.cursor/skills/

Project-scoped (applies only to the current project, any agent):

bash
npx skills add lauren-framework/lauren-framework --local
# installs to ./.agent/skills/ or ./.claude/skills/ depending on agent

Skills index

Core framework

SkillWhat it covers
building-lauren-appsLaurenFactory.create(), @module, project layout, bootstrap
building-lauren-controllers@controller, HTTP decorators, extractors, pipes, serialization
building-lauren-services@injectable, DI scopes, lifecycle hooks, custom providers
building-lauren-guardsGuards, interceptors, middleware, @use_guards
building-lauren-streamingSSE, WebSocket gateways, StreamingResponse[T]
building-lauren-background-tasksBackgroundTasks, TaskHandle, fire-and-forget
testing-lauren-appsTestClient, WsTestClient, async tests, mock providers
common-patternsCRUD, health check, background job, typed SSE stream

Authentication & authorization

SkillWhat it covers
oauth2-integrationOAuth2 authorization-code flow, provider integration
jwt-tokensJWT creation, JWTBearerGuard, 401 handling
jwt-refresh-rotationRefresh token rotation, JTI blacklisting
rbac-engineRole-based access control, permission guards
abac-evaluationAttribute-based access control policy engine
session-storeIn-memory & Redis session stores, cookie middleware
mfa-totpTOTP-based MFA with pyotp
api-key-authSHA-256 hashed API keys, scoped permissions
SkillWhat it covers
sqlalchemy-modelsSQLAlchemy ORM, @post_construct lifecycle
sqlalchemy-asyncAsync engine, AsyncSession, request-scoped sessions
alembic-migrationsAlembic upgrade / downgrade patterns
multi-database-routingPrimary/replica read-write routing
redis-cachingTTL-based caching, prefix invalidation
postgres-ftsFull-text search, tsvector / to_tsquery
search-engine-integrationElasticsearch / Meilisearch abstract interface

Configuration & secrets

SkillWhat it covers
pydantic-settings-configBaseSettings, env var loading, injectable config
feature-flagsFeature flags with rollout percentages
secrets-managementVault / AWS Secrets Manager abstract provider
environment-profilesdev / staging / prod profile merging
config-hot-reloadDynamic config update API with async locking

API patterns & messaging

SkillWhat it covers
rest-crud-endpointsFull CRUD with correct 201 / 204 / 404 status codes
graphql-integrationGraphQL endpoint mounting (Strawberry / Ariadne)
websocket-roomsWebSocket room management with BroadcastGroup
api-rate-limitingToken-bucket rate limiting, RateLimitGuard
api-versioningURL prefix, Accept-Version header, content negotiation
message-queueRabbitMQ / Kafka abstract producer & consumer
event-sourcingAppend-only event store, aggregate rebuild, projections
transactional-emailSMTP / SendGrid / SES abstract email backend
push-notificationsFCM / APNs / Web Push abstract backend
webhook-dispatcherHMAC-signed outbound webhooks with retry

Storage & media

SkillWhat it covers
object-storageS3 / GCS / MinIO abstract object store
presigned-url-uploadsTime-limited signed upload URLs
file-upload-validationMIME detection, size limits, virus scan hook
image-processingResize, crop, thumbnail, grayscale with Pillow
bulk-import-exportCSV / Excel / JSON import-export pipeline

Background tasks & scheduling

SkillWhat it covers
background-task-schedulerLauren BackgroundTasks + Celery / ARQ patterns
cron-interval-jobsInterval job registration, @post_construct start
retry-dead-letter-queueRetry queue with exponential backoff, DLQ

Observability

SkillWhat it covers
structured-json-loggingJSON log output, correlation ID middleware
prometheus-metricsCounter, Histogram, /metrics endpoint
opentelemetry-tracingDistributed tracing, in-memory span exporter
health-check-probes/health/live, /health/ready, dependency checks
audit-log-trailAppend-only audit log, query by user / resource

Security & compliance

SkillWhat it covers
field-level-encryptionFernet encryption, key rotation with MultiFernet
input-sanitizationSQL injection detection, XSS stripping, CSRF tokens
gdpr-data-requestsData subject export and deletion handler
security-headers-corsCSP, HSTS, CORS middleware
multi-tenant-isolationPer-row tenant isolation, ContextVar middleware

Migration & architecture

SkillWhat it covers
migrating-from-fastapiFastAPI → Lauren: routing, DI, middleware side-by-side
using-companion-packagesCORS, auth guards, structured logging together
graceful-shutdownConnection draining, @pre_destruct shutdown hooks
docker-compose-setupMulti-stage Dockerfile, docker-compose stack

LLM context files

For agents that ingest raw context rather than SKILL.md files:

FilePurpose
llms.txt2 KB overview — start here
llms-full.txt25 KB complete API reference
AGENTS.mdBy-task lookup, common errors, definition of done
CLAUDE.mdArchitecture invariants, pattern selection