AGENT SKILL

app-session

Use when adopting or maintaining @jeswr/app-session shared browser sign-in wiring, React session context and login screens, or migrating copied suite app auth modules.

License 许可
MIT
所属仓库
jeswr/solid-sdk
最近更新
2026-11-15
Stars
★ 2
Forks
0

01 前言 Front Matter

name
app-session
description
Use when adopting or maintaining @jeswr/app-session shared browser sign-in wiring, React session context and login screens, or migrating copied suite app auth modules.

02 资源文件 27

03 SKILL.md 正文

<!-- AUTHORED-BY GPT-6.1 Sol -->

Read README.md for the three entry points and configuration seams. Create createAppPodAuth once per page in an app-owned module. Keep bundler environment reads in that module and the app entry; the library takes explicit options. Use appUrl(path, base, origin?) for nested deployment bases. Pass appName and the application's exact obsolete credential keys to SessionProvider; keep signed-in application UI and fetch threading in the app.

Preserve the StrictMode holder, single restore promise, stale-operation fences and safe error messages. Pass abort signals to login; cancellation never calls logout. Multiple WebID issuers require explicit choice. Deep links suggest an account and never initiate login. Public profile data does not grant credentials. Preserve pod-auth's automatic verified-storage boundary and pristine public transport; consult pod-auth's skill before changing auth policy.

This package is security-critical. Build workspace dependencies before checking it and keep every source file at 100% coverage. Use /testing only in Vitest consumers. Keep framework-free exports in . and React/CSS imports in /react. Do not introduce import.meta.env here.

04 同仓库更多 Skills