بنقرة واحدة
spy-run
Compile and run a Sharpy source file or inline source code
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Compile and run a Sharpy source file or inline source code
التثبيت باستخدام 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-run |
| description | Compile and run a Sharpy source file or inline source code |
| argument-hint | <file.spy or inline source> |
Compile and execute Sharpy source. Accepts either a file path or inline source code.
Usage:
/spy-run path/to/file.spy — run a .spy file/spy-run x: int = 42\nprint(x) — run inline source (no temp file management needed by caller)Behavior:
Log location: .claude/tmp/last-spy-run.log
$ARGUMENTS is non-empty..spy AND the file exists on disk. Use it directly.$TMPDIR/sharpy-run-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-run.log.dotnet run --project src/Sharpy.Cli -- run "<source_file>" > .claude/tmp/last-spy-run.log 2>&1 (with dangerouslyDisableSandbox: true)..claude/tmp/last-spy-run.logtail -80 .claude/tmp/last-spy-run.log, then "Full log: .claude/tmp/last-spy-run.log"rm -f $TMPDIR/sharpy-run-temp.spy.