بنقرة واحدة
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.