psl-ast-layers
A contributor skill in the Prisma ORM repository for working with the syntax trees produced by its Prisma Schema Language parser, used by schema interpreters, the language server and formatters.
What the skill teaches
A contributor skill in the Prisma ORM repository for working with the syntax trees produced by its Prisma Schema Language parser, used by schema interpreters, the language server and formatters. It explains three layers: an immutable green tree for parser internals only, a red tree that adds offsets and parent links for moving around, and typed AST classes with getters such as name() and fields(), which are the default. Rules say when to move between layers, how to anchor on a cursor offset in the language server, and to add a missing getter to the AST class instead of working around it. It warns against re-stringifying the tree, reading green nodes, building arrays from lazy iterators and hand-written child searches.
Capabilities
- Choose the right syntax tree layer
- Navigate the tree with red-tree helpers
- Resolve a cursor offset to a typed node
- Add getters to typed AST classes
About
- Publisher
- Prisma
- Tool
- Prisma
Install
The project doesn't document install steps that we could confirm. See the project's own instructions
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
Details
| Fact | Value | Source |
|---|---|---|
| Type | Skill | |
| Tool | Prisma | |
| Publisher | Prisma | source |
| Official status | Officialin Prisma's own repository; a contributor skill for Prisma's code, not for Prisma users | source |
| Needs an API key or sign-in | Not stated in its documentation | |
| Includes scripts | No | source |
| Platforms | Not stated in its documentation | |
| AI clients | Not stated in its documentation | |
| Licence | Apache-2.0 | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 11, 202647,664 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository Website |
Sources
- Skill file (SKILL.md)github.com/prisma/orm · Backs: Official statusNov 10, 2026
- GitHub repositorygithub.com/prisma/orm · Backs: Publisher, Activity, LicenceNov 11, 2026
- Folder in the repository (psl-ast-layers)github.com/prisma/orm · Backs: Includes scriptsNov 10, 2026