verify

Solid

Verify a competitive programming or LeetCode solution for correctness, edge cases, and performance. Use when asked to "verify my solution", "check my code", "is this solution correct", "test my solution", "review my competitive programming answer", "validate my algorithm", or any solution verification request.

AI & Automation 38 stars 7 forks Updated today MIT

Install

View on GitHub

Quality Score: 86/100

Stars 20%
53
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Solution Verifier Verify competitive programming and LeetCode solutions for correctness through static analysis, automated test case generation, and execution. **CRITICAL: Complete ALL 4 phases. Do not stop after static analysis.** ## Phase 1: Parse Input **Goal:** Extract the problem statement and solution code. Parse `$ARGUMENTS` to extract: 1. **Problem statement** — the full problem description with constraints, I/O format, and examples 2. **Solution code** — the user's Python solution (inline code, file path, or pasted) If both are in `$ARGUMENTS`, separate them. The problem statement typically comes first, followed by the solution code in a code block or after a separator. If the solution is a file path, read it: ``` Read [file_path] ``` If the problem statement is missing, ask for it: ``` AskUserQuestion: question: "Please provide the problem statement for verification. I need it to generate test cases and validate correctness." options: - label: "Paste problem text" description: "Paste the full problem statement with constraints and examples" - label: "Describe the problem" description: "Describe what the problem asks — I'll generate test cases from that" ``` If the solution code is missing, ask for it: ``` AskUserQuestion: question: "Please provide your solution code to verify." options: - label: "Paste code" description: "Paste your Python solution code" - label: "Provide file path" description: "Give the pa...

Details

Author
sequenzia
Repository
sequenzia/agent-alchemy
Created
4 months ago
Last Updated
today
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category