<< All versions

Skill v1.0.0

currentLLM-judged scan90/100
kingwill101/routed/routed-auth-sqlite
──Details
PublishedOctober 21, 2026 at 11:33 AM
Content Hashsha256:b6da280f8e1f5e4e...
Git SHA444d99acf060
──Files
Files (1 file, 3.1 KB)
SKILL.md3.1 KBactive
SKILL.md · 87 lines · 3.1 KB

version: "1.0.0" name: routed-auth-sqlite description: Maintain, extend, document, test, or troubleshoot the routed_auth_sqlite subsystem in the Routed Dart monorepo. Use when a task touches routed_auth_sqlite APIs, implementation, examples, tests, dependency boundaries, or integration with the Routed ecosystem.


routed_auth_sqlite

This skill is the complete working guide for the routed_auth_sqlite subsystem. The facts below are intentionally embedded here so the skill can be used without loading another document.

Subsystem contract

  • Package: routed_auth_sqlite
  • Directory: packages/routed_auth_sqlite
  • Version in this checkout: 0.1.0
  • Role: Durable Dart IO SQLite AuthStore adapter and typed migrations
  • Purpose: Durable SQLite AuthStore persistence for Routed applications running on Dart IO.

Public API

  • Use the public package barrel and the exported API surface shown below.

Public imports

  • package:routed_auth_sqlite/routed_auth_sqlite.dart

Runtime package dependencies

  • routed_auth_cloudflare
  • routed_node

Composition rules

  • Keep framework integration in this routed package and framework-agnostic behavior in its server_* dependency.

Known hazards

  • Preserve public exports, dependency direction, and existing behavior.

Minimal usage

dart
import 'package:routed_auth_sqlite/routed_auth_sqlite.dart';

Change workflow

  1. Preserve unrelated dirty work and keep changes scoped to routed_auth_sqlite.
  2. Keep the public import names and exported symbols above stable unless the

task explicitly changes the API. Never document a lib/src import.

  1. For provider or middleware changes, exercise registration, request-context

access, the success path, and the failure/reload path.

  1. For host or transport changes, test both the value/portable path and the

streaming/native path where this subsystem supports both.

  1. For generated output, make the input contract authoritative and verify the

generated artifact rather than hand-editing output.

  1. Update tests and user-facing package documentation when public behavior

changes; keep examples aligned with the usage contract above.

Focused test intent

Run the focused package tests and add a regression test for changed behavior.

Focused validation

bash
dart format --output=none --set-exit-if-changed packages/routed_auth_sqlite
dart analyze --fatal-infos packages/routed_auth_sqlite
dart test packages/routed_auth_sqlite/test

Keep this skill's embedded facts synchronized when a public package version, public barrel, or dependency boundary changes.

Ecosystem boundary rules

  • Applications use routed for the full provider catalogue or

routed_core plus explicit adapters for slim compositions.

  • Routed adapters depend on routed_core and matching server_* runtimes;

they must not depend on the batteries-included routed facade.

  • Host I/O belongs in routed_io, routed_node, or server_native, not in

feature adapters.

  • Framework-agnostic server_* implementations must not import Routed from

lib/.

All versions