Skip to main content

parse

Parse SQL and inspect the AST using syntaqlite. Use when the user wants to see the parse tree, debug SQL syntax, or understand how a query is structured.

ソース情報

リポジトリ
LalitMaganti/syntaqlite
ソースの最終更新活動
2026年8月15日 16:28
検出された SKILL.md の言語
英語
スター
823
フォーク
16

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
name
parse
description
Parse SQL and inspect the AST using syntaqlite. Use when the user wants to see the parse tree, debug SQL syntax, or understand how a query is structured.
# Parse SQL Parse SQLite SQL and display the abstract syntax tree (AST) using the syntaqlite CLI. ## Usage ```bash # Print AST from a file syntaqlite parse query.sql # Print AST from stdin echo "SELECT 1 + 2 FROM t" | syntaqlite parse # Parse an inline expression syntaqlite parse -e "SELECT 1" # Output as JSON syntaqlite parse -o json query.sql ``` ## Options - `-e, --expression <SQL>`: parse an inline SQL expression instead of files - `-o, --output <FORMAT>`: output format (default: text) ## Output modes - `text`: Human-readable indented AST tree (default) - `json`: Machine-readable JSON AST ## Notes - Use the default `text` output for quick inspection and `json` for programmatic use.
GitHubで見る