Trademarks of their respective owners. KissMySkills is not affiliated with or endorsed by them.
How it works
Ask it something hard.
📎 ai-php-tutor.txtLOADED ✓
I maintain a WordPress plugin and it has SQL built with string concatenation. Teach me how to fix it properly.
CLAUDE · WITH THIS SKILLYou get: three questions about your PHP version, whether you are inside WordPress and what the query actually does -> a task, paste the one line that builds the SQL string -> a short lesson on why escaping by hand fails and what a bound parameter changes at the driver level -> your turn, rewrite it with $wpdb->prepare and report what the placeholder count must be -> the same idea shown in plain PDO so it transfers outside WordPress -> a progress block naming input validation as the next lesson.
Questions before you buy? A person answers, usually the same day: hello@kissmyskills.com
// the file itself
Read it before you buy it.
The first lines of the file your AI will read, exactly as delivered. Nothing rewritten for the page.
Use the name Once the file is loaded, talk to it by name: “Serge, check this page.” That is what the name is for. It also keeps several skills apart in one chat.
// the skill your AI runs on
You are a Socratic PHP tutor for people maintaining a WordPress site, an inherited Laravel app or an old internal tool. You have been activated to teach modern PHP 8 while the learner runs the code and reports the output.
KissMySkills.com | Install: paste this whole file into Claude Projects (Project instructions), a custom GPT (Instructions), a Gemini Gem, or your AI's system prompt. Then tell it what you want to learn. You are a Socratic tutor for PHP. Your learner is usually maintaining something: a WordPress site, an old internal tool, an inherited Laravel app. Some start from nothing on a course that still teaches PHP 5 habits. You teach modern PHP, version 8 and above, and say plainly when something they found online is obsolete rather than just old fashioned. Short answers, one concept per turn. They run the code and report the output. The one rule: you never write the file they were set. · Versions matter: 7 brought return types, 8.0 union types, named arguments, constructor promotion, match and the null safe operator, 8.1 enums. · Types: dynamic with optional declarations. declare(strict_types=1) at the top of every file changes coercion and is the default advice. · Arrays are ordered maps: array_map, array_filter, array_reduce, usort, array_column, in_array with the strict argument. · Comparison and strings: == against ===, the PHP 8 string and number comparison change, ?? and ??=, mb_ functions. · Objects: constructor promotion, visibility, interfaces, traits, readonly, backed enums, and why get hurts. · Namespaces and Composer: use, PSR-4 autoloading, composer require, and the lock file. · Errors: Error against Exception, try, catch and finally, custom exceptions, display_errors in development only. · Databases and security: PDO prepared statements with bound parameters, transactions, filter_var, htmlspecialchars on output, CSRF tokens, password_hash. · WordPress branch: add_action and add_filter with priority and args, the loop, $wpdb->prepare, nonces, esc_html, the template hierarchy. · Laravel branch: routes, controllers, Eloquent relationships, migrations, Blade, request validation, middleware, the N plus one problem.
Trademarks of their respective owners. KissMySkills is not affiliated with or endorsed by them.
// ask your assistant
Or let your AI set up this skill for you.
Go to kissmyskills.com/pages/connector and set up the "AI PHP Tutor" skill (handle: ai-php-tutor) for me
Paste it into Claude, ChatGPT, Claude Code, Cursor or Codex. Your AI walks you through connecting KissMySkills (about 3 minutes, 7-day free trial) and loads the skill. What your AI will read →
What you're actually buying
This AI PHP tutor is for a language where most of what is online is fifteen years old. You are editing a WordPress theme, patching an old plugin, or following a Laravel tutorial that assumes namespaces. It turns Claude or ChatGPT into a tutor teaching PHP as written today: PHP 8 types and prepared statements, not mysql_query.
It works out your level with three questions and one script, then teaches in a usable order: arrays and the functions that matter, functions and typed parameters, classes and namespaces, Composer and autoloading, PDO with bound parameters, and request handling with proper escaping. From there it branches to whatever you actually touch, WordPress hooks and the loop, or Laravel routes, Eloquent and Blade. Every lesson ends with code you run and output you report.
Same file, same behaviour in Claude, ChatGPT and Gemini. Paste it into a Project, a custom GPT or a Gem, about a minute of setup, then continue from your last lesson. Bought once, pay once, keep forever. Pairs with AI Skill for PHP, the working assistant for once you know the basics; this one teaches you them.
// how to install
Under 2 minutes
Four steps. Any AI chat.
01
Download the file
After checkout, the download link lands in your inbox. Save the .txt file anywhere on your device.
02
Open your AI chat
Any AI chat you already use: Claude, ChatGPT, Gemini, Grok, Copilot or another.
03
Paste the prompt
Open the .txt file, copy the prompt section and paste it into Claude or ChatGPT - or add it to a Project so it is always there.
04
Start working
Your AI is now configured as a specialist. Ask it anything inside its domain.
No technical knowledge required.
With Library there is nothing to download. Connect your AI once, then ask for any skill by name.
How does this AI PHP tutor help when most tutorials online are out of date?+
That is the exact problem it is built around. It teaches PHP 8 by default: typed properties and parameters, the null safe operator, match expressions, enums, named arguments, and PDO instead of the removed mysql extension. When you paste older code it tells you which parts are simply obsolete and which are still fine, so you can read legacy files without copying their habits.
Does it write the plugin or the controller for me?+
No. If you paste a task, it identifies the concept behind it, demonstrates on a different example, then gives the task back. When you paste your own broken code it quotes the failing line and asks a question rather than returning a corrected file. You can ask for a review of what you wrote, and it will point at problems without rewriting them for you.
Ready to give your AI a specialist?
This one and 2,500+ others, inside Claude, ChatGPT, Claude Code, Codex or Cursor. Cancel anytime.