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.
スキルの内容
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.
できること
- 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
概要
- 公開元
- Prisma
- ツール
- Prisma
インストール
プロジェクトのドキュメントに、確認できるインストール手順がありません。 プロジェクトの手順を見る
MCPサーバーやスキルは、お使いのコンピューターでコードを実行したり、データを操作したりできます。インストールする前にソースを確認してください。
詳細
| 項目 | 内容 | 出典 |
|---|---|---|
| 種類 | スキル | |
| ツール | Prisma | |
| 公開元 | Prisma | 出典 |
| 公式かどうか | 公式in Prisma's own repository; a contributor skill for Prisma's code, not for Prisma users | 出典 |
| APIキーまたはサインインが必要 | ドキュメントに記載なし | |
| スクリプトを含む | いいえ | 出典 |
| プラットフォーム | ドキュメントに記載なし | |
| AIクライアント | ドキュメントに記載なし | |
| ライセンス | Apache-2.0 | 出典 |
| 料金 | ドキュメントに記載なし | |
| 活動状況 | 最終コミット 2026年11月11日GitHubスター 47,664ダウンロード数のデータなし(npm・PyPIで未公開) | 出典 |
| リンク | リポジトリ Webサイト |
出典
- スキルファイル(SKILL.md)github.com/prisma/orm · 根拠となる項目:公式かどうか2026年11月10日
- GitHubリポジトリgithub.com/prisma/orm · 根拠となる項目:公開元, 活動状況, ライセンス2026年11月11日
- リポジトリ内のフォルダ(psl-ast-layers)github.com/prisma/orm · 根拠となる項目:スクリプトを含む2026年11月10日