Back to Skills

test-skill

pr-pm
Updated 3 days ago
23 views
62
9
62
View on GitHub
Metatesting

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 CommandRecommended
/plugin add https://github.com/pr-pm/prpm
Git CloneAlternative
git clone https://github.com/pr-pm/prpm.git ~/.claude/skills/test-skill

Copy 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

  1. Understand Requirements

    • Read the task description carefully
    • Identify all constraints and dependencies
    • Ask clarifying questions if needed
  2. Plan Implementation

    • Break down the task into steps
    • Identify potential challenges
    • Consider edge cases
  3. Write Code

    • Follow coding standards
    • Keep functions small and focused
    • Use meaningful variable names
  4. Test Thoroughly

    • Write unit tests
    • Run integration tests
    • Verify edge cases
  5. 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

pr-pm/prpm
Path: tests/e2e/fixtures/conversion-test/.claude/skills/test-skill.md
claudeclaude-codecursorcursor-ai-editcursorrulespackage-manager

Related Skills

content-collections

Meta

This skill provides a production-tested setup for Content Collections, a TypeScript-first tool that transforms Markdown/MDX files into type-safe data collections with Zod validation. Use it when building blogs, documentation sites, or content-heavy Vite + React applications to ensure type safety and automatic content validation. It covers everything from Vite plugin configuration and MDX compilation to deployment optimization and schema validation.

View skill

evaluating-llms-harness

Testing

This 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.

View skill

webapp-testing

Testing

This 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.

View skill

finishing-a-development-branch

Testing

This 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.

View skill