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)

文档页面

文档中的页面

可以渲染完整页面的组件(标题、目录等)。

正文

page.tsx
import { DocsPage } from 'fumadocs-ui/page';

export default function Page({ params }: { params: { slug?: string[] } }) {
  const page = getPage(params);

  return (
    <DocsPage
      title={page.title}
      description={page.description}
      mdx={page.body}
      toc={page.toc}
    />
  );
}

SEO

为页面添加 SEO 优化,有几种方法。首先,允许文档生成器提供 metadata 帮助程序:

api.ts
export { createMetadata } from 'fumadocs-core/docs';

默认值包括 标题、描述、开放图形(Open Graph)和 Twitter 图片、规范(Canonical)URL 和 locale 元数据。

现在您可以直接使用它:

page.tsx
import type { Metadata } from 'next';
import { createMetadata } from '@/app/api';

export async function generateMetadata({
  params,
}: {
  params: { slug?: string[] };
}): Promise<Metadata> {
  const page = await getPage(params);

  return createMetadata({
    page,
    params,
  });
}

或者您可以手动构建它:

page.tsx
import type { Metadata } from 'next';
import { absoluteUrl } from 'fumadocs-core/utils/absolute-url';

export const metadata: Metadata = {
  title: 'My Page',
  description: 'Page Description',
  openGraph: {
    title: 'My Page',
    description: 'Page Description',
    type: 'article',
    url: absoluteUrl('/docs/my-page'),
  },
  twitter: {
    title: 'My Page',
    description: 'Page Description',
    card: 'summary_large_image',
  },
  alternates: {
    canonical: absoluteUrl('/docs/my-page'),
  },
};

内容目录

支持无限级别的标题。从页面内容中提取,您应该通过 toc 字段传递它。

page.tsx
import { DocsPage } from 'fumadocs-ui/page';
import { getToc } from 'fumadocs-core';

export default function Page() {
  const toc = getToc(content);

  return <DocsPage toc={toc} />;
}

自定义内容目录

可以定制 TOC(目录)的呈现方式,但您仍然需要通过 toc 字段传递真实的 TOC 项目。

page.tsx
import { DocsPage } from 'fumadocs-ui/page';

export default function Page() {
  return (
    <DocsPage tocClassName="hidden lg:block" toc={toc}>
      <div>Custom TOC</div>
    </DocsPage>
  );
}

最后更新时间

page.tsx
import { DocsPage } from 'fumadocs-ui/page';

export default function Page() {
  return <DocsPage lastUpdatedAt={new Date()} />;
}

页脚

layout.tsx
import { DocsPage } from 'fumadocs-ui/page';
import { baseOptions } from '@/app/layout.config';

export default function Page() {
  return (
    <DocsPage
      footer={{
        text: 'Built with Fumadocs',
      }}
    />
  );
}

使用基础配置

您可以创建一个 baseOptions 对象,用于所有页面和布局组件。

layout.config.ts
import type { BasePageConfig } from 'fumadocs-ui/page';

export const baseOptions: BasePageConfig = {
  githubUrl: 'https://github.com/fuma-nama/fumadocs',
  footer: {
    text: 'Built with Fumadocs',
  },
};
page.tsx
import { DocsPage } from 'fumadocs-ui/page';
import { baseOptions } from '@/app/layout.config';

export default function Page() {
  return <DocsPage {...baseOptions} />;
}

编辑链接

import { DocsPage } from 'fumadocs-ui/page';

export default function Page() {
  return (
    <DocsPage
      gitTimestamp={true}
      footer={{
        // Edit Link
        editLink: {
          text: 'Edit this page',
          url: 'https://github.com/username/repo/blob/main',
        },
      }}
    />
  );
}

页面导航

import { DocsPage } from 'fumadocs-ui/page';
import { getPagesPath } from 'fumadocs-core';

export default function Page({ params }: { params: { slug?: string[] } }) {
  const pagePath = getPagesPath(params);
  const prev = getAdjacentPages({ current: pagePath, dir: 'prev' });
  const next = getAdjacentPages({ current: pagePath, dir: 'next' });

  return (
    <DocsPage
      footer={{
        navigation: {
          prev: prev?.url
            ? {
                title: prev.title,
                href: prev.url,
              }
            : undefined,
          next: next?.url
            ? {
                title: next.title,
                href: next.url,
              }
            : undefined,
        },
      }}
    />
  );
}

自定义获取相邻页面

您可以在 createAdjacentPages 方法中应用 includeInPageNav 过滤器,该方法由文档生成器创建:

api.ts
import { createAdjacentPages } from 'fumadocs-core/docs';
import { tree } from '@/app/source';

export const getAdjacentPages = createAdjacentPages(tree, {
  includeInPageNav: (page) => !page.data.preview,
});

Table of Contents

正文
SEO
内容目录
自定义内容目录
最后更新时间
页脚
使用基础配置
编辑链接
页面导航
自定义获取相邻页面