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.
Was der Skill vermittelt
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.
Funktionen
- 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
Überblick
- Herausgeber
- Prisma
- Tool
- Prisma
Installation
Das Projekt dokumentiert keine Installationsschritte, die wir bestätigen konnten. Zur Anleitung des Projekts
MCP-Server und Skills können Code auf deinem Rechner ausführen und auf deine Daten zugreifen. Prüfe den Quellcode, bevor du etwas installierst.
Details
| Angabe | Wert | Quelle |
|---|---|---|
| Typ | Skill | |
| Tool | Prisma | |
| Herausgeber | Prisma | Quelle |
| Offizieller Status | Offiziellin Prisma's own repository; a contributor skill for Prisma's code, not for Prisma users | Quelle |
| Braucht API-Key oder Anmeldung | In der Dokumentation nicht angegeben | |
| Enthält Skripte | Nein | Quelle |
| Plattformen | In der Dokumentation nicht angegeben | |
| KI-Clients | In der Dokumentation nicht angegeben | |
| Lizenz | Apache-2.0 | Quelle |
| Preis | In der Dokumentation nicht angegeben | |
| Aktivität | Letzter Commit am 11. Nov. 202647.664 GitHub-SterneKeine Download-Daten verfügbar (nicht auf npm oder PyPI) | Quelle |
| Links | Repository Website |
Quellen
- Skill-Datei (SKILL.md)github.com/prisma/orm · Belegt: Offizieller Status10. Nov. 2026
- GitHub-Repositorygithub.com/prisma/orm · Belegt: Herausgeber, Aktivität, Lizenz11. Nov. 2026
- Ordner im Repository (psl-ast-layers)github.com/prisma/orm · Belegt: Enthält Skripte10. Nov. 2026