Review Type Safety
Analyzes text reviews to identify potentially unsafe content like threats, hate speech, or illegal activity.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add review-type-safety npx -- -y @trustedskills/review-type-safety
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"review-type-safety": {
"command": "npx",
"args": [
"-y",
"@trustedskills/review-type-safety"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill analyzes code and identifies potential type safety issues. It can detect incorrect variable assignments, function argument mismatches, and other common errors that could lead to runtime problems. The skill aims to improve code reliability by proactively flagging these concerns during development or automated review processes.
When to use it
- Code Reviews: Integrate this skill into your code review workflow to automatically identify type-related issues before they reach production.
- Automated Testing: Use the skill as part of an automated testing pipeline to catch type errors early in the development cycle.
- Learning & Education: New developers can leverage it to understand and learn about type safety principles within a codebase.
- Refactoring: When refactoring existing code, use this skill to ensure that changes don't introduce new type-related bugs.
Key capabilities
- Type error detection
- Variable assignment analysis
- Function argument validation
Example prompts
- "Review the following Python code for type safety issues: [code snippet]"
- "Analyze this JavaScript function and report any potential type errors: [function definition]"
- "Can you check this Rust code block to ensure correct types are being used?"
Tips & gotchas
The skill's effectiveness depends on the underlying language’s typing system. It may be less effective with dynamically typed languages where type checking is not enforced at compile time.
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.