LogoAI Practice Knowledge Base
LogoAI Practice Knowledge Base
Homepage
Prompt to Product

Part 1: Foundation

What is Vibe CodingWhy AI ProgrammingSolo Founder MindsetIndie Hacker Tailwinds in the AI Era

Part 2: Discovery

Google Trends Demand MiningNew-Word StrategyLong-Tail Mining & One-Keyword-One-SiteReddit/X Pain-Point MiningProduct Hunt Competitive ResearchMVP Definition & Boundaries

Part 3: Tooling

Tool SelectionMCP Complete GuidePlaywright Browser AutomationAI Coding Practical Tips

Part 4: Methodology

From Vibe Coding to Spec CodingOpenSpec Hands-on GuideMBRY Prompt FrameworkAI Is Not a Chat Box

Part 5: Prompts

Prompt ArsenalComplete AI Coding Rules Guide

Part 6: Launch

Budget-Friendly Tech StackOn-Page SEO BasicsLink Building & Directory Submission

Part 7: Monetization

Stripe & International PaymentsPricing StrategyThe 80/20 Principle

Part 8: Marketing

Social Media & Build In PublicCold Start 100 UsersEmail List Newsletter

Part 9: Pitfalls

Anti-Patterns Guide
AI Self-Growth System

Part 0: The Laboratory

The Laboratory: Environment Setup

Part 1: Mindset - Understanding Compound Growth

What Is an AI Self-Growth SystemLinear vs Compounding GrowthFlywheel Effect ExplainedMaxwell's Demon Philosophy

Part 2: Engine - Four Core Modules

Content FactoryAutomated DistributionData Monitoring SystemFeedback Loop: System Self-Evolution

Part 3: SEO Factory - Traffic Compounding

pSEO Basics and PrinciplesKeyword Matrix DesignDrip Release StrategyJust-in-Time Release (JIT)Internal Linking AutomationSite Matrix and Fingerprint Isolation

Part 4: Social Leverage - Interception and Downscaling

Social Listening SystemHot Topic TransformerAuto-Reply InterceptorContent Format Arbitrage

Part 5: Viral Growth - User-Powered Distribution

Viral Product DesignShareable Result PatternLow-Friction Conversion DesignGamified Sharing Mechanism

Part 6: Knowledge Arbitrage - Becoming the Authority

Information Gap ArbitrageAggregation as a ServiceTrend Prediction EngineData Moat

Part 7: Portfolio Strategy - Scaling Systems

Portfolio StrategyUnified PassportCross-Promotion EngineAsset Reuse Engine

Part 8: Automation Endgame

Automation EndgameMonetization StackBuild to SellNext S-Curve

Part 9: Case Studies

Case Study: SEO Factory in PracticeCase Study: Viral Tool in PracticeCase Study: Matrix in Practice

Part 10: Human Advantage

Human AdvantageDark ForestFinal Manifesto
Counterintuitive Facts反直觉事实:终极选题规划 (No.068-100)

Writing Protocol

Canonical PromptArticle Template

Sample Articles

Counterintuitive Facts (1): How Do You Prove You're Not a Brain That Just Popped Into Existence From the Void?Counterintuitive Facts (2): Why Are All the 'Good Ones' Never on the Market?Counterintuitive Facts (3): Rules You Don't Understand Were Often Paid for in CorpsesCounterintuitive Facts (4): Why Do Elites Who Advocate 'Open Marriage' Stay Faithful Themselves?Counterintuitive Facts (5): Your Anger Is a Parasite Reproducing in Someone Else's BrainCounterintuitive Facts (6): Why Do You Prefer Fake Things? Because Real Things Aren't Stimulating Enough AnymoreCounterintuitive Facts (7): Why Does a Gazelle Stop to Jump Up and Down When It Sees a Lion, Instead of Running?Counterintuitive Facts (8): Most of Humanity's Greatest Achievements Are Evolutionary 'Waste'Counterintuitive Facts (9): 'For the Good of the Group' Is the World's Biggest LieCounterintuitive Facts (10): You're Sitting in an Office, But Your Body Thinks You're Fleeing FamineCounterintuitive Facts (11): Why Is the Most Rational Strategy at the Negotiating Table to Make Your Opponent Think You're Insane?Counterintuitive Facts (12): Why Would a Group of Smart, Good People Collectively Walk Into Disaster?Counterintuitive Facts (13): 'Everyone Knows' and 'Everyone Knows That Everyone Knows' Are Completely Different ThingsCounterintuitive Facts (14): How Did Kindness Survive in This Cold Universe?Counterintuitive Facts (15): Why Is Everyone Richer But More Anxious?Counterintuitive Facts (16): The Most Effective Threat Is a One Time Thing: You Only Get One ChanceCounterintuitive Facts (17): Why Would You Rather Lose Money Yourself Just to Make the Person Who Earned More Suffer?Counterintuitive Facts (18): Why Is More Expensive Waste Paper Worth More?Counterintuitive Facts (19): You Think the Universe Is Perfect Only Because You Haven't Died YetCounterintuitive Facts (20): Stupidity Is More Dangerous Than Evil Because Stupidity Cannot Be RefutedCounterintuitive Facts (21): If He Doesn't Pay for His Mistakes, His Advice Is GarbageCounterintuitive Facts (22): Why Does the Boss Always Promote the Stupidest Person?Counterintuitive Facts (23): Why Do Experts Lead the Persecution of Those Who Tell the Truth?Counterintuitive Facts (24): The Better Things Get, the Closer You Are to DeathCounterintuitive Facts (25): Why Do Dictators Who Ruin Their Countries the Most Often Live the Longest?Counterintuitive Facts (26): Making Money and Creating Wealth Are Completely Different ThingsCounterintuitive Facts (27): Free Things Are Often the Most ExpensiveCounterintuitive Facts (28): Why Do Smart People Also Go Down Dead End Roads?Counterintuitive Facts (29): Even If You're an All Around Genius, You Still Need Someone Who's 'Useless'Counterintuitive Facts (30): Why Is the Seat Next to You Half the Price of Your Ticket?Counterintuitive Facts (31): Why Is Effort Meaningless?Counterintuitive Facts (32): Why Do the Rich Get Richer and the Poor Get Poorer?Counterintuitive Facts (33): Why Does a Group of Smart People Become One Idiot?Counterintuitive Facts (34): Why Does a Consumer's Sneeze Cause a Factory Earthquake?Counterintuitive Facts (35): Why Are Keyboard Letters Arranged Randomly?Counterintuitive Facts (36): The Demon Everyone Is FeedingCounterintuitive Facts (37): Why Does Every Great Organization Eventually Become a Zombie?Counterintuitive Facts (38): The Emperor's New Clothes Happens Around You Every DayCounterintuitive Facts (39): Why Does Zuckerberg Dress Like a Computer Repair Guy?Counterintuitive Facts (40): When You Measure Something, You Destroy ItCounterintuitive Facts (41): How to Turn Lies Into Truth?Counterintuitive Facts (42): You Live in a Map Without TruthCounterintuitive Facts (43): You Have No Idea What You Actually WantCounterintuitive Facts (44): Why You Should Never Trust 'Average Returns'Counterintuitive Facts (45): The Older Something Is, the Less Likely It Is to DieCounterintuitive Facts (46): Why Does Your Room Always Get Messy on Its Own?Counterintuitive Facts (47): The Demon Who Died But Is Still Charging YouCounterintuitive Facts (48): Why Isn't Tomorrow's Sunrise News?
AI Wealth Truth

Chapter 1: The Hidden Physics of Wealth Distribution

AI Wealth Truth (01): Why Wealth Inequality Follows the Second Law of ThermodynamicsAI Wealth Truth (02): Why Can Randomness Create Extreme Inequality?AI Wealth Truth (03): Why 'Fair' Markets Make Inequality WorseAI Wealth Truth (04): Why the ZIP Code You Grow Up In Predicts Your Income Better Than IQAI Wealth Truth (05): Why the Role of Luck Is Systematically Underestimated by 90%AI Wealth Truth (06): Why 'Equal Opportunity' Is Mathematically ImpossibleAI Wealth Truth (07): Why the Poor's 'Irrational' Decisions Can Be the Optimal ChoiceAI Wealth Truth (08): Why the 'Middle Class' Is a Postwar Historical AnomalyAI Wealth Truth (09): Why Economic Growth Has Nothing to Do With Your Wage GrowthAI Wealth Truth (10): Why Technological Progress Makes Ordinary People PoorerAI Wealth Truth (11): Why Trickle-Down Economics Never WorkedAI Wealth Truth (12): Why Inflation Is a Hidden Wealth TransferAI Wealth Truth (13): Why Rising Housing Prices Make Society PoorerAI Wealth Truth (14): Why Financialization Shrinks the Real EconomyAI Wealth Truth (15): Why You Will Never 'Beat the Market'

Chapter 2: How Your Brain Makes You Poor

AI Wealth Truth (16): Why Your Brain Was Not Designed for Personal FinanceAI Wealth Truth (17): Why Higher Prices Can Make You Buy MoreAI Wealth Truth (18): Why Saving Small and Spending Big Is a Nervous-System BugAI Wealth Truth (19): Why You Pay More for FreeAI Wealth Truth (20): Why Losing 1 Hurts 2.5 Times More Than Gaining 1AI Wealth Truth (21): Why You Always Buy at Market Tops and Sell at Market BottomsAI Wealth Truth (22): Why Gut-Level Investment Decisions Can Be BetterAI Wealth Truth (23): Why Experts' Forecasts Can Be Worse Than RandomAI Wealth Truth (24): Why Your Intuition About Low-Probability Events Is Catastrophically WrongAI Wealth Truth (25): Why Sunk Costs Drain Your WealthAI Wealth Truth (26): Why You Overpay for "Optionality"AI Wealth Truth (27): Why Poorer People Are Easier to ScamAI Wealth Truth (28): Why Casinos Are Designed That WayAI Wealth Truth (29): Why Finance Apps All Look the SameAI Wealth Truth (30): Why the "Rational Man" Assumption Is Wrong at the Root

Chapter 3: Engineered Poverty: How Systems Extract You

AI Wealth Truth (31): Why Minimum Payments Are Banks' Most Profitable InventionAI Wealth Truth (32): Why "Interest-Free" Installments Often Mean You Pay 20% MoreAI Wealth Truth (33): Why Insurance Actuaries Live Ten Years Longer Than YouAI Wealth Truth (34): Why "Principal-Protected" Products Guarantee You LoseAI Wealth Truth (35): Why Bank Deposit Rates Are Almost Always Below InflationAI Wealth Truth (36): Why Pension Systems Are Ponzi Schemes Destined for InsolvencyAI Wealth Truth (37): Why Dollar-Cost Averaging Returns Are Often Exaggerated by 10xAI Wealth Truth (38): Why Medical Bankruptcy Is the No.1 Personal Financial KillerAI Wealth Truth (39): Why Higher Education Is Turning Into a High-Stakes BetAI Wealth Truth (40): Why "Buying a Home Is a Must" Is a Constructed IdeaAI Wealth Truth (41): Why Wage Growth Almost Always Lags Housing PricesAI Wealth Truth (42): Why Taxi Licenses Can Be Worth Hundreds of ThousandsAI Wealth Truth (43): Why Metacognition Is the Real Marker of Class StratificationAI Wealth Truth (44): Why Some Cities Keep "Purchase Restrictions" Without Increasing SupplyAI Wealth Truth (45): Why the System Does Not Want You to Understand These Things

Chapter 4: Wealth Black Holes of the Network Era

AI Wealth Truth (46): Why the "Free" Internet Costs You Tens of Thousands of DollarsAI Wealth Truth (47): Why Recommendation Algorithms Make the Poor Poorer and the Rich RicherAI Wealth Truth (48): Why Every "Viral" Hit Has Someone Harvesting ValueAI Wealth Truth (49): Why Live-Stream Shopping Prices Are Not Actually CheapAI Wealth Truth (50): Why "We Don't Sell Your Data" Is the Biggest LieAI Wealth Truth (51): Why "User Growth" Matters More Than ProfitAI Wealth Truth (52): Why Every "Viral Hit" Is Carefully Designed HarvestingAI Wealth Truth (53): Why You Are the One Who Ultimately Pays for Platform "Subsidy Wars"AI Wealth Truth (54): Why "Private Traffic" Is a Bubble About to BurstAI Wealth Truth (55): Why the Crypto Bubble Is Exactly Like the 17th-Century Tulip ManiaAI Wealth Truth (56): Why NFTs Are Not "Digital Ownership" but "Digital Tulips"AI Wealth Truth (57): Why "Metaverse Real Estate" May Be the Most Absurd Speculation in HistoryAI Wealth Truth (58): Why Retail Investors Who Rush Into Every "Tech Revolution" Die FirstAI Wealth Truth (59): Why FOMO Has Been WeaponizedAI Wealth Truth (60): Why "Deep Work" Is Becoming a Class Privilege

Chapter 5: Wealth Redistribution in the AI Era

AI Wealth Truth (61): Why AI Makes "Skills" Less ValuableAI Wealth Truth (62): Why Capital Still Wins in "Human-AI Collaboration"AI Wealth Truth (63): Why the Biggest Asset in the AI Era Is "Attention Sovereignty"AI Wealth Truth (64): Why "Data Labor" Is Not Recognized as LaborAI Wealth Truth (65): Why AI Chips Are Worth More Than AI AlgorithmsAI Wealth Truth (66): Why OpenAI's $7 Trillion Chip Plan Is a Power GameAI Wealth Truth (67): Why "AI Democratization" Is a LieAI Wealth Truth (68): Why AI Makes "Taste" the Last MoatAI Wealth Truth (69): Why "Personal Brand" Matters More Than Companies in the AI EraAI Wealth Truth (70): Why "One-Person Companies" Have an Advantage Over Big CompaniesAI Wealth Truth (71): Why the "Interface Layer" Is Always More Valuable Than the "Implementation Layer"AI Wealth Truth (72): Why AI Makes "Vertical" More Valuable Than "General"AI Wealth Truth (73): Why "Speed" Matters 10x More Than "Perfection" in the AI EraAI Wealth Truth (74): Why Real AI Dividends Mostly Belong to Capital OwnersAI Wealth Truth (75): Why "Technological Unemployment" Is Totally Different This Time

Chapter 6: Game Theory, Information Theory, and Wealth Warfare

AI Wealth Truth (76): Why the "Market for Lemons" Hurts Honest PeopleAI Wealth Truth (77): Why "Signals" Matter More Than "Ability" for Your IncomeAI Wealth Truth (78): Why Interviews Are a Game Where Both Sides LieAI Wealth Truth (79): Why Referrals Are 100x More Effective Than Cold ApplicationsAI Wealth Truth (80): Why the "Anchoring Effect" Is Worth Millions in NegotiationAI Wealth Truth (81): Why "Silence" Is the Strongest Weapon in NegotiationAI Wealth Truth (82): Why the Principal-Agent Problem Lets You Get Extracted in Every RelationshipAI Wealth Truth (83): Why Incentive Compatibility Is the Key to Designing Any SystemAI Wealth Truth (84): Why the Tragedy of the Commons Is Replaying on the InternetAI Wealth Truth (85): Why the Prisoner's Dilemma Explains Most Social ProblemsAI Wealth Truth (86): Why First-Mover Advantage Can Be a CurseAI Wealth Truth (87): Why "Slow Variables" Matter More Than "Fast Variables" for Your FateAI Wealth Truth (88): Why Feedback Delay Makes You Unable to LearnAI Wealth Truth (89): Why Complex Systems Make Experts' Forecasts WorthlessAI Wealth Truth (90): Why Black Swans Are Becoming More Frequent

Chapter 7: Ultimate Cognition: The Philosophy and Nihilism of Wealth

AI Wealth Truth (91): Why You Are Playing a "Finite Game" While the Rich Play an "Infinite Game"AI Wealth Truth (92): Why Money May Be Humanity's Biggest "Consensus Illusion"AI Wealth Truth (93): Why "Economic Growth" May Be a Game Near Its EndAI Wealth Truth (94): Why GDP Growth Did Not Make Humans HappierAI Wealth Truth (95): Why "Success" Might Be a Carefully Designed Social ControlAI Wealth Truth (96): Why the Richer You Are, the More Anxious You Can BecomeAI Wealth Truth (97): Why "Lying Flat" Might Be a Rational ResistanceAI Wealth Truth (98): Why "Meaning" Cannot Be Bought With MoneyAI Wealth Truth (99): Why the Richest People Often Give Away Most of Their WealthAI Wealth Truth (100): If Wealth Is Ultimately Meaningless, Why Pursue It?
X (Twitter)
Prompt to Product

Prompt Arsenal

Premium

Copy-paste prompt templates covering the entire development workflow

Prompt Arsenal

Previous chapters covered MBRY framework and various prompt techniques. This chapter gives you weapons directly-a collection of battle-tested prompt templates, ready to copy and use.

These templates all follow MBRY principles: goal-first, clear structure, scorable. You can copy directly or adjust to your needs.

Project Launch: Architect Prompt

Scenario: You have a product idea, starting from scratch. Unsure what tech stack to use, how to organize code structure.

This prompt has AI play a senior architect to help you plan:

I want to build a [describe your product in 1-2 sentences].

Target users: [who uses this product, in what scenarios]
Core features: [most important 2-3 features, don't be greedy]
Technical constraints: [tech you've already decided, like Next.js, Supabase, existing codebase]
My level: [honestly state your background, like "familiar with frontend, backend so-so"]

As a senior full-stack architect, please help me plan:

1. Tech stack recommendation: prioritize dev speed, cost control, one-person maintainable
2. Project directory structure: provide complete project tree
3. Data model: describe core entities with TypeScript interfaces
4. API design: list main endpoints' paths, methods, and function summaries
5. Development milestones: what's in MVP, V1, V2
6. Potential risks: what pitfalls might occur, how to avoid

Give plan first. After I confirm, then start implementing.

This prompt's benefit: AI plans before coding, avoiding jumping into code only to go wrong direction. "Give plan first, after I confirm" is crucial-it constrains AI from outputting code directly.

Prompt Design Principles🎯 Goal First📋 Clear Structurev Scorable🔄 Plan Then Execute

Firefighting: Debug Prompt

Scenario: Code errored, you've tried several approaches with no luck, getting messier. Need AI to help analyze calmly.

Key for this prompt: have AI analyze first, not code directly:

Enter Debug mode. Rule: analyze causes first, don't code directly.

## Error Message
[paste complete error message including stack trace]

## Related Code
[paste relevant code, not too much not too little]

## Already Tried
[list approaches you've tried, avoid AI giving duplicate suggestions]
- Approach A: xxx, result was xxx
- Approach B: xxx, result was xxx

## Context
[optional: framework versions, runtime environment, other relevant info]

---

Please analyze and answer:

1. Direct cause: what is this error message telling me?
2. Root cause: why did this error trigger?
3. Impact scope: what other features might this affect?
4. Solutions: list 2-3 viable approaches with pros/cons
5. Recommendation: which do you recommend, and why?

After I choose an approach, then give specific code changes.

Why "Already Tried"-> Because AI easily suggests things you've already tried. Listing them avoids wasted time.

Why "analyze first, then act"-> Because Debug's most important thing is finding the root cause. Wrong root cause = code changes make it worse.

Code Refactoring Prompt

Scenario: A file is too long and messy, hundreds of lines mashed together, painful to look at. Needs splitting and refactoring.

This prompt emphasizes progressive refactoring and keeping functionality unchanged:

This file needs refactoring. Please help me plan.

## Current State
- File path: [xxx.ts]
- Lines: [xxx lines]
- Main problems: [describe what's messy, like: too many responsibilities, duplicate code, too-deep nesting]

## Refactoring Principles
1. Functionality completely unchanged-behavior after refactoring same as now
2. Progressive changes-each step must work, easy to rollback
3. Keep existing API interfaces unchanged-avoid affecting callers

## Current Code
[paste complete code]

---

Please first give refactoring plan:

1. What new files will be created? Each file's responsibility?
2. How will existing code be split? What goes where?
3. Dependencies between files?
4. Suggested execution order? What first, what later?
5. Any risks to note?

After I confirm the plan, then start refactoring step by step. Each step must ensure code runs.

Refactoring's biggest fear is breaking functionality during changes. So this prompt emphasizes "each step must work" and "progressive changes."

Code Review Prompt

Scenario: Finished a feature, want to self-check before going live. Have AI play senior engineer to Review.

Please review the following code. You are a senior engineer with 10 years experience, strict about code quality.

## Review Focus

Security:
- SQL injection, XSS, CSRF risks
- Sensitive info leakage (API Keys, passwords, etc.)
- Permission checks complete

Performance:
- N+1 query problems
- Unnecessary re-renders (React)
- Possible memory leaks

Maintainability:
- Clear naming
- Functions too long
- Duplicate code that could be abstracted

Edge Cases:
- Null handling thorough
- Error handling in place
- Concurrency considered

## Code
[paste code to review]

---

Please output categorized by severity:

🔴 Critical (must fix, otherwise could go wrong)
🟡 Warning (should fix, affects quality or maintainability)
🟢 Suggestion (optional optimization, nice to have)

For each issue, explain:
1. Which line specifically
2. What's the problem
3. Why it's a problem
4. How to fix

Some think "10 years experience" descriptions are useless. Testing shows it does affect AI's output strictness. Worth trying.

UI Beautification Prompt

Scenario: Feature works, but interface is ugly. You're not a designer; want AI to help beautify.

Please optimize this component's visual appearance to look more professional.

## Design Specs
- Framework: [React + Tailwind CSS / Vue + UnoCSS / other]
- Style: [modern minimal / vibrant colorful / business formal]
- Reference: [if any, put a screenshot or description of a site you like]

## Optimization Requirements

Interaction States:
- hover / focus / active states should have feedback
- Transition animations natural, not jarring

Visual Hierarchy:
- Primary info prominent, secondary info subtle
- Spacing and alignment comfortable

Responsive:
- Mobile should display and operate normally

Details:
- Border radius, shadows, colors coordinated
- Don't over-design, keep it simple

## Current Code
[paste your component code]

---

Please give the complete optimized code directly, and briefly explain what changes you made.

This prompt doesn't need "plan then execute" because UI optimization is more intuitive to see results directly.

Documentation Generation Prompt

Scenario: Code's done, need to add docs. Too tiring to write yourself.

Generate documentation for the following code.

## Doc Type
[choose one: API Reference / Component Usage / README]

## Format Requirements
- Markdown format
- Code examples must be runnable
- Each parameter/prop needs type and description
- Add usage notes if necessary

## Style Requirements
- For [beginners / intermediate developers]
- Language: [Chinese / English]
- Concise but complete, not verbose

## Code
[paste your code]

---

Please generate complete documentation.

Documentation is one of the best things for AI to write-it requires accurately describing existing code, not creating new things.

Test Case Generation Prompt

Scenario: Wrote a function, want comprehensive test coverage.

Generate complete test cases for this function.

## Test Framework
[Jest / Vitest / Mocha / other]

## Function Code
[paste function code]

## Test Requirements

Coverage:
- Normal input expected output
- Edge cases (nulls, extremes, special characters, etc.)
- Error input error handling
- If async, test success and failure cases

Test Style:
- Use describe/it organization
- Test descriptions in natural language, clearly stating what's being tested
- Each test verifies only one thing

---

Please generate complete test file code.

Good tests cover edge cases-this is what AI excels at: thinking of boundary conditions you didn't.

Requirements Analysis Prompt

Scenario: User gave a vague requirement, you need to convert it to clear feature specs.

Help me analyze this requirement and convert to executable feature specs.

## Original Requirement
[user or boss's exact words, usually vague]

## Product Background
[briefly describe what the product is, who the target users are]

---

Please help me:

1. **Requirements Clarification**: What ambiguities might this requirement have? List your understanding and assumptions
2. **Use Case Breakdown**: Break into specific user stories (As a... I want to... so that...)
3. **Boundary Definition**: What's in scope, what's out of scope
4. **Acceptance Criteria**: How to judge each use case "complete"
5. **Technical Considerations**: What to note when implementing
6. **Questions to Confirm**: What questions need to go back to the requester to confirm

Output as Markdown format.

This prompt helps turn vague requirements into clear specs. "Questions to Confirm" is especially important-helps you discover unclear parts in requirements.

Learning Explanation Prompt

Scenario: Encountered code or concept you don't understand, want AI to explain.

Please explain this code as if explaining to a smart programmer unfamiliar with this domain.

## Code
[paste code]

## My Background
[state what you're familiar with, what you're not]

---

Please explain:

1. What is this code doing overall? (summarize in one sentence)
2. Line-by-line/block-by-block explanation of each part's function
3. Why write it this way? Any alternatives?
4. What's clever or what common pitfalls in this code?
5. If I want to write similar code myself, what are the key points?

Use simple language, avoid jargon pileup. If jargon is necessary, explain it.

Key to this prompt is "My Background." Tell AI your level so it adjusts explanation depth.

Browser Automation Prompt

Scenario: Want AI to use Playwright MCP to control browser and complete tasks for you.

Goal: I want to go to [website name] [complete what task]

Background:
- Project folder has [related material files, like content.md, images/]
- [any special situation notes]

Method: Use Playwright MCP to control browser

Execution Rules:
- If login needed, use Google login
- If image upload needed, use images from images/ folder
- If payment page encountered, stop and notify me
- If captcha encountered, stop and notify me
- Screenshot and save results when done

Please start executing.

This prompt clarifies rules to prevent AI from acting on its own for sensitive operations.

Deep Thinking Prompt

Scenario: Facing complex problem, need AI to analyze deeply rather than give surface answers.

Please deeply analyze the following question.

Don't give surface-level, generic answers. I need:
- Essential insights, not surface listings
- Deep analysis, not breadth coverage
- Unique perspectives, not conventional rehashing

You're allowed to express uncertainty. If unsure about some aspects, you can say "I'm uncertain about this, but possibly..."

Question:
[your question]

---

Please first clarify the question's structure, then analyze layer by layer.

"You're allowed to express uncertainty" is important. Often AI gives overconfident answers; allowing it to say "uncertain" actually yields more honest analysis.

Code Translation Prompt

Scenario: Need to translate code from one language/framework to another.

Please translate this code from [source language/framework] to [target language/framework].

## Original Code
[paste code]

## Translation Requirements
- Function and behavior must be identical
- Use target language/framework's idiomatic style
- Keep code structure clear
- If original code has issues, fix them too

## Target Environment
- Version: [target language/framework version]
- Other constraints: [if any]

---

Please give complete translated code and explain what adjustments were made during translation.

Code translation is AI's strong suit, but note specifying target version to avoid generating outdated syntax.

How to Use These Templates

These templates aren't rigid formulas-they're starting points.

First, copy directly. Replace [bracketed content] with your situation, send to AI.

Second, adjust as needed. Some parts might not apply to your scenario-delete or modify. Some need more detail-add.

Third, save versions you use often. With use you'll develop preferences; save adjusted versions to form your own prompt library.

Fourth, keep optimizing. After each use, review results, think about improvements. Good prompts are iterated.


These templates cover the most common development scenarios. If you have other scenario needs, use MBRY framework to organize your own, or adjust based on techniques learned in earlier chapters.

Next chapter covers common pitfalls in AI coding and how to avoid them.

AI Is Not a Chat Box

Why are almost all AIs presented as big chat dialogs-> Is this the ultimate form of AI products->

Complete AI Coding Rules Guide

.cursorrules, CLAUDE.md, AGENTS.md-making AI truly understand your project

Table of Contents

Prompt Arsenal
Project Launch: Architect Prompt
Firefighting: Debug Prompt
Code Refactoring Prompt
Code Review Prompt
UI Beautification Prompt
Documentation Generation Prompt
Test Case Generation Prompt
Requirements Analysis Prompt
Learning Explanation Prompt
Browser Automation Prompt
Deep Thinking Prompt
Code Translation Prompt
How to Use These Templates