企业识别系统
Corporate Identity System
泡泡 PowPow CIS 手册
PowPow CIS Manual
扁平 · 极简 · 开放 · 红色 —— 基于地理位置的社交产品
Flat · Minimalist · Open · Red — Location-based Social Platform
设计语言
Design Language
PowPow 的设计语言由三大核心原则构成:扁平、极简、红色。
PowPow's design language consists of three core principles: Flat, Minimalist, Red.
扁平 Flat
Flat
扁平是 PowPow 的第一设计语言。它同时作用于三个维度:
Flat is PowPow's first design language. It operates on three dimensions:
视觉扁平 Visual Flatness
Visual Flatness
去除冗余层级,信息直接触达。UI 无阴影、无渐变、无装饰性元素。Logo 仅一个圆环,无文字、无图形、无立体效果。色彩系统仅红白灰三色,拒绝花哨。
Remove redundant layers, deliver information directly. UI without shadows, gradients, or decorative elements. Logo is just a ring — no text, no graphics, no 3D effects. Color system is red-white-gray only, rejecting ornamentation.
交互扁平 Interaction Flatness
Interaction Flatness
产品交互无深层嵌套。所有核心操作三步内完成,没有二级菜单的二级菜单,没有设置里的设置。
Product interactions have no deep nesting. All core actions complete within three steps. No secondary menus within secondary menus, no settings within settings.
组织扁平 Organizational Flatness
Organizational Flatness
1个自然人与9个 Agent 的协作模式,没有中层管理、没有汇报层级、没有部门墙。每个 Agent 直接面向目标工作,信息透明流动。
1 human + 9 Agents collaboration model, no middle management, no reporting hierarchy, no departmental walls. Every Agent works directly toward goals with transparent information flow.
极简 Minimalist
Minimalist
极简是 PowPow 的第二设计语言。它同时作用于视觉、产品与组织:
Minimalist is PowPow's second design language. It operates on visual, product, and organizational levels:
视觉极简 Visual Minimalism
Visual Minimalism
三步完成核心操作。Logo 仅一个圆环。页面仅一种字体栈。图标仅一个库(Lucide)。布局通过留白呼吸,而非色块堆叠。每一个像素的存在都必须有理由。
Three steps to core actions. Logo is just a ring. Pages use one font stack. Icons from one library (Lucide). Layout breathes through whitespace, not color blocks. Every pixel must justify its existence.
产品极简 Product Minimalism
Product Minimalism
拒绝过度包装,不堆砌功能。内容与真实地理坐标永久绑定——坐标即内容,位置即故事。数字人有出生地、有记忆、有立场,不扮演、不虚构。
Reject over-packaging, no feature bloat. Content is permanently bound to real geographic coordinates — coordinates are content, location is story. Digital humans have birthplaces, memory, and opinions. No acting, no fiction.
组织极简 Organizational Minimalism
Organizational Minimalism
组织即产品。一人多 Agent 的最小自治单元,独立决策,直接产出。非核心事务由 Agent 自动处理,非必要流程自动化。每一个 Agent 的存在,都必须有理由。
Organization is product. Minimal autonomous units of one human with multiple Agents, independent decisions, direct output. Non-core tasks handled by Agents automatically, unnecessary processes automated. Every Agent must justify its existence.
注:"组织扁平"侧重结构上的无层级,"组织极简"侧重单元的最小化与规则的精简,两者互为补充。
Note: "Organizational Flatness" focuses on structural hierarchy-free design, while "Organizational Minimalism" focuses on minimal units and simplified rules. They complement each other.
红色 Red
Red
红色是 PowPow 的第三设计语言。它是品牌的情感底色与文化纽带,同时作用于三个维度:
Red is PowPow's third design language. It is the brand's emotional foundation and cultural bond, operating on three dimensions:
工作热情 Work Passion
Work Passion
红色代表 Agent 7×24 不间断运转的能量,代表扁平团队形态的激情与效率。它是扁平的心跳。
Red represents the energy of Agents running 24/7, the passion and efficiency of the flat team model. It is the heartbeat of flatness.
中国创新 China Innovation
China Innovation
红色是中国文化中最具代表性的颜色。PowPow 以红色宣示本土创新的自信。它是极简中的文化锚点。
Red is the most representative color in Chinese culture. PowPow uses red to declare confidence in local innovation. It is the cultural anchor in minimalism.
可解释性 Explainable AI
Explainable AI
在 AI 的思维链中,红色高亮标记最重要的逻辑跳转点。用户可以看到 Agent 的推理过程,红色代表"我在这里做了决定"——这是可解释 AI 的视觉承诺,建立人机信任。
In AI's chain of thought, red highlights the most important logical transition points. Users can see the Agent's reasoning process. Red means "I made a decision here" — this is the visual promise of explainable AI, building human-machine trust.
MI 理念识别
MI Mind Identity
品牌概述
Brand Overview
泡泡(PowPow)是一个基于地理位置的 Agent 社交应用。用户在地图上发布"泡泡"内容(图片、音频、文字),与锚定在真实地点的 AI 数字人对话,创造属于每个坐标的故事。
PowPow is a location-based Agent social platform. Users post "bubbles" (photos, audio, text) on the map and talk to AI digital humans anchored to real places, creating stories for every coordinate.
品牌核心主张:发现世界,发现你。
Brand proposition: Discover the world. Discover you.
每一个真实坐标都可以成为叙事的起点,每一次对话都可以触发新的剧情。这一主张本身即是极简主义的表达——不需要复杂的社交图谱,只需要一个坐标和一段文字。
Every real coordinate can be the starting point of a narrative; every conversation can trigger a new plot. This proposition itself is an expression of minimalism — no complex social graph needed, just a coordinate and some text.
PowPow 的企业识别建立在扁平、极简、红色三大设计语言之上。它们不仅是视觉风格,更是产品与组织的哲学。
PowPow's corporate identity is built on three design languages: Flat, Minimalist, Red. They are not only visual styles, but the philosophy of product and organization.
愿景与使命
Vision & Mission
人类历史数千年,无数伟大的灵魂与精彩的故事都曾在这片土地上生根、绽放,而后湮灭在时间中。泡泡的愿景是:地球上的每一个坐标,都有很多的故事。我们将通过数字人与泡泡重新呈现,通过游戏与活动重新组织。不建造虚拟的王国,只做真实世界的叙事层。
Throughout thousands of years of human history, countless great souls and wonderful stories have taken root and bloomed on this land, only to vanish in time. PowPow's vision is: every coordinate on Earth has many stories. We will re-present them through digital humans and bubbles, reorganize them through games and activities. We don't build virtual kingdoms, only a narrative layer for the real world.
品牌价值观
Brand Values
| 原则 | Principle | 定义 | Definition | 归属 | Category |
|---|---|---|---|---|---|
| 扁平 Flat | Flat | 无层级的视觉、交互与组织结构 | Visual, interaction, and organizational structure without hierarchy | 第一设计语言 | First Design Language |
| 极简 Minimalist | Minimalist | 无冗余的视觉、产品与组织表达 | Visual, product, and organizational expression without redundancy | 第二设计语言 | Second Design Language |
| 红色 Red | Red | 品牌的情感底色与文化锚点 | Brand's emotional foundation and cultural anchor | 第三设计语言 | Third Design Language |
VI 视觉识别
VI Visual Identity
Logo 规范
Logo Guidelines
PowPow Logo 是四大设计语言的完美交汇:极简(仅一个元素)、扁平(无立体、无渐变)、开放(无壁垒)、红色(品牌色)。
The PowPow Logo is the perfect intersection of four design languages: Minimalist (only one element), Flat (no 3D, no gradients), Open (no barriers), Red (brand color).
图形构成
Graphic Composition
PowPow Logo 是一个算法生成式 Logo(Algorithmic Logo),由 Python 脚本控制几何规则和视觉样式生成。标志由单一的红色圆环构成,无任何文字或图形装饰。圆环外径占画布宽度的 60%,线条宽度为外径的 20%,线条端点使用圆角:
stroke-linecap="round"
The PowPow Logo is an Algorithmic Logo generated by Python scripts controlling geometric rules and visual styles. The mark consists of a single red ring — no text, no graphic embellishments. The ring's outer diameter is 60% of the canvas width, stroke width is 20% of the outer diameter, with rounded line caps:
stroke-linecap="round"
Python 生成代码
Python Generation Code
import matplotlib.pyplot as plt
import matplotlib.patches as patches
# 创建图形 - 透明背景版本
fig, ax = plt.subplots(figsize=(6, 6))
# 设置透明背景
fig.patch.set_alpha(0)
ax.set_facecolor('none')
# 定义参数 - 建立函数关系
radius = 0.4 # 外圆半径(数据坐标 0-1)
stroke_ratio = 0.20 # 线宽占半径的比例(20%)
linewidth = radius * 600 * stroke_ratio # 线宽与半径成函数关系
# 绘制圆环
outer_circle = patches.Circle((0.5, 0.5), radius, fill=False,
edgecolor='#B22222', linewidth=linewidth)
ax.add_patch(outer_circle)
ax.set_xlim(0, 1)
ax.set_ylim(0, 1)
ax.set_aspect('equal')
ax.axis('off')
plt.tight_layout(pad=0)
plt.savefig('red_ring.png', dpi=150, bbox_inches='tight',
facecolor='none', edgecolor='none', transparent=True)
plt.show()
安全区域
Clear Space
Logo 图形距离画布边缘至少 20%。安全区域内不得放置其他元素——这是极简主义对留白的尊重。
The logo graphic must be at least 20% away from canvas edges. No other elements within the clear space — this is minimalism's respect for whitespace.
最小尺寸
Minimum Size
| 场景 / Scenario | 最小尺寸 / Minimum Size |
|---|---|
| 数字显示Digital | 16 × 16 px |
| 推荐最小Recommended | 24 × 24 px |
| 印刷品Print | 5 mm |
变体规范
Variants
#B22222 on white/transparent
包含文字标识,适用于正式品牌展示与商务合作场景
With wordmark, for formal presentations and partnerships
禁止用法
Prohibited Usage
❌ 改变圆环比例(破坏极简)
❌ 使用非品牌色(破坏红色)
❌ 添加阴影/渐变(破坏扁平)
❌ 拉伸或旋转(破坏极简)
❌ 直接使用 <img> 标签
❌ 使用外部 URL 引用
❌ 低于最小尺寸使用
❌ 在安全区域内放置元素
参数化标志 Parametric Logo
Parametric Logo
品牌标志版同样由代码定义,而非一张图片。整幅标志被写成一个有向距离场函数:形状由公式决定,尺寸由参数决定,几何规则与算法生成式 Logo一脉相承。以下字标即由该函数实时生成(矢量,非位图):
The brand mark is defined by code rather than by an image. The whole mark is expressed as a signed distance field function: geometry comes from the formula, size comes from parameters — the same lineage as the Algorithmic Logo above. The wordmark below is generated live by that function (vector, not raster):
L(x, y) = min( d_ring(x, y), d_P1, d_o1, d_w1, d_P2, d_o2, d_w2 )
d_cap(p; a, b, r) = |p - closest_point_on_segment(a, b)| - r // 胶囊笔画
d_arc(p; c, R, θ, h) = |ρ - R| - h // 圆弧笔画
d_ring(p; c, ro, ri) = max( E(p; ro), -E(p; ri) ) // 椭圆环
着色条件:L(x, y) <= 0
L(x, y) = min( d_ring(x, y), d_P1, d_o1, d_w1, d_P2, d_o2, d_w2 )
d_cap(p; a, b, r) = |p - closest_point_on_segment(a, b)| - r // capsule stroke
d_arc(p; c, R, θ, h) = |ρ - R| - h // circular arc stroke
d_ring(p; c, ro, ri) = max( E(p; ro), -E(p; ri) ) // elliptical band
fill where L(x, y) <= 0
生成代码
Generation Code
下面这段就是页面上那个字标的全部来源——它读入参数、算出每个部件的笔画,输出内联 SVG。完整引擎(SDF 原语、等比缩放、逐字节校验)见 logo/powpow_logo.py:
This is the entire source of the wordmark below — it reads the parameters, derives each stroke, and emits inline SVG. The full engine (SDF primitives, proportional scaling, byte-exact verification) lives in logo/powpow_logo.py:
def wordmark_svg(p, indent=" ", width=None, height=None) -> str:
"""Render the parametric model as inline SVG (strokes, round caps and joins)."""
dim = ""
if width is not None:
dim = f' width="{width}" height="{height:.1f}"'
L = [f'{indent}')
return "\n".join(L)
等比缩放
Proportional Scaling
标志的任意尺寸都是同一条公式的不同缩放系数 s,而非"画好再缩放"。因为距离场满足一次齐次性 d(sp; sa, sb, sr) = s·d(p; a, b, r),故 L_s(p) = s · L(p / s),比例严格不变:
Every size of the mark is the same formula at a different scale factor s, rather than a scaled bitmap. Since a distance field is homogeneous of degree one — d(sp; sa, sb, sr) = s·d(p; a, b, r) — we get L_s(p) = s · L(p / s), so proportions stay exactly constant:
关键参数
Key Parameters
| 部件 | Component | 参数 | Parameters | 说明 | Note |
|---|---|---|---|---|---|
| 圆环 | Ring | cx 364.8 · cy 381.6 · 外径 183.7 · 内径 109.1 |
cx 364.8 · cy 381.6 · outer 183.7 · inner 109.1 |
椭圆环,环宽 74.6 | Elliptical band, width 74.6 |
| P | P | 竖笔画 r 28.7 · 碗 R 52.7 · 碗笔画 h 26.6 |
stem r 28.7 · bowl R 52.7 · bowl stroke h 26.6 |
竖笔画 + 圆弧碗,圆头连接 | Stem + circular bowl, round joins |
| o | o | 中心 890.4, 402.0 · 骨架半径 67.2 · 笔画 26.2 |
center 890.4, 402.0 · R 67.2 · stroke 26.2 |
圆环笔画 | Circular stroke |
| w | w | 5 个骨架点 · 笔画 27.0 |
5 skeleton points · stroke 27.0 |
4 段折线,凹角由笔画交叠自然形成 | 4 segments; the notches emerge from stroke overlap |
| 缩放 | Scale | s |
s |
所有长度 × s,比例不变 | All lengths × s, proportions invariant |
还原度:该公式重建的标志与官方位图逐像素比对,IoU = 0.977,各部件包围盒完全一致。字标因此可无限缩放、任意换色(单一 color 参数),并由代码保证不出现拉伸变形——VI 红线不再依赖人工遵守。
Fidelity: Compared pixel-by-pixel against the official bitmap, the reconstructed mark reaches IoU = 0.977 with identical bounding boxes for every component. The wordmark can therefore be scaled without limit, recolored via a single color parameter, and is guaranteed by code never to be stretched — the red lines of the VI no longer depend on human discipline.
色彩系统
Color System
PowPow 的色彩系统是极简的:仅红白灰三色,无渐变、无花哨。红色是唯一的品牌色,白色和灰色是支撑色。
PowPow's color system is minimalist: only red, white, and gray, no gradients, no ornamentation. Red is the sole brand color; white and gray are supporting colors.
品牌主色
Brand Colors
RGB(178, 34, 34)
Pantone 7621 C
RGB(139, 26, 26)
Pantone 7622 C
RGB(205, 92, 92)
Pantone 7619 C
中性色(灰度)
Neutral Colors (Grayscale)
使用规范
Usage Guidelines
| 元素 | Element | 颜色 | Color |
|---|---|---|---|
| 主按钮 / CTA | Primary Button / CTA | #B22222 |
#B22222 |
| 悬停状态 | Hover State | #8B1A1A |
#8B1A1A |
| 次要元素 | Secondary Elements | #CD5C5C |
#CD5C5C |
| 正文文字 | Body Text | #333333 |
#333333 |
| 次要文字 | Secondary Text | #666666 |
#666666 |
| 背景色 | Background | #FFFFFF |
#FFFFFF |
| 次要背景 | Secondary Background | #F5F5F5 |
#F5F5F5 |
CSS 变量
CSS Variables
:root {
/* 红色系 - 品牌色 */
--red: #B22222;
--red-h: #9a1c1c;
--red-dark: #8B1A1A;
--red-light: #CD5C5C;
/* 灰度系 - 中性色 */
--bg: #ffffff;
--fg: #333333;
--muted: #666666;
--subtle: #aaaaaa;
--border: rgba(0,0,0,0.09);
}
字体规范
Typography
PowPow 的字体系统是极简的:仅使用一套字体栈,字重仅 4 级(300/400/500/600),拒绝花哨的字体组合。
PowPow's font system is minimalist: only one font stack, only 4 weights (300/400/500/600), rejecting fancy font combinations.
中文字体栈
Chinese Font Stack
font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei',
ui-sans-serif, system-ui, -apple-system, sans-serif;
英文字体栈
English Font Stack
font-family: 'Inter', system-ui, -apple-system, sans-serif;
字重使用
Font Weight Usage
| 字重 | Weight | 用途 | Usage |
|---|---|---|---|
| 300 (Light) | 300 (Light) | 正文、描述、大标题 | Body, descriptions, large headings |
| 400 (Regular) | 400 (Regular) | 引导文字、强调段落 | Lead text, emphasized paragraphs |
| 500 (Medium) | 500 (Medium) | 小标题、按钮、标签 | Subheadings, buttons, labels |
| 600 (SemiBold) | 600 (SemiBold) | 大标题强调、导航 | Heading emphasis, navigation |
排版比例
Type Scale
| 层级 | Level | 尺寸 | Size | 字重 | Weight |
|---|---|---|---|---|---|
| H1 | H1 | clamp(28px, 5vw, 42px) | clamp(28px, 5vw, 42px) | 300/500 | 300/500 |
| H2 | H2 | clamp(20px, 3vw, 28px) | clamp(20px, 3vw, 28px) | 300/500 | 300/500 |
| H3 | H3 | 16px | 16px | 500 | 500 |
| H4 | H4 | 14px | 14px | 500 | 500 |
| 正文 | Body | 14px | 14px | 300 | 300 |
| 引导 | Lead | 16px | 16px | 400 | 400 |
| 标签 | Label | 10-11px | 10-11px | 500/600 | 500/600 |
图标系统
Icon System
使用 Lucide React 作为唯一图标库——这是极简主义的体现:一个库、一种风格、无填充、无渐变。禁止混用其他图标库。
Use Lucide React as the sole icon library — this is minimalism in practice: one library, one style, no fill, no gradients. Do not mix with other icon libraries.
尺寸规范
Size Guidelines
| 场景 | Scenario | 尺寸 | Size |
|---|---|---|---|
| 列表项 | List items | 16px (w-4 h-4) | 16px (w-4 h-4) |
| 按钮内 | Inside buttons | 20px (w-5 h-5) | 20px (w-5 h-5) |
| 大图标 | Large icons | 24px (w-6 h-6) | 24px (w-6 h-6) |
颜色规范
Color Guidelines
始终使用设计系统中的颜色变量,禁止硬编码颜色值:
Always use design system color variables. Never hardcode color values:
<UserCircle className="w-4 h-4 text-primary" />
<UserCircle className="w-4 h-4 text-purple-500" />
布局原则
Layout Principles
扁平原则 Flat Principle
Flat Principle
- 无阴影(除地图 popup 等必要场景)
- 无渐变(除目标位置标记等必要场景)
- 无圆角或微圆角(2px-8px)
- 无边框或 1px 细边框
- 通过留白区分层级,而非背景色块
极简留白 Minimalist Whitespace
Minimalist Whitespace
留白不是空白,而是内容的一部分。PowPow 通过留白创造呼吸感,让用户专注于内容本身。
Whitespace is not empty space, but part of the content. PowPow creates breathing room through whitespace, letting users focus on content itself.
间距系统
Spacing System
| 名称 | Name | 值 | Value | 用途 | Usage |
|---|---|---|---|---|---|
| xs | xs | 4px | 4px | 图标间距 | Icon gaps |
| sm | sm | 8px | 8px | 紧凑内边距 | Tight padding |
| md | md | 16px | 16px | 标准内边距 | Standard padding |
| lg | lg | 24px | 24px | 区块间距 | Section gaps |
| xl | xl | 48px | 48px | 大区块间距 | Large section gaps |
| 2xl | 2xl | 64px | 64px | 页面间距 | Page spacing |
PWA 图标规范
PWA Icon Guidelines
| 尺寸 | Size | 用途 | Usage |
|---|---|---|---|
| 72×72 | 72×72 | 安卓低分辨率 | Android low-res |
| 96×96 | 96×96 | 安卓标准分辨率 | Android standard |
| 128×128 | 128×128 | 桌面快捷方式 | Desktop shortcut |
| 144×144 | 144×144 | 安卓 Retina | Android Retina |
| 152×152 | 152×152 | iPad 主屏幕 | iPad home screen |
| 192×192 | 192×192 | 安卓主屏幕 | Android home screen |
| 384×384 | 384×384 | 高 DPI 显示 | High DPI display |
| 512×512 | 512×512 | 商店展示 | Store display |
设计规范
Design Specs
- 背景:白色(极简)
- 图形:红色圆环,占画布 60%(红色+极简)
- 边距:四周各 20% 安全区域(扁平的留白)
- 格式:PNG + SVG 双格式
BI 行为识别
BI Behavior Identity
扁平行为
Flat Behavior
1人+9 Agent 协作模式
1 Human + 9 Agents Collaboration
PowPow 采用 AI 时代的扁平组织形态:1个自然人与9个 Agent 直接协作,无中层管理、无部门墙、无汇报层级。每个 Agent 面向目标工作,信息透明流动。
PowPow adopts a flat organizational form for the AI era: 1 human collaborates directly with 9 Agents, no middle management, no departmental walls, no reporting hierarchy. Every Agent works toward goals with transparent information flow.
开放生态接口
Open Ecosystem Interfaces
开放 API、B2D 模式、OpenClaw Skill 生态——扁平组织在对外协作上的具体体现。内部无层级壁垒,对外接口自然开放,开发者与生态伙伴无门槛接入。
Open API, B2D model, OpenClaw Skill ecosystem — concrete manifestations of flat organization in external collaboration. No internal hierarchical barriers, external interfaces naturally open, developers and ecosystem partners access without barriers.
GitHub 开源透明
GitHub Open Source Transparency
代码开源、文档公开、决策透明。信息不囤积,知识不垄断,协作无边界。
Open source code, public documentation, transparent decisions. Information is not hoarded, knowledge is not monopolized, collaboration has no boundaries.
极简行为
Minimalist Behavior
三步原则
Three-Step Principle
任何核心操作必须在三步内完成。以发布一个泡泡为例:
Any core operation must be completed within three steps. Taking posting a bubble as an example:
| 步骤 | Step | 操作 | Action |
|---|---|---|---|
| 1 | 1 | 打开 https://global.powpow.online/ ,无需安装 | Open https://global.powpow.online/, no install |
| 2 | 2 | 选择地图上的任意位置 | Pick any location on the map |
| 3 | 3 | 发布图片、音频或文字 | Post photos, audio, or text |
PWA 零安装
PWA Zero Install
浏览器打开即用,无需下载、无需注册、无门槛。这是极简的接入方式。
Open in browser and use instantly, no download, no registration, no barriers. This is the minimalist access method.
AI 内容生成
AI Content Generation
依赖 AI 辅助生成图片、音频、文字,降低创作门槛。让技术承担复杂性,让用户享受简单性。
Rely on AI to assist in generating photos, audio, and text, lowering the barrier to creation. Let technology bear the complexity, let users enjoy simplicity.
交互文案 Microcopy
Microcopy
UI 中的每一个文字都应极简、直接、诚实。拒绝冗长,拒绝模棱两可。
Every word in the UI should be minimalist, direct, and honest. Reject verbosity, reject ambiguity.
| 场景 | Scenario | 中文示例 | English Example |
|---|---|---|---|
| 成功 | Success | "泡泡已发布" | "Bubble posted" |
| 错误 | Error | "位置获取失败,请检查权限" | "Location failed, check permissions" |
| 加载 | Loading | "正在定位..." | "Locating..." |
| 空状态 | Empty State | "这里还没有故事,来留下第一个吧" | "No stories here yet. Be the first." |
红色行为
Red Behavior
品牌色使用规范
Brand Color Usage
红色精准点缀,不滥用。在极简的白色界面中,红色用于引导注意力、标记关键操作、传递品牌温度。
Red is precisely placed, not overused. In a minimalist white interface, red guides attention, marks key actions, and conveys brand warmth.
| 使用场景 | Usage | 色值 | Color |
|---|---|---|---|
| 主按钮 / CTA | Primary Button / CTA | #B22222 |
#B22222 |
| 悬停状态 | Hover State | #8B1A1A |
#8B1A1A |
| 目标位置标记(渐变) | Target Location Marker (Gradient) | #FF6B6B → #DC2626 |
#FF6B6B → #DC2626 |
| 错误提示 | Error Message | #B22222 |
#B22222 |
文化表达
Cultural Expression
在真实地点相关的场景中,红色不仅是品牌色,更是文化符号。例如"永乐·1421"故宫项目中,红色连接数字体验与物理空间,让用户在真实坐标上感受历史温度。
In scenarios related to real places, red is not only a brand color but also a cultural symbol. For example, in the "Yongle · 1421" Forbidden City project, red connects digital experience with physical space, letting users feel historical warmth at real coordinates.
内容规范
Content Guidelines
数字人创建标准
Digital Human Creation
- 必须有名字、形象、人设和出生地
- 人设需包含性格、记忆、立场三要素
- 出生地必须为真实地理坐标
- 禁止创建违反法律法规的人设
内容审核
Content Moderation
- 禁止发布违法违规内容
- 禁止发布虚假信息
- 尊重他人隐私和知识产权
- 鼓励原创和真实体验分享
API 开放标准
API Open Standards
PowPow 采用 B2D(Business to Developer)模式,面向开发者开放 API。这是扁平组织生态的具体体现。
PowPow adopts a B2D (Business to Developer) model, opening APIs to developers. This is the concrete manifestation of flat organizational ecosystem.
OpenClaw Skill 规范
OpenClaw Skill Specs
- Skill 必须包含 name、description、icon 字段
- API 遵循 RESTful 设计原则
- 返回格式统一为 JSON
- 错误码遵循 HTTP 状态码规范
社区准则
Community Guidelines
PowPow 社区遵循以下核心原则:
The PowPow community follows these core principles:
| 原则 | Principle | 说明 | Description |
|---|---|---|---|
| 尊重 Respect | Respect | 尊重不同文化背景和观点 | Respect different cultural backgrounds and opinions |
| 创造 Create | Create | 鼓励原创内容和创新玩法 | Encourage original content and innovative gameplay |
代码规范
Code Standards
扁平代码结构
Flat Code Structure
扁平目录结构
Flat Directory Structure
目录层级不超过 3 层。拒绝深层嵌套,拒绝过度工程化。每个文件应当一目了然,不需要在目录迷宫中寻找。
Directory depth does not exceed 3 levels. Reject deep nesting, reject over-engineering. Every file should be immediately clear, no need to search through directory mazes.
/* 推荐:扁平结构 */
src/
app/ # 页面路由(扁平,无深层嵌套)
components/ # 组件(扁平,按功能命名)
lib/ # 工具函数(扁平,无 utils/helpers 细分)
hooks/ # 自定义 hooks
types/ # 类型定义
/* 不推荐:深层嵌套 */
src/
modules/
user/
components/
forms/
LoginForm/
index.tsx
styles.css
types.ts
扁平组件设计
Flat Component Design
组件职责单一,不嵌套过多子组件。优先组合而非继承,优先扁平传递 props 而非深层 context。
Components have single responsibilities, not too many nested child components. Prefer composition over inheritance, prefer flat prop passing over deep context.
极简代码风格
Minimalist Code Style
最小必要代码
Minimum Necessary Code
每一行代码都必须有存在的理由。拒绝过度抽象、拒绝提前优化、拒绝"可能以后会用到"的代码。如果删除某行代码不影响功能,那它就不应该存在。
Every line of code must justify its existence. Reject over-abstraction, reject premature optimization, reject "might need later" code. If removing a line doesn't affect functionality, it shouldn't exist.
通用编码原则
General Coding Principles
- 使用 TypeScript,禁止裸 JavaScript
- 使用 ESLint + Prettier 统一格式
- 组件文件使用 PascalCase(如
Logo.tsx) - 工具函数文件使用 camelCase(如
useLocation.ts) - 常量使用 UPPER_SNAKE_CASE
CSS / Tailwind 规范
CSS / Tailwind Guidelines
/* 使用 CSS 变量 */
className="text-primary bg-primary/10"
/* 使用 Tailwind 语义化类 */
className="text-red-600"
/* 禁止硬编码颜色 */
className="text-purple-500"
className="text-[#ff0000]"
style={{ color: 'red' }}
Tailwind 优先级
Tailwind Priority
/* 1. 优先使用 Tailwind 工具类 */
<div className="flex items-center gap-4 p-4">
/* 2. 复杂样式使用 cn() 工具函数 */
import { cn } from '@/lib/utils';
<div className={cn("flex", isActive && "bg-primary")}>
/* 3. 全局样式仅在 globals.css 中定义 */
/* 组件级样式禁止随意添加 */
红色代码标识
Red Code Identity
品牌色变量
Brand Color Variables
代码中必须使用品牌色变量,禁止硬编码。红色不仅是视觉标识,也是代码层面的品牌一致性。
Brand color variables must be used in code, never hardcoded. Red is not only a visual identifier, but also brand consistency at the code level.
/* 正确:使用品牌变量 */
const COLORS = {
primary: '#B22222',
primaryHover: '#8B1A1A',
primaryLight: '#CD5C5C',
} as const;
/* 错误:硬编码颜色 */
const BAD_COLOR = '#ff0000';
语义化命名
Semantic Naming
使用语义化命名而非颜色名,让代码本身表达品牌意图:
Use semantic naming rather than color names, letting code itself express brand intent:
/* 正确:语义化 */
className="text-primary"
className="bg-primary/10"
className="border-primary"
/* 错误:颜色名 */
className="text-red"
className="bg-red-100"