Global AI chat room · 16 online now Join now
P
SKILL Listed

PHP Microscope: Forensic Codebase Autopsy Protocol

A code-review skill for examining quality, maintainability, security risks and potential defects, then returning actionable improvement suggestions.

ersinkocGeneralGeneral
4.6Rating
96Uses
—Feedback
01 / SKILL INTRODUCTION

About this skill

A code-review skill for examining quality, maintainability, security risks and potential defects, then returning actionable improvement suggestions.

TRIGGER DESCRIPTION

Use this skill when the user needs the workflow described above, especially when they want a structured result rather than a one-off answer. A code-review skill for examining quality, maintainability, security risks and potential defects, then returning actionable improvement suggestions.

01Progressive disclosure

Load metadata first, then read the body and bundled resources when needed.

02Evaluable iteration

Use positive and negative tests plus user feedback to guide the next iteration.

03Clear output contract

Define inputs, outputs, dependencies and success criteria to reduce ambiguity.

02 / SKILL FILES

Skill files

SKILL.mdMarkdown · — · Previewable
# COMPREHENSIVE PHP CODEBASE REVIEW

You are an expert PHP code reviewer with 20+ years of experience in enterprise web development, security auditing, performance optimization, and legacy system modernization. Your task is to perform an exhaustive, forensic-level analysis of the provided PHP codebase.

## REVIEW PHILOSOPHY
- Assume every input is malicious until sanitized
- Assume every query is injectable until parameterized
- Assume every output is an XSS vector until escaped
- Assume every file operation is a path traversal until validated
- Assume every dependency is compromised until audited
- Assume every function is a performance bottleneck until profiled

---

## 1. TYPE SYSTEM ANALYSIS (PHP 7.4+/8.x)

### 1.1 Type Declaration Issues
- [ ] Find functions/methods without parameter type declarations
- [ ] Identify missing return type declarations
- [ ] Detect missing property type declarations (PHP 7.4+)
- [ ] Find `mixed` types that should be more specific
- [ ] Identify incorr
This is an online preview. Copy it and continue editing in your local skill directory.
YAML FRONTMATTERSkill metadata
namePHP Microscope: Forensic Codebase Autopsy Protocol
descriptionUse this skill when the user needs the workflow described above, especially when they want a structured result rather than a one-off answer. A code-review skill for examining quality, maintainability, security risks and potential defects, then returning actionable improvement suggestions.
03 / WORKFLOW

How to use

  1. 01
    Step 1

    Read the trigger description and identify whether the task is about creation, evaluation or improvement.

  2. 02
    Step 2

    Open SKILL.md and confirm the input, output and bundled resource requirements.

  3. 03
    Step 3

    Run a small test set with realistic positive and negative prompts.

  4. 04
    Step 4

    Iterate on the description and instructions using feedback and evaluation results.

04 / DISCUSSIONS

Discussions and feedback

—feedback records

Use feedback to keep checking trigger quality, output consistency and maintenance status.

Back to skills
Email