replit-claude-code-prompting
Installation
SKILL.md
Replit Claude Code Prompting Skill
Transform vague coding requests into effective Claude Code prompts optimized for Replit environments.
Core Principle: Specificity Drives Success
Claude Code's success rate improves dramatically with specific instructions. Vague prompts lead to misaligned implementations and wasted iterations.
Transform vague → specific:
| Vague (Poor) | Specific (Good) |
|---|---|
| "add user auth" | "Add email/password authentication using Passport.js with bcrypt for password hashing. Create login/register routes, session middleware, and protect the /dashboard route. Store users in the existing PostgreSQL database." |
| "fix the bug" | "The form submission on /contact throws a 500 error when the email field is empty. Add server-side validation for required fields and return a 400 with specific error messages." |
| "make it look better" | "Update the landing page to match this design: [image]. Use the existing Tailwind classes. The hero should be full-viewport height with the gradient background from our design system." |
| "add tests" | "Write integration tests for the user registration flow covering: successful registration, duplicate email rejection, weak password rejection, and missing required fields. Use Jest with Supertest." |