Rslib Best Practices
Ensures code adheres to rstackjs's recommended best practices, improving maintainability and reducing common errors.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add rslib-best-practices npx -- -y @trustedskills/rslib-best-practices
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"rslib-best-practices": {
"command": "npx",
"args": [
"-y",
"@trustedskills/rslib-best-practices"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill provides guidance and recommendations for utilizing the rslib library effectively. It helps ensure code quality, maintainability, and adherence to best practices within projects leveraging rslib. The skill aims to improve developer productivity by offering readily available solutions and suggestions.
When to use it
- When encountering errors or unexpected behavior while using
rslib. - During code reviews to identify potential improvements in
rslibusage. - For onboarding new developers to a project that utilizes
rslib. - To proactively optimize existing
rslib-based code for better performance and readability.
Key capabilities
- Provides recommendations on common
rslibpatterns. - Offers solutions to frequently encountered issues.
- Suggests best practices for structuring
rslibprojects. - Helps ensure code quality and maintainability.
Example prompts
- "What's the recommended way to handle errors in my
rslib-based application?" - "How can I optimize this
rslibquery for better performance?" - "Can you review this snippet of code using
rsliband suggest improvements?"
Tips & gotchas
This skill assumes a basic understanding of the rslib library. For optimal results, provide specific code snippets or error messages when seeking assistance.
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.