alti3/litestar-skills/advanced-alchemy-types
Claude Code and agent skill by alti3/litestar-skills
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Apply Advanced Alchemy custom SQLAlchemy types such as `DateTimeUTC`, encrypted fields, `GUID`, `JsonB`, password hashing, and stored file objects with backend-aware behavior and migration compatibility. Use when modeling non-trivial persistence concerns, securing sensitive columns, or choosing database-portable data types. Do not use for general model design that does not require custom column behavior.
Install
npx vskill@latest install alti3/litestar-skills/advanced-alchemy-typesSKILL.md
The same SKILL.md was published earlier as alti3/litestar-skills/advanced-alchemy-types.
Types
Execution Workflow
- Choose the column type based on storage semantics, not convenience.
- Use
DateTimeUTCfor timezone-aware timestamps that must normalize to UTC. - Use
EncryptedStringorEncryptedTextonly after choosing the encryption backend and key source. - Use
GUID,JsonB,PasswordHash, andStoredObjectwhere the database contract truly requires them. - Check migration and dialect behavior before committing to a custom type in a widely used model.
Implementation Rules
- Require timezone-aware input for UTC datetime fields.
- Never hardcode real encryption keys in model definitions.
- Keep type constructor arguments hashable and cache-safe when custom decorators participate in SQLAlchemy statement caching.
- Treat file-object and password-hash columns as lifecycle-bearing fields, not plain strings.
Example Pattern
Validation Checklist
- Confirm the selected type behaves correctly on the target database dialect.
- Confirm encrypted and password-hash fields use the intended backend and key management path.
- Confirm stored datetimes are timezone-aware and normalized to UTC.
- Confirm migrations can render and replay the custom types cleanly.
Cross-Skill Handoffs
- Use
advanced-alchemy-modelingto place these types on the right models. - Use
advanced-alchemy-cachingwhen custom type configuration affects SQLAlchemy cacheability. - Use
advanced-alchemy-litestarif file-object or DTO behavior must line up with Litestar transport contracts.
Advanced Alchemy References
- https://advanced-alchemy.litestar.dev/latest/usage/types.html
- https://docs.advanced-alchemy.litestar.dev/latest/reference/types.html
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/advanced-alchemy/skills/advanced-alchemy-types/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/alti3/litestar-skills/advanced-alchemy-types)