inspect-ast
When user or agent need to construct a swift AST, see how the Rust frontend parses a construct — kind, text, line, resolved type, and decoded modifiers.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
When user or agent need to construct a swift AST, see how the Rust frontend parses a construct — kind, text, line, resolved type, and decoded modifiers.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Autonomous developer iteration loop driven by a thin orchestrator that dispatches coder/reviewer/diagnoser subagents. Pick a mode — fix (make tests green), feature (implement one or more features), optimize (push a metric), debug (root-cause a failure), ab-test (race candidate implementations), or prototype (explore design variants) — define a verification signal, confirm the plan with the user, then loop implement → verify → review → commit with all state kept in loop-log.md. Use when the user states a concrete engineering goal or says "keep iterating", "loop on this", "autoloop", or "iterate until fixed".
Break a plan, spec, or PRD into independently-grabbable issues on the project issue tracker using tracer-bullet vertical slices.
Turn the current conversation into a PRD and publish it to the project issue tracker — no interview, just synthesis of what you've already discussed.
Move issues and external PRs through a state machine of triage roles — categorise, verify, grill if needed, and write agent-ready briefs.
Keeps the tswift project website in sync with runtime implementation changes — coverage numbers, feature tables, WASM binary, and content. Use when features are implemented, coverage changes, the runtime is updated, or the user asks to update/sync/refresh the website.
Spawn a pi subagent to handle a specific task in a separate process. Use when the user asks to delegate work to a subagent, run a task in parallel, or says "spawn a subagent", "use a subagent", or "run this with pi".
| name | inspect-ast |
| description | When user or agent need to construct a swift AST, see how the Rust frontend parses a construct — kind, text, line, resolved type, and decoded modifiers. |
To Inspecting the AST: run tswift dump <file.swift> (or --json) to see how the Rust frontend parses a construct — kind, text, line, resolved type, and decoded modifiers. Don't hand-write AST walkers. Pin parse shapes with tests/fixtures/ast/*.swift + *.ast snapshots.