一键导入
run-tests
Run Sharpy tests with smart output - shows summary on success, last 80 lines on failure with full log saved
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run Sharpy tests with smart output - shows summary on success, last 80 lines on failure with full log saved
用 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 | run-tests |
| description | Run Sharpy tests with smart output - shows summary on success, last 80 lines on failure with full log saved |
| argument-hint | [filter] |
Run Sharpy tests with optional filter. Output is smart-truncated to avoid token overload while preserving full logs for investigation.
Usage: /run-tests [filter] where filter can be:
Lexer, Parser, Semantic, Codegen - component namesIntegration, FileBased - test categoriesBehavior:
Log location: .claude/tmp/last-test-run.log
To investigate failures deeper:
/head -200 .claude/tmp/last-test-run.log
/grep "Exception" .claude/tmp/last-test-run.log
mkdir -p .claude/tmp to ensure log directory existsrm -f .claude/tmp/last-test-run.log.claude/scripts/dotnet-serialized build sharpy.sln --nologo -v q >> .claude/tmp/last-test-run.log 2>&1. If build fails, print "=== BUILD FAILED — cannot run tests ===" then tail -30 .claude/tmp/last-test-run.log and stop.$ARGUMENTS is non-empty, run: .claude/scripts/dotnet-serialized test --filter "FullyQualifiedName~$ARGUMENTS&Category!=Benchmark" --no-build --logger "console;verbosity=normal" >> .claude/tmp/last-test-run.log 2>&1.claude/scripts/dotnet-serialized test --filter "Category!=Benchmark" --no-build --logger "console;verbosity=normal" >> .claude/tmp/last-test-run.log 2>&1tail -20 .claude/tmp/last-test-run.logtail -80 .claude/tmp/last-test-run.log, then echo "Full log: .claude/tmp/last-test-run.log"