Ae Generate Tracking Plan
Interactive generation of an AE tracking plan and upload. Trigger words: 埋点方案、埋点模板、tracking plan、AE 方案生成、create tracking plan、トラッキングプラン、트래킹 플랜. Follows anchor → draft → refine → token → upload five-phase workflow. Deliverable is a real tracking plan created in the AE platform.
- Skill ID
- thinkingaiagenticengine/ae-cli/ae-generate-tracking-plan
- Publisher
- thinkingaiagenticengine
- Repository
- ae-cli
- Installs
- 0
- Files
- 5
- Synced
- Sep 23, 2026
Open any RiverX project, open the Skills panel in the chat, and search for this identifier. The files are fetched from the source repository at install time.
thinkingaiagenticengine/ae-cli/ae-generate-tracking-planInstalls these files- SKILL.md
- references/autotrack-events.md
- references/business-dimension-mapping.md
- references/te-api.md
- references/xlsx-schema.md
What this skill tells the agent
ae-generate-tracking-plan
Conversation language: This skill document is in English, but all output to the user MUST be in the user's input language. English input → English reply; Chinese input → Chinese reply; Japanese input → Japanese reply. If uncertain, default to English. This applies to all output: section titles, phase names, template prompts, example text, option lists, etc. ⚠️ CRITICAL: Template localization is CLI-owned. Do NOT manually translate imported template content with the model. Use the `src/tracking/i18n` module as the source of truth by setting `AE_LANG=<user_lang>`, writing `draft.meta.lang`, and regenerating through `ae-cli tracking code import-template` / `ae-cli tracking plan draft`. *Before changing any template-owned localized label, first look up the corresponding translation in `src/tracking/i18n` (for example `resources/xlsx/sheets.ts`, `resources/xlsx/headers.ts`, `resources/xlsx/types.ts`, and `resources/cli/.json`). If no matching translation exists there, preserve the imported text and ask before rewriting business semantics.** Do NOT copy Chinese text verbatim from this document into English/Japanese replies unless it is an identifier, template name needed for CLI import, or original source material quoted for traceability.
Terminology Glossary
| 中文 | English | Notes |
|---|---|---|
| 埋点方案 | Tracking Plan | AE project-level event & property definitions |
| 埋点模板 | Tracking Plan Template | Pre-built industry/genre xlsx templates |
| 方案名称 | Plan Name | User-facing plan identifier |
| 应用场景 | Application Scenario | One-sentence description of what the app does |
| 素材来源 | Source Material Type | prd / chat / codebase / template / data |
| 数据样本 / 文件画像 | Data Sample / File Profile | Column→property mapping source from an ae-data-integration inspect profile (source_type: data) |
| 业务维度 | Business Dimension | Revenue model, core loop, functional entries, currency system |
| 收入模型 | Revenue Model | IAA / IAP / mixed / subscription / commission |
| 核心循环 | Core Loop | Core gameplay loop (e.g. "grind stages → earn coins → gacha for heroes") |
| 功能入口 | Functional Entry | Stage, shop, guild, leaderboard, task, achievement, etc. |
| 货币体系 | Currency System | Hard currency (diamonds), soft currency (gold), etc. |
| 事件 | Event | Named user action or system occurrence (event_name) |
| 事件属性 | Event Property | Data attached to an event (prop_names) |
| 公共事件属性 | Common/Super Property | Property attached to every event automatically. ⚠️ The correct Chinese AE term is "公共事件属性" or "公共属性". Never translate "Super Property" as "超级属性" — that is NOT a valid AE term. |
| 用户属性 | User Property | Property on the user profile (persistent state) |
| 预置属性 | Preset Property | System property prefixed with # (#device_id, #time, etc.) |
| 自动采集事件 | Auto-track Event | SDK auto-collected events (ta_app_start, ta_page_show, etc.) |
| 系统事件 | System Event | event_tag value reserved for SDK auto-track events (ta_*). One of two non-module tags (together with 基础事件). |
| 基础事件 | Basic | event_tag value for account-level lifecycle/progression events (register, login, level_up, create_role, etc.). Not tied to any functional module. |
| 功能模块 | Functional Module | event_tag value for feature-specific business events; identifies which module the event belongs to (e.g. Battle, Shop, Ads, Payment, Basic) |
| SDK 集成模式 | SDK Integration Mode | client_only / server_only / both / none |
| 客户端平台 | Client Platform | Android, iOS, Web, Unity, Mini-program, etc. |
| 服务端语言 | Server Language | Java, Python, Go, Node.js, PHP, etc. |
| 用户体系 | User Identity System | distinct_id strategy + account_id source |
| 访客 ID | Visitor ID / Distinct ID | Anonymous identity before login |
| 账号 ID | Account ID | Identified user after login |
| 插入 | Insert | Direct code injection into project |
| 片段 | Snippet | Code delivered as standalone files |
| 对象组 | Object Array (array_row) | [{...}] — variable-length list of related entities |
| 对象 | Object (object) | {...} — fixed-structure single entity |
| 校验 | Validation | Draft rule checking before xlsx generation |
| 上传 | Upload | Pushing the xlsx tracking plan to AE |
| 追加 | Append | Adding new events/properties to an existing plan |
| 替换 | Replace | Deleting existing plan and uploading a new one |
| 冲突检测 | Conflict Detection | Detecting type mismatches and duplicate events before upload |
| 归档 | Archive | Copying final draft.xlsx to plans/ directory |
| xlsx 格式契约 | xlsx Format Contract | Column rules for AE-compatible Excel generation |
| draft.json | draft.json | Internal intermediate representation (JSON) of the tracking plan |
| display_name | Display Name | Human-readable name in the user's language |
| event_tag | Event Tag | Functional module the event belongs to (e.g. Battle, Shop, Ads, Payment). Auto-track events use "System Event". |
| snake_case | snake_case | Canonical naming format: lowercase_with_underscores |
When to Trigger
Trigger when user mentions: "tracking plan / tracking template / AE plan / help me create tracking" etc. App types covered: H5 / Web / iOS / Android / Mini-program / Unity. Follow strictly Phase 0 → 1 → 2 → 3 → 4, do not skip steps.
Phase 1 / 3 / 4 are executed viaae-cli trackingCLI (ae-cli tracking plan draft/ae-cli auth login/ae-cli tracking plan upload/ae-cli tracking plan delete). All CLI commands must be prefixed with `AE_LANG=<user_lang>` (e.g.AE_LANG=en ae-cli tracking plan draft ...), ensuring CLI output messages and generated xlsx headers match the user's language. Upload commands MUST also pass--lang <user_lang>so the server parses the uploaded xlsx with the same sheet/header language. Language rules: For newly generated content, user-facing fields in draft.json (display_name,event_desc,event_tag, propertydisplay_name, propertydesc, etc.) should be generated in the user's input language. Every event, event property, common event property, and user property must have a non-emptydisplay_name. A canonical snake_case identifier is not a substitute for a user-facing display name. For imported templates, do NOT translate those fields manually. Template sheet names, headers, property type display values, CLI messages, and auto-track/i18n-owned labels must come fromsrc/tracking/i18nviaAE_LANG=<user_lang>anddraft.meta.lang. When a localized label is needed, inspectsrc/tracking/i18nand use the existing resource key/value; do not invent translations from the model. If template business text needs localization and the CLI/i18n resources do not provide it, preserve the imported text and ask the user before rewriting business semantics. Only identifier fields likeevent_name,prop_nameremain in English. Property names aresnake_case; event names are lowercase by default, uppercase only when the user asks to preserve it. This skill only cares about command behavior, not internal implementation.
Phase 0 — Anchor (one question per message)
Step 1: Language initialization Determine<user_lang>from user's input language: Chinese→zh, English→en, Japanese→ja, Korean→ko. Other languages default toen. All subsequent CLI commands must be prefixed withAE_LANG=<user_lang>to ensure CLI output and generated xlsx headers match the user's language. When uploading the xlsx, pass--lang <user_lang>as well; it must matchdraft.meta.lang/ the generated xlsx language.
Collect the following 5 items sequentially, do NOT ask all at once:
Item 1 — Application Scenario
Ask: "What is your application's business scenario? One sentence summary, e.g.: An e-commerce website where users browse products and place orders"
After user responds, record to meta.scenario and generate meta.plan_name.
Item 2 — Source Material + Business Dimension (combined)
More from thinkingaiagenticengine
Use this skill in a project
Open any RiverX project, search the Skills panel for thinkingaiagenticengine/ae-cli/ae-generate-tracking-plan, and install it in one click.
