Unit Testing
Automatically generates and executes unit tests for code, ensuring functionality and identifying potential errors quickly.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add unit-testing npx -- -y @trustedskills/unit-testing
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"unit-testing": {
"command": "npx",
"args": [
"-y",
"@trustedskills/unit-testing"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill enables AI agents to execute automated unit tests within the Tencent BlueKing CI (bk-ci) platform. It validates individual components of codebases to ensure functionality and stability before deployment.
When to use it
- Triggering test suites immediately after a code commit in a continuous integration pipeline.
- Verifying that specific logic changes do not break existing features.
- Automating regression checks for microservices managed via BlueKing.
- Generating test reports to track build health over time.
Key capabilities
- Integration with the Tencent BlueKing CI infrastructure.
- Execution of automated unit testing workflows.
- Support for validating code components in enterprise environments.
Example prompts
- "Run the unit tests for the latest commit on the
mainbranch using bk-ci." - "Execute a specific test suite to verify the new authentication module."
- "Check if the current build passes all automated unit checks before merging."
Tips & gotchas
Ensure your repository is properly configured within the BlueKing CI environment before invoking this skill. Access permissions may be required to trigger builds or view test results depending on your organization's settings.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.