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.
O que a skill ensina
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.
O que faz
- 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
Sobre
- Publicador
- Prisma
- Ferramenta
- Prisma
Instalação
O projeto não documenta passos de instalação que tenhamos conseguido confirmar. Veja as instruções do próprio projeto
Servidores MCP e skills podem executar código no seu computador e agir sobre os seus dados. Revise o código-fonte antes de instalar.
Detalhes
| Fato | Valor | Fonte |
|---|---|---|
| Tipo | Skill | |
| Ferramenta | Prisma | |
| Publicador | Prisma | fonte |
| Status oficial | Oficialin Prisma's own repository; a contributor skill for Prisma's code, not for Prisma users | fonte |
| Exige chave de API ou login | Não informado na documentação | |
| Inclui scripts | Não | fonte |
| Plataformas | Não informado na documentação | |
| Clientes de IA | Não informado na documentação | |
| Licença | Apache-2.0 | fonte |
| Preço | Não informado na documentação | |
| Atividade | Último commit em 11 de nov. de 202647.664 estrelas no GitHubDados de download indisponíveis (não está no npm nem no PyPI) | fonte |
| Links | Repositório Site |
Fontes
- Arquivo da skill (SKILL.md)github.com/prisma/orm · Comprova: Status oficial10 de nov. de 2026
- Repositório no GitHubgithub.com/prisma/orm · Comprova: Publicador, Atividade, Licença11 de nov. de 2026
- Pasta no repositório (psl-ast-layers)github.com/prisma/orm · Comprova: Inclui scripts10 de nov. de 2026