paper-test

Trace code execution line-by-line with concrete inputs to identify bugs.

32|7|Updated Dec 6, 2025
One-click install
npx skills add https://github.com/camoa/claude-skills --skill paper-test
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: paper-test
Source: https://github.com/camoa/claude-skills/tree/main/code-paper-test/skills/paper-test
Command: npx skills add https://github.com/camoa/claude-skills --skill paper-test

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you find bugs, logic errors, and edge cases in code or configurations by mentally executing them line-by-line, without needing to run the code.

Core Features & Use Cases

  • Systematic Debugging: Trace code execution with concrete values to identify flaws.
  • Edge Case Discovery: Proactively find boundary issues and error conditions.
  • AI Code Auditing: Verify AI-generated code for hallucinations and incorrect assumptions.
  • Use Case: You have a complex PHP function that's not behaving as expected. Instead of running it, you ask the AI to "paper test this function with inputs X and Y" to trace the logic and pinpoint the exact line causing the issue.

Quick Start

Use the paper-test skill to trace the execution of the provided PHP code snippet with the given input values.

Frequently Asked Questions about paper-test

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I debug code logic errors without running the application?

Debug logic errors without running the application by performing a line-by-line logical trace of code using concrete inputs to simulate execution flow. This method identifies bugs and contract violations by validating execution paths statically without needing a runtime environment.

What is the best way to audit AI-generated code for hallucinations?

Audit AI-generated code for hallucinations by simulating execution flow line-by-line with concrete inputs to verify logic and validate external dependencies. This process proactively discovers incorrect assumptions and edge cases before deployment without executing the code.

How do I find edge cases in code before deployment?

Find edge cases in code before deployment by systematically tracing execution with specific input values to identify boundary issues and error conditions. This simulates runtime behavior to proactively expose hidden flaws and contract violations without executing the code.

Can I debug PHP functions without a local server environment?

Yes, you can debug PHP functions without a local server by tracing the logic line-by-line with concrete inputs to simulate execution. This identifies exact lines causing issues and validates behavior without needing to run the code.

Does static code tracing work for validating external dependencies?

Static code tracing works for validating external dependencies by simulating the execution flow and checking contract violations against expected inputs. It verifies dependency behavior and identifies integration flaws without needing to run the actual code.