test-skill
About
This test skill validates format conversion between Claude Skills and Cursor Rules, providing a reference implementation for end-to-end testing. It includes core tools like Read, Write, Edit, and Bash to support a structured development workflow. Use it to verify conversion processes and ensure compatibility across platforms.
Quick Install
Claude Code
Recommended/plugin add https://github.com/pr-pm/prpmgit clone https://github.com/pr-pm/prpm.git ~/.claude/skills/test-skillCopy and paste this command in Claude Code to install this skill
Documentation
Test Skill
Overview
This is a comprehensive test skill for validating format conversion between Claude Skills and Cursor Rules.
Core Principles
- Write clean, maintainable code
- Test thoroughly before deploying
- Document your work clearly
- Follow established patterns
Workflow
-
Understand Requirements
- Read the task description carefully
- Identify all constraints and dependencies
- Ask clarifying questions if needed
-
Plan Implementation
- Break down the task into steps
- Identify potential challenges
- Consider edge cases
-
Write Code
- Follow coding standards
- Keep functions small and focused
- Use meaningful variable names
-
Test Thoroughly
- Write unit tests
- Run integration tests
- Verify edge cases
-
Document Solution
- Add code comments
- Update README if needed
- Document any gotchas
Best Practices
- Version Control: Commit often with clear messages
- Code Review: Always get feedback before merging
- Refactoring: Improve code structure continuously
- Learning: Stay updated with best practices
Integration
This skill works well with:
- Systematic debugging approaches
- Test-driven development
- Code review practices
Examples
Good Code Pattern
function calculateTotal(items: Item[]): number {
return items.reduce((sum, item) => sum + item.price, 0);
}
Bad Code Pattern (Avoid)
function calc(x) {
let t = 0;
for (let i = 0; i < x.length; i++) {
t = t + x[i].p;
}
return t;
}
Troubleshooting
-
Issue: Code not working
- Solution: Check syntax errors, verify inputs
-
Issue: Tests failing
- Solution: Review test assertions, check mock data
-
Issue: Performance problems
- Solution: Profile code, optimize bottlenecks
GitHub Repository
Related Skills
evaluating-llms-harness
TestingThis Claude Skill runs the lm-evaluation-harness to benchmark LLMs across 60+ standardized academic tasks like MMLU and GSM8K. It's designed for developers to compare model quality, track training progress, or report academic results. The tool supports various backends including HuggingFace and vLLM models.
webapp-testing
TestingThis Claude Skill provides a Playwright-based toolkit for testing local web applications through Python scripts. It enables frontend verification, UI debugging, screenshot capture, and log viewing while managing server lifecycles. Use it for browser automation tasks but run scripts directly rather than reading their source code to avoid context pollution.
finishing-a-development-branch
TestingThis skill helps developers complete finished work by verifying tests pass and then presenting structured integration options. It guides the workflow for merging, creating PRs, or cleaning up branches after implementation is done. Use it when your code is ready and tested to systematically finalize the development process.
go-test
MetaThe go-test skill provides expertise in Go's standard testing package and best practices. It helps developers implement table-driven tests, subtests, benchmarks, and coverage strategies while following Go conventions. Use it when writing test files, creating mocks, detecting race conditions, or organizing integration tests in Go projects.
