Overview
- Skill Key
- frhn9/code-tester
- Author
- frhn9
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/frhn9/code-tester
- Latest Commit SHA
- 6f009538d3323f70912a4d68f137999aab8ac40d
Build, run, and test code projects for Rust, Go, and Java. Automatically detect project type, run unit tests if available, and report build status. Use after code changes to verify that project builds successfully, unit tests pass if they exist, and application runs without errors. Communicate results back to the requesting agent for fixing and re-testing.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 code-tester 技能。 若已安装,则直接安装 code-tester 技能。
# Code Tester Test code projects to verify builds and tests pass. ## Workflow When asked to test changes: 1. **Detect project type** in specified directory: - Rust: `Cargo.toml` + `src/` directory - Go: `go.mod`, `go.sum`, or `main.go` - Java: `pom.xml` or `build.gradle` / `build.gradle.kts` 2. **Run tests** (only if tests exist): - Skip if no tests found - Run project-specific test commands - Capture test results 3. **Build the project**: - Run build commands - Capture build output and errors 4. **Report results**: - Clear summary of what happened - Test results (if run) - Build status - Any errors encountered ## Communication Protocol When testing for another agent: **Format your report like:** ``` Testing: <directory> Project type: <rust|go|java> Detected tests: <yes|no> === Results === ✓ Tests: <passed/skipped/failed> ✓/✗ Build: <passed/failed> <Relevant error messages if any> ``` **If everything passes:** - Report success clearly - Provide next steps if needed **If something fails:** - Report what failed (tests or build) - Include error logs - Suggest what to fix ## Running Tests Execute the test script: ```bash /root/.openclaw/workspace/skills/code-tester/scripts/test.sh <directory> ``` The script will: - Auto-detect project type - Run tests (if available) - Build the project - Return exit code 0 on success, 1 on failure ## Testing Strategy - **Rust**: `cargo test` → `cargo build` - **Go**: `go test ./...` → `go build` - **Java Maven**: `mvn test` → `mvn compile` - **Java Gradle**: `./gradlew test` → `./gradlew build -x test` Always run from the project directory. The script handles detection automatically.
capt-marbles
Task Router
capncoconut
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay, check marketplace stats, or manage agent credentials. Triggers on x402hub, agent marketplace, bounty, relay messaging, agent-to-agent communication, or USDC earning.
capevace
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
captchasco
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.
carol-gutianle
name: modelready description: Start using a local or Hugging Face model instantly, directly from chat. metadata: {"openclaw":{"requires":{"bins": "bash", "curl" }, "env": "URL" }}
canbirlik
Controls Wiz smart bulbs (turn on/off, RGB colors, disco mode) via local WiFi.