Automated Behavioral Data Analysis
Core Principles
- Behavior Doesn't Lie — Actual user behavior is more reliable than self-reported data; behavioral data serves as the factual baseline
- Funnels Are Symptoms, Not Causes — Funnel breakage points indicate problem manifestations; need to dig deeper into the last behaviors and characteristics of churned users
- Aha Moment Is Causation, Not Correlation — Candidate behaviors must be validated through predictive power; correlation ≠ causation
- Anomalies Are Signals, Not Noise — Metric spikes/gradual changes/cyclical anomalies all require attribution; they should not be ignored or simply smoothed out
Interaction Mode
🤖 AI Auto-Execution — No human intervention required, fully automated
Input
| Input Item |
Type |
Required |
Source |
Description |
| event_data |
JSON |
Yes |
User provided |
User behavior event logs (clicks, views, submissions, etc.) |
| funnel_data |
JSON |
Yes |
User provided |
Conversion funnel step-by-step data |
| heatmap_data |
JSON |
○ |
User provided |
Page heatmap data (click heatmaps, scroll heatmaps) |
| analysis_config |
object |
○ |
User provided |
Analysis configuration (anomaly sensitivity, funnel granularity, cohort dimensions) |
Input Format
{
"data_sources": [
{
"type": "event_data",
"location": "string",
"time_range": "string",
"events_tracked": ["string"],
"daily_active_users": "number"
},
{
"type": "funnel_data",
"location": "string",
"funnel_steps": ["string"],
"time_range": "string"
},
{
"type": "heatmap_data",
"location": "string",
"pages_covered": ["string"],
"time_range": "string"
}
],
"analysis_config": {
"anomaly_sensitivity": "high|medium|low",
"funnel_granularity": "daily|weekly|monthly",
"cohort_dimensions": ["string"]
}
}
Data Source Descriptions:
event_data: User behavior event logs (clicks, views, submissions, etc.)
funnel_data: Conversion funnel step-by-step data
heatmap_data: Page heatmap data (click heatmaps, scroll heatmaps)
Execution Steps
Step 1: Funnel Health Diagnosis [Core]
- Calculate conversion rate for each funnel step
- Identify steps with abnormally low conversion rates (below industry benchmark or 1 standard deviation below historical average)
- Analyze characteristics of churned users at each step (last action, time spent, device, etc.)
- Calculate overall funnel health score (0-100)
- Output: Funnel diagnosis report, including conversion rates per step, churn analysis, health score
Step 2: Behavioral Path Analysis [Core]
- Extract actual user behavioral paths (not preset paths)
- Identify high-frequency paths and anomalous paths
- Discover user "detour" behaviors (reaching goals via unexpected paths)
- Identify user "lost" behaviors (repeatedly jumping between multiple pages)
- Output: Behavioral path map, annotated with high-frequency paths, detours, and lost points
Step 3: Feature Usage Depth Analysis [Core]
- Calculate usage rate for each feature (reached users / active users)
- Analyze feature usage depth (discover only → try → deep use → paid conversion)
- Identify high-value but low-usage features (discovery barriers)
- Identify low-value but high-usage features (potentially misleading users)
- Output: Feature usage matrix (usage rate × value score)
Step 4: Anomaly Detection [Core]
- Perform time-series anomaly detection on key behavioral metrics
- Detection dimensions: DAU, retention, core feature usage rate, conversion rate
- Anomaly types: Spike (single-day large change), Gradual (sustained trend change), Cyclical (inconsistent with historical cycles)
- Correlate anomalies with possible causes (version releases, external events, data issues)
- Output: Anomaly event list, including anomaly type, impact scope, possible causes, confidence
Output Depth Levels
| Depth Level |
Output Scope |
Description |
| quick |
Behavior patterns and usage insights |
Core conclusions + minimum viable deliverable |
| standard |
Complete deliverable (current default) |
Complete deliverable, including all Step outputs |
| deep |
Complete analysis + behavioral sequence mining + user segmentation deep analysis + behavior prediction model |
Complete deliverable + extended analysis + deep inference |
Output
Output file: output/pm-discovery/user-research-behavior-analysis/behavior-analysis.json
Output Schema:
{
"type": "object",
"required": ["funnel_health", "aha_moment_candidates", "feature_usage", "metadata"],
"properties": {
"funnel_health": {"type": "object", "description": "Funnel health diagnosis, including conversion rates per step and health score"},
"aha_moment_candidates": {"type": "array", "description": "Aha Moment candidate list"},
"feature_usage": {"type": "array", "description": "Feature usage depth analysis list"},
"behavior_paths": {"type": "object", "description": "Behavioral path analysis, including high-frequency paths, detours, and lost patterns"},
"anomalies": {"type": "array", "description": "Anomaly event detection list"},
"metadata": {"type": "object", "description": "Analysis metadata, including timestamp and confidence"}
}
}
Output Validation Rules:
| Field Path |
Type |
Required |
Description |
| funnel_health.overall_score |
number |
Yes |
Overall funnel health score, 0-100 |
| funnel_health.steps |
array |
Yes |
Funnel steps data, each item must contain step_name, conversion_rate, drop_off_rate, confidence |
| funnel_health.steps[].step_name |
string |
Yes |
Step name, cannot be empty |
| funnel_health.steps[].conversion_rate |
number |
Yes |
Conversion rate, 0-1 |
| funnel_health.steps[].drop_off_rate |
number |
Yes |
Drop-off rate, 0-1 |
| funnel_health.steps[].is_anomaly |
boolean |
Yes |
Whether this step is anomalous |
| funnel_health.steps[].confidence |
number |
Yes |
Step confidence, 0-1 |
| funnel_health.trend |
string |
Yes |
Trend enum: improving/stable/declining |
| aha_moment_candidates |
array |
Yes |
Aha Moment candidate list, each item must contain behavior_pattern, correlation_with_retention, predictive_power, confidence |
| aha_moment_candidates[].behavior_pattern |
string |
Yes |
Behavior pattern description, cannot be empty |
| aha_moment_candidates[].correlation_with_retention |
number |
Yes |
Correlation with retention, < 0.3 marked as "insufficient predictive power" |
| aha_moment_candidates[].predictive_power |
number |
Yes |
Predictive power score, 0-1 |
| aha_moment_candidates[].confidence |
number |
Yes |
Candidate confidence, 0-1 |
| feature_usage |
array |
Yes |
Feature usage list, each item must contain feature_name, adoption_rate, value_score, usage_vs_value_quadrant, confidence |
| feature_usage[].feature_name |
string |
Yes |
Feature name, cannot be empty |
| feature_usage[].adoption_rate |
number |
Yes |
Adoption rate, 0-1 |
| feature_usage[].value_score |
number |
Yes |
Value score, 0-1 |
| feature_usage[].usage_vs_value_quadrant |
string |
Yes |
Quadrant enum: high_value_high_use/high_value_low_use/low_value_high_use/low_value_low_use |
| feature_usage[].confidence |
number |
Yes |
Feature confidence, 0-1 |
| behavior_paths.top_paths |
array |
No |
High-frequency paths list |
| behavior_paths.top_paths[].path |
string[] |
Yes |
Path step sequence |
| behavior_paths.top_paths[].user_count |
number |
Yes |
Number of users using this path |
| behavior_paths.top_paths[].avg_completion_time |
number |
Yes |
Average completion time (seconds) |
| behavior_paths.detour_patterns |
array |
No |
Detour patterns list |
| behavior_paths.detour_patterns[].description |
string |
Yes |
Detour description, cannot be empty |
| behavior_paths.detour_patterns[].affected_user_ratio |
number |
Yes |
Affected user ratio, 0-1 |
| behavior_paths.detour_patterns[].possible_cause |
string |
Yes |
Possible cause |
| behavior_paths.lost_patterns |
array |
No |
Lost patterns list |
| behavior_paths.lost_patterns[].description |
string |
Yes |
Lost description, cannot be empty |
| behavior_paths.lost_patterns[].affected_user_ratio |
number |
Yes |
Affected user ratio, 0-1 |
| behavior_paths.lost_patterns[].loop_pages |
string[] |
Yes |
Loop jumping pages list |
| anomalies |
array |
No |
Anomaly events list, each item must contain metric, anomaly_type, detected_date, magnitude, possible_causes, confidence |
| anomalies[].metric |
string |
Yes |
Anomalous metric name, cannot be empty |
| anomalies[].anomaly_type |
string |
Yes |
Anomaly type enum: spike/gradual/cyclical |
| anomalies[].detected_date |
string |
Yes |
Detection date, ISO 8601 format |
| anomalies[].magnitude |
number |
Yes |
Change magnitude |
| anomalies[].possible_causes |
string[] |
Yes |
Possible causes list |
| anomalies[].impact_scope |
string |
No |
Impact scope |
| anomalies[].confidence |
number |
Yes |
Anomaly confidence, 0-1 |
| metadata.analysis_timestamp |
string |
Yes |
Analysis timestamp |
| metadata.data_quality_flags |
string[] |
Yes |
Data quality flags |
| metadata.confidence_overall |
number |
Yes |
Overall confidence, 0-1 |
{
"funnel_health": {
"overall_score": "number",
"steps": [
{
"step_name": "string",
"conversion_rate": "number",
"drop_off_rate": "number",
"is_anomaly": "boolean",
"anomaly_description": "string",
"lost_user_profile": {
"last_action": "string",
"avg_time_spent": "number",
"device_distribution": {}
},
"confidence": "number"
}
],
"trend": "improving|stable|declining"
},
"aha_moment_candidates": [
{
"behavior_pattern": "string",
"correlation_with_retention": "number",
"user_segment": "string",
"threshold": "string",
"predictive_power": "number",
"confidence": "number"
}
],
"feature_usage": [
{
"feature_name": "string",
"discovery_rate": "number",
"adoption_rate": "number",
"depth_distribution": {
"discover_only": "number",
"try_once": "number",
"regular_use": "number",
"power_use": "number"
},
"value_score": "number",
"usage_vs_value_quadrant": "high_value_high_use|high_value_low_use|low_value_high_use|low_value_low_use",
"confidence": "number"
}
],
"behavior_paths": {
"top_paths": [
{
"path": ["string"],
"user_count": "number",
"avg_completion_time": "number"
}
],
"detour_patterns": [
{
"description": "string",
"affected_user_ratio": "number",
"possible_cause": "string"
}
],
"lost_patterns": [
{
"description": "string",
"affected_user_ratio": "number",
"loop_pages": ["string"]
}
]
},
"anomalies": [
{
"metric": "string",
"anomaly_type": "spike|gradual|cyclical",
"detected_date": "string",
"magnitude": "number",
"possible_causes": ["string"],
"impact_scope": "string",
"confidence": "number"
}
],
"metadata": {
"analysis_timestamp": "string",
"data_quality_flags": ["string"],
"confidence_overall": "number"
}
}
Decision Rules
| Condition |
Action |
| Key metric daily day-over-day change > 15% |
Trigger alert, mark as "requires immediate attention", pause automated process and notify human |
| Funnel health score < 40 |
Mark "funnel severely unhealthy", recommend entering deep diagnosis |
| Aha Moment candidate predictive power < 0.3 |
Mark "insufficient predictive power", do not recommend as Aha Moment |
| Feature adoption rate < 5% and value score high |
Mark "discovery barrier", recommend usability analysis |
| Data source missing key steps |
Mark "incomplete data", degrade funnel analysis to "partial analysis" |
Quality Checks
P0 Checks (must pass for quick/standard/deep)
P1 Checks (must pass for standard/deep)
P2 Checks (must pass for deep only)
Degradation Strategy
When upstream files do not exist, this Skill can still execute independently:
| Missing Upstream Input |
Degradation Plan |
Output Impact |
Data Acquisition Instructions |
| All data sources missing |
Prompt user to provide behavioral data first, or directly execute analysis based on user-provided event data/funnel data |
funnel_health, feature_usage, etc. fields are empty, confidence drops to 0 |
Ask user to provide behavioral event logs and funnel data |
| If user has not provided event_data |
Prompt user to provide behavioral event logs, otherwise core behavioral data source is lacking |
aha_moment_candidates and behavior_paths cannot be generated, feature usage analysis is missing |
Ask user to provide user behavior event logs (including event name, timestamp, user ID) |
| If user has not provided funnel_data |
Prompt user to provide funnel data, otherwise funnel health diagnosis cannot be executed |
funnel_health field annotated "data missing", overall health score unavailable |
Ask user to provide funnel step user counts and conversion rate data |
| If user has not provided heatmap_data |
Skip steps related to this input, heatmap data not included in analysis |
Behavioral path analysis lacks heatmap dimension, page-level insights missing |
Ask user to provide page heatmap data or click distribution data |
| If user has not provided analysis_config |
Skip steps related to this input, use default analysis configuration |
Using default configuration, anomaly detection sensitivity and funnel granularity may not be optimal |
Ask user to provide analysis parameter configuration such as anomaly detection sensitivity and funnel granularity |
Data Acquisition Instructions
This Skill requires behavioral data (event logs, funnel data, heatmap data). Please provide through one of the following methods:
- Directly paste event data or funnel step data
- Upload CSV/Excel/JSON files
- Provide data file paths
- AI is not responsible for external data collection, only for analysis
Upstream Change Response
Upstream Change Impact
This Skill is a starting Skill with no upstream file dependencies; upstream change impact is not applicable.
Downstream Notification Mechanism
| Downstream Skill |
Notification Trigger Condition |
Notification Method |
Notification Content |
| user-research-user-modeling |
behavior-analysis.json update completed |
Write to output file |
Notify that behavioral segmentation, Aha Moment, and feature usage data are ready |
| user-research-report |
behavior-analysis.json update completed |
Write to output file |
Notify that funnel health, behavioral paths, and anomaly detection data are ready |
1---2name: user-research-behavior-analysis3description: "Use when there is a need to diagnose funnel health, discover Aha Moments, and analyze feature usage depth from event data, funnel data, and heatmap data. Behavioral data automated analysis pipeline. Keywords: behavior analysis, funnel analysis, Aha Moment, feature usage analysis, anomaly detection, user churn, conversion rate, user behavior anomaly."4metadata:5 source: https://skillmd.com/skills/luckyonetwothree/user-research-behavior-analysis6 module: "Product Discovery"7 sub-module: "User Research"8 type: "pipeline"9 version: "2.1"10 domain_tags: ["Internet", "SaaS", "General"]11 trigger_examples:12 - "Where are users churning"13 - "Why is the funnel conversion rate so low"14 - "Are there any anomalies in user behavior"15 interaction_mode: "ai_auto"16execution_depth:17 default: standard18 quick_description: "Directly output behavior patterns and usage insights"19 deep_description: "Complete analysis + behavioral sequence mining + user segmentation deep analysis + behavior prediction model"20---2122# Automated Behavioral Data Analysis2324## Core Principles25261. **Behavior Doesn't Lie** — Actual user behavior is more reliable than self-reported data; behavioral data serves as the factual baseline272. **Funnels Are Symptoms, Not Causes** — Funnel breakage points indicate problem manifestations; need to dig deeper into the last behaviors and characteristics of churned users283. **Aha Moment Is Causation, Not Correlation** — Candidate behaviors must be validated through predictive power; correlation ≠ causation294. **Anomalies Are Signals, Not Noise** — Metric spikes/gradual changes/cyclical anomalies all require attribution; they should not be ignored or simply smoothed out3031## Interaction Mode3233🤖 **AI Auto-Execution** — No human intervention required, fully automated3435---3637## Input3839| Input Item | Type | Required | Source | Description |40|--------|------|------|------|------|41| event_data | JSON | Yes | User provided | User behavior event logs (clicks, views, submissions, etc.) |42| funnel_data | JSON | Yes | User provided | Conversion funnel step-by-step data |43| heatmap_data | JSON | ○ | User provided | Page heatmap data (click heatmaps, scroll heatmaps) |44| analysis_config | object | ○ | User provided | Analysis configuration (anomaly sensitivity, funnel granularity, cohort dimensions) |4546### Input Format4748```json49{50 "data_sources": [51 {52 "type": "event_data",53 "location": "string",54 "time_range": "string",55 "events_tracked": ["string"],56 "daily_active_users": "number"57 },58 {59 "type": "funnel_data",60 "location": "string",61 "funnel_steps": ["string"],62 "time_range": "string"63 },64 {65 "type": "heatmap_data",66 "location": "string",67 "pages_covered": ["string"],68 "time_range": "string"69 }70 ],71 "analysis_config": {72 "anomaly_sensitivity": "high|medium|low",73 "funnel_granularity": "daily|weekly|monthly",74 "cohort_dimensions": ["string"]75 }76}77```7879**Data Source Descriptions**:80- `event_data`: User behavior event logs (clicks, views, submissions, etc.)81- `funnel_data`: Conversion funnel step-by-step data82- `heatmap_data`: Page heatmap data (click heatmaps, scroll heatmaps)8384---8586## Execution Steps8788### Step 1: Funnel Health Diagnosis [Core]8990- Calculate conversion rate for each funnel step91- Identify steps with abnormally low conversion rates (below industry benchmark or 1 standard deviation below historical average)92- Analyze characteristics of churned users at each step (last action, time spent, device, etc.)93- Calculate overall funnel health score (0-100)94- Output: Funnel diagnosis report, including conversion rates per step, churn analysis, health score9596### Step 2: Behavioral Path Analysis [Core]9798- Extract actual user behavioral paths (not preset paths)99- Identify high-frequency paths and anomalous paths100- Discover user "detour" behaviors (reaching goals via unexpected paths)101- Identify user "lost" behaviors (repeatedly jumping between multiple pages)102- Output: Behavioral path map, annotated with high-frequency paths, detours, and lost points103104### Step 3: Feature Usage Depth Analysis [Core]105106- Calculate usage rate for each feature (reached users / active users)107- Analyze feature usage depth (discover only → try → deep use → paid conversion)108- Identify high-value but low-usage features (discovery barriers)109- Identify low-value but high-usage features (potentially misleading users)110- Output: Feature usage matrix (usage rate × value score)111112### Step 4: Anomaly Detection [Core]113114- Perform time-series anomaly detection on key behavioral metrics115- Detection dimensions: DAU, retention, core feature usage rate, conversion rate116- Anomaly types: Spike (single-day large change), Gradual (sustained trend change), Cyclical (inconsistent with historical cycles)117- Correlate anomalies with possible causes (version releases, external events, data issues)118- Output: Anomaly event list, including anomaly type, impact scope, possible causes, confidence119120---121122### Output Depth Levels123124| Depth Level | Output Scope | Description |125|----------|----------|------|126| quick | Behavior patterns and usage insights | Core conclusions + minimum viable deliverable |127| standard | Complete deliverable (current default) | Complete deliverable, including all Step outputs |128| deep | Complete analysis + behavioral sequence mining + user segmentation deep analysis + behavior prediction model | Complete deliverable + extended analysis + deep inference |129130## Output131132Output file: `output/pm-discovery/user-research-behavior-analysis/behavior-analysis.json`133134**Output Schema**:135136```json137{138 "type": "object",139 "required": ["funnel_health", "aha_moment_candidates", "feature_usage", "metadata"],140 "properties": {141 "funnel_health": {"type": "object", "description": "Funnel health diagnosis, including conversion rates per step and health score"},142 "aha_moment_candidates": {"type": "array", "description": "Aha Moment candidate list"},143 "feature_usage": {"type": "array", "description": "Feature usage depth analysis list"},144 "behavior_paths": {"type": "object", "description": "Behavioral path analysis, including high-frequency paths, detours, and lost patterns"},145 "anomalies": {"type": "array", "description": "Anomaly event detection list"},146 "metadata": {"type": "object", "description": "Analysis metadata, including timestamp and confidence"}147 }148}149```150151**Output Validation Rules**:152153| Field Path | Type | Required | Description |154|----------|------|------|------|155| funnel_health.overall_score | number | Yes | Overall funnel health score, 0-100 |156| funnel_health.steps | array | Yes | Funnel steps data, each item must contain step_name, conversion_rate, drop_off_rate, confidence |157| funnel_health.steps[].step_name | string | Yes | Step name, cannot be empty |158| funnel_health.steps[].conversion_rate | number | Yes | Conversion rate, 0-1 |159| funnel_health.steps[].drop_off_rate | number | Yes | Drop-off rate, 0-1 |160| funnel_health.steps[].is_anomaly | boolean | Yes | Whether this step is anomalous |161| funnel_health.steps[].confidence | number | Yes | Step confidence, 0-1 |162| funnel_health.trend | string | Yes | Trend enum: improving/stable/declining |163| aha_moment_candidates | array | Yes | Aha Moment candidate list, each item must contain behavior_pattern, correlation_with_retention, predictive_power, confidence |164| aha_moment_candidates[].behavior_pattern | string | Yes | Behavior pattern description, cannot be empty |165| aha_moment_candidates[].correlation_with_retention | number | Yes | Correlation with retention, < 0.3 marked as "insufficient predictive power" |166| aha_moment_candidates[].predictive_power | number | Yes | Predictive power score, 0-1 |167| aha_moment_candidates[].confidence | number | Yes | Candidate confidence, 0-1 |168| feature_usage | array | Yes | Feature usage list, each item must contain feature_name, adoption_rate, value_score, usage_vs_value_quadrant, confidence |169| feature_usage[].feature_name | string | Yes | Feature name, cannot be empty |170| feature_usage[].adoption_rate | number | Yes | Adoption rate, 0-1 |171| feature_usage[].value_score | number | Yes | Value score, 0-1 |172| feature_usage[].usage_vs_value_quadrant | string | Yes | Quadrant enum: high_value_high_use/high_value_low_use/low_value_high_use/low_value_low_use |173| feature_usage[].confidence | number | Yes | Feature confidence, 0-1 |174| behavior_paths.top_paths | array | No | High-frequency paths list |175| behavior_paths.top_paths[].path | string[] | Yes | Path step sequence |176| behavior_paths.top_paths[].user_count | number | Yes | Number of users using this path |177| behavior_paths.top_paths[].avg_completion_time | number | Yes | Average completion time (seconds) |178| behavior_paths.detour_patterns | array | No | Detour patterns list |179| behavior_paths.detour_patterns[].description | string | Yes | Detour description, cannot be empty |180| behavior_paths.detour_patterns[].affected_user_ratio | number | Yes | Affected user ratio, 0-1 |181| behavior_paths.detour_patterns[].possible_cause | string | Yes | Possible cause |182| behavior_paths.lost_patterns | array | No | Lost patterns list |183| behavior_paths.lost_patterns[].description | string | Yes | Lost description, cannot be empty |184| behavior_paths.lost_patterns[].affected_user_ratio | number | Yes | Affected user ratio, 0-1 |185| behavior_paths.lost_patterns[].loop_pages | string[] | Yes | Loop jumping pages list |186| anomalies | array | No | Anomaly events list, each item must contain metric, anomaly_type, detected_date, magnitude, possible_causes, confidence |187| anomalies[].metric | string | Yes | Anomalous metric name, cannot be empty |188| anomalies[].anomaly_type | string | Yes | Anomaly type enum: spike/gradual/cyclical |189| anomalies[].detected_date | string | Yes | Detection date, ISO 8601 format |190| anomalies[].magnitude | number | Yes | Change magnitude |191| anomalies[].possible_causes | string[] | Yes | Possible causes list |192| anomalies[].impact_scope | string | No | Impact scope |193| anomalies[].confidence | number | Yes | Anomaly confidence, 0-1 |194| metadata.analysis_timestamp | string | Yes | Analysis timestamp |195| metadata.data_quality_flags | string[] | Yes | Data quality flags |196| metadata.confidence_overall | number | Yes | Overall confidence, 0-1 |197198```json199{200 "funnel_health": {201 "overall_score": "number",202 "steps": [203 {204 "step_name": "string",205 "conversion_rate": "number",206 "drop_off_rate": "number",207 "is_anomaly": "boolean",208 "anomaly_description": "string",209 "lost_user_profile": {210 "last_action": "string",211 "avg_time_spent": "number",212 "device_distribution": {}213 },214 "confidence": "number"215 }216 ],217 "trend": "improving|stable|declining"218 },219 "aha_moment_candidates": [220 {221 "behavior_pattern": "string",222 "correlation_with_retention": "number",223 "user_segment": "string",224 "threshold": "string",225 "predictive_power": "number",226 "confidence": "number"227 }228 ],229 "feature_usage": [230 {231 "feature_name": "string",232 "discovery_rate": "number",233 "adoption_rate": "number",234 "depth_distribution": {235 "discover_only": "number",236 "try_once": "number",237 "regular_use": "number",238 "power_use": "number"239 },240 "value_score": "number",241 "usage_vs_value_quadrant": "high_value_high_use|high_value_low_use|low_value_high_use|low_value_low_use",242 "confidence": "number"243 }244 ],245 "behavior_paths": {246 "top_paths": [247 {248 "path": ["string"],249 "user_count": "number",250 "avg_completion_time": "number"251 }252 ],253 "detour_patterns": [254 {255 "description": "string",256 "affected_user_ratio": "number",257 "possible_cause": "string"258 }259 ],260 "lost_patterns": [261 {262 "description": "string",263 "affected_user_ratio": "number",264 "loop_pages": ["string"]265 }266 ]267 },268 "anomalies": [269 {270 "metric": "string",271 "anomaly_type": "spike|gradual|cyclical",272 "detected_date": "string",273 "magnitude": "number",274 "possible_causes": ["string"],275 "impact_scope": "string",276 "confidence": "number"277 }278 ],279 "metadata": {280 "analysis_timestamp": "string",281 "data_quality_flags": ["string"],282 "confidence_overall": "number"283 }284}285```286287---288289## Decision Rules290291| Condition | Action |292|------|------|293| Key metric daily day-over-day change > 15% | Trigger alert, mark as "requires immediate attention", pause automated process and notify human |294| Funnel health score < 40 | Mark "funnel severely unhealthy", recommend entering deep diagnosis |295| Aha Moment candidate predictive power < 0.3 | Mark "insufficient predictive power", do not recommend as Aha Moment |296| Feature adoption rate < 5% and value score high | Mark "discovery barrier", recommend usability analysis |297| Data source missing key steps | Mark "incomplete data", degrade funnel analysis to "partial analysis" |298299---300301## Quality Checks302303### P0 Checks (must pass for quick/standard/deep)304305- [ ] Funnel data completeness (all steps have data)306- [ ] Aha Moment candidates have predictive power validation (correlation with retention ≥ 0.3)307308### P1 Checks (must pass for standard/deep)309310- [ ] Behavioral path sample size (≥ 1000 paths)311- [ ] Anomaly detection false positive control (anomaly events must have human-understandable cause hypotheses)312- [ ] All outputs annotated with confidence (100%)313- [ ] Heatmap data timeliness (within the last 30 days)314315### P2 Checks (must pass for deep only)316317- [ ] Extended analysis is complete (deep inference and roadmap generated)318- [ ] Decision records are complete (key decisions have rationale and alternatives)319320---321322## Degradation Strategy323324When upstream files do not exist, this Skill can still execute independently:325326| Missing Upstream Input | Degradation Plan | Output Impact | Data Acquisition Instructions |327|---------------|---------|---------|------------|328| All data sources missing | Prompt user to provide behavioral data first, or directly execute analysis based on user-provided event data/funnel data | funnel_health, feature_usage, etc. fields are empty, confidence drops to 0 | Ask user to provide behavioral event logs and funnel data |329| If user has not provided event_data | Prompt user to provide behavioral event logs, otherwise core behavioral data source is lacking | aha_moment_candidates and behavior_paths cannot be generated, feature usage analysis is missing | Ask user to provide user behavior event logs (including event name, timestamp, user ID) |330| If user has not provided funnel_data | Prompt user to provide funnel data, otherwise funnel health diagnosis cannot be executed | funnel_health field annotated "data missing", overall health score unavailable | Ask user to provide funnel step user counts and conversion rate data |331| If user has not provided heatmap_data | Skip steps related to this input, heatmap data not included in analysis | Behavioral path analysis lacks heatmap dimension, page-level insights missing | Ask user to provide page heatmap data or click distribution data |332| If user has not provided analysis_config | Skip steps related to this input, use default analysis configuration | Using default configuration, anomaly detection sensitivity and funnel granularity may not be optimal | Ask user to provide analysis parameter configuration such as anomaly detection sensitivity and funnel granularity |333334## Data Acquisition Instructions335336This Skill requires behavioral data (event logs, funnel data, heatmap data). Please provide through one of the following methods:337 1. Directly paste event data or funnel step data338 2. Upload CSV/Excel/JSON files339 3. Provide data file paths340- AI is not responsible for external data collection, only for analysis341342---343344## Upstream Change Response345346### Upstream Change Impact347348This Skill is a starting Skill with no upstream file dependencies; upstream change impact is not applicable.349350### Downstream Notification Mechanism351352| Downstream Skill | Notification Trigger Condition | Notification Method | Notification Content |353|-----------|------------|---------|---------|354| user-research-user-modeling | behavior-analysis.json update completed | Write to output file | Notify that behavioral segmentation, Aha Moment, and feature usage data are ready |355| user-research-report | behavior-analysis.json update completed | Write to output file | Notify that funnel health, behavioral paths, and anomaly detection data are ready |