원클릭으로
spy-emit
Emit compiler output (csharp, ast, tokens, diagnostics) from a .spy file or inline source
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Emit compiler output (csharp, ast, tokens, diagnostics) from a .spy file or inline source
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Suggest and apply a semver version bump based on commits since the last tag
Push current branch to remote origin
Scaffold a new Sharpy.Stdlib module (spy-sourced or handwritten C#) with all required files, conventions, docs, and tests
Implement a plan with a coordinated agent team
Run compiler or cross-language benchmarks and compare results
Regenerate C# snapshot tests and spy stdlib after intentional codegen changes
| name | spy-emit |
| description | Emit compiler output (csharp, ast, tokens, diagnostics) from a .spy file or inline source |
| argument-hint | <mode> <file.spy or inline source> |
Emit compiler output from Sharpy source. Supports all emit modes and both file paths and inline source code.
Usage:
/spy-emit csharp path/to/file.spy — emit generated C#/spy-emit ast path/to/file.spy — emit parsed AST/spy-emit tokens path/to/file.spy — emit lexer tokens/spy-emit diagnostics path/to/file.spy — emit compiler diagnosticsInline source (no file needed — avoids bash escaping issues):
/spy-emit csharp x: int = 42\nprint(x)Behavior:
Log location: .claude/tmp/last-spy-emit.log
$ARGUMENTS to extract the mode (first word: csharp, ast, tokens, or diagnostics) and the remainder as the source argument..spy AND the file exists on disk. Use it directly.$TMPDIR/sharpy-emit-temp.spy. Do NOT use bash echo/heredoc — always use the Write tool to avoid shell escaping issues with #, backticks, and other special characters.mkdir -p .claude/tmp to ensure log directory exists.rm -f .claude/tmp/last-spy-emit.log.dotnet run --project src/Sharpy.Cli -- emit <mode> "<source_file>" > .claude/tmp/last-spy-emit.log 2>&1 (with dangerouslyDisableSandbox: true).tail -100 .claude/tmp/last-spy-emit.log, then "Full output: .claude/tmp/last-spy-emit.log"tail -80 .claude/tmp/last-spy-emit.log, then "Full log: .claude/tmp/last-spy-emit.log"rm -f $TMPDIR/sharpy-emit-temp.spy.