From replit-prompts
Generates structured, optimized prompts for Replit Agent from user requirements to build projects accurately with minimal iterations.
npx claudepluginhub sergio-bershadsky/ai --plugin replit-promptsThis skill uses the workspace's default tool permissions.
Transform requirements into optimized prompts for Replit Agent that maximize AI understanding and minimize iterations.
Creates iterative development plans for Replit Agent, breaking projects into phases with tasks, checkpoints, prompts, verification steps, and rollback strategies.
Use this skill when the user asks to "vibe code this", "build this with AI", "help me use Cursor/v0/Bolt to build this", "vibe coding from my PRD", "how do I code this with AI", "turn this spec into code", or wants guidance on using AI coding tools (Cursor, GitHub Copilot, v0, Bolt, Lovable, Claude Artifacts) to prototype or build a feature from a product spec. This is a coaching skill — it helps the PM get the most out of AI coding tools, not write code directly.
Refines vague Claude Code prompts into structured, project-context-aware instructions by scanning package.json, CLAUDE.md, imports, and directory structure.
Share bugs, ideas, or general feedback.
Transform requirements into optimized prompts for Replit Agent that maximize AI understanding and minimize iterations.
Break large goals into smaller, testable steps. Use checkpoints between phases.
Include exact error messages, relevant code snippets, and steps already attempted.
Request tool/library recommendations when unsure about approach.
Refine requests by adjusting wording or adding detail.
Frame as "do this" rather than "don't do that".
Provide relevant context only; avoid overwhelming with unrelated information.
Reduce ambiguity with code snippets, mockups, or reference apps.
Use direct, short sentences. Avoid jargon.
State expected outputs, constraints, data formats, and edge cases.
Outline features, data structures, and user flows before prompting.
When generating prompts for Replit, use this structure:
## Project Overview
[1-2 sentences: What is being built and its core purpose]
## Tech Stack
- Frontend: [specific framework/library]
- Backend: [specific framework/language]
- Database: [specific database]
- Authentication: [specific method]
- Additional: [any other required tools/APIs]
## Core Features
1. [Feature 1]: [specific description with expected behavior]
2. [Feature 2]: [specific description with expected behavior]
3. [Feature 3]: [specific description with expected behavior]
## UI/UX Requirements
- Design style: [modern/minimal/material/etc.]
- Color scheme: [specific colors or "neutral professional"]
- Layout: [sidebar/top-nav/dashboard/etc.]
- Responsive: [yes/no, breakpoints if specific]
## Data Model
[Describe main entities and their relationships]
- Entity1: field1, field2, field3
- Entity2: field1, field2 (relates to Entity1)
## User Flows
1. [Flow 1]: Step A → Step B → Step C → Result
2. [Flow 2]: Step A → Step B → Result
## Constraints
- [Constraint 1: e.g., "Must work offline"]
- [Constraint 2: e.g., "No external API calls except X"]
## Success Criteria
- [ ] [Specific testable criterion 1]
- [ ] [Specific testable criterion 2]
- [ ] [Specific testable criterion 3]
Ask the user about:
If user provides vague input, ask clarifying questions:
Determine from user input or ask about:
Transform gathered information into the structured template above.
Bad prompt transformation:
❌ Bad: "Make a website for my business"
✅ Good: "Create a portfolio website for a freelance photographer with:
- Home page with hero image carousel
- Gallery page with filterable photo categories
- Contact form with email integration
- About page with bio and testimonials
- Tech: React, TailwindCSS, EmailJS for form
- Design: Clean, minimal, lots of whitespace"
Enhance the prompt with:
Show the optimized prompt to the user:
## Replit Agent Prompt
**Optimized for:** [Build Mode / Plan Mode]
**Estimated complexity:** [Low / Medium / High]
---
[Generated prompt content]
---
**Recommendations:**
1. [Tip for using this prompt effectively]
2. [Suggested follow-up prompts after initial build]
Ready to copy to Replit?
Wait for user confirmation or modification requests.
After delivering the prompt, advise on:
## Replit Agent Prompt
**Mode:** Build / Plan
**Complexity:** Low / Medium / High
---
[Structured prompt following template]
---
## Next Steps
1. **Initial Build**: Copy prompt to Replit Agent
2. **After MVP**: [Suggested enhancement prompt]
3. **Testing**: [What to verify after build]
## Checkpoint Strategy
Phase 1: [Description] → Checkpoint
Phase 2: [Description] → Checkpoint
Phase 3: [Description] → Checkpoint
| Issue | Bad Prompt | Good Prompt |
|---|---|---|
| Vague | "Fix my code" | "The login function in auth.js throws 'undefined user' on line 42 when email contains '+'" |
| No scope | "Make a website" | "Create a 3-page portfolio: Home (hero, skills), Projects (grid with filters), Contact (form)" |
| Negative | "Don't make it slow" | "Implement lazy loading for images, paginate lists to 20 items" |
| No detail | "Add animation" | "Fade in hero text on page load over 0.5s, slide in cards from bottom on scroll" |
| Overwhelming | "Build the entire backend" | "Implement user signup/login with JWT and a /api/profile GET endpoint" |
See reference files for detailed patterns:
references/examples.md — Full prompt examples for common app typesreferences/tech-stacks.md — Recommended tech stack combinations