Compare code implementations for equivalence, similarity, or differences with accurate classification.
Analyzes two code snippets for behavioral, semantic, or syntactic equivalence. Triggers when comparing implementations for refactoring, bug fixes, API compatibility, or detecting plagiarism.
/plugin marketplace add jtsylve/claude-experiments/plugin install meta-prompt@claude-experimentsThis skill inherits all available tools. When active, it can use any tool Claude has access to.
Compare code implementations for equivalence, similarity, or differences with accurate classification.
| Dimension | Question |
|---|---|
| Behavioral | Same outputs for same inputs? Same side effects? |
| Semantic | Same intent/purpose? Same business logic? |
| Syntactic | Similar names, structure, formatting? |
| Algorithmic | Same approach? Same complexity (Big O)? |
| Style | Functional vs imperative? Recursive vs iterative? |
| Scenario | Focus |
|---|---|
| Refactoring | Behavioral equivalence (must match) |
| Bug fix | Specific case differs, normal matches |
| API compat | Signature, returns, errors, side effects |
| Plagiarism | Structure, naming, logic patterns |
Start with [YES] or [NO] immediately.
Then provide justification with specific examples from both items.
[YES] Behaviorally equivalent
Both functions:
1. Return same results for all inputs
2. Handle null by returning empty array
3. Use same filtering logic
The refactoring improves readability (modern array methods) without changing behavior.
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create original visual designs, never copying existing artists' work to avoid copyright violations.