Agent skill
test-package
Run grok test for one or more Datagrok packages against a server host and report results
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/test-package
SKILL.md
Test Package
Run grok test for one or more Datagrok packages and provide a summary of results.
Instructions
-
Parse the user's input to extract:
- One or more package names (required). These are directory names under
public/packages/. --hostvalue (default:localhost)- Use
--csvflag to get csv output - Check if npm install is needed
- Check if package needs to be rebuilt. Compare /dist/*.js timestamp with the most recent timestamp in *.ts or *.js file in the package. If dist folder is newer, use --skip-build
- Any extra
grok testflags (--category,--test,--verbose,--skip-build,--gui,--no-retry,--benchmark,--tag)
- One or more package names (required). These are directory names under
-
For each package, run tests from the package directory using the Bash tool:
cd /c/Repos/Datagrok/public/packages/<PackageName> && node grok test --host <host> --no-retry [extra flags]Use a timeout of 600000ms (10 minutes). Print output to console.
-
After all packages finish, provide a summary table with:
- Package name
- Total passed / failed / skipped counts (parse csv output file test-results.csv)
- List of any failed categories and test names
- Overall verdict: PASSED or FAILED
-
Cleanup csv output file
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?