Post-Analysis: Metrics Recommendation

Analyze source code to recommend KPIs and analytics events.

Updated Mar 5, 2026
One-click install
npx skills add https://github.com/vp-k/auto-complete-loop --skill post-analysis-metrics-recommendation
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Post-Analysis: Metrics Recommendation
Source: https://github.com/vp-k/auto-complete-loop/tree/main/skills/post-analysis/metrics-recommendation
Command: npx skills add https://github.com/vp-k/auto-complete-loop --skill post-analysis-metrics-recommendation

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the process of identifying key performance indicators (KPIs) and analytics events based on source code, ensuring comprehensive and relevant data tracking for software projects.

Core Features & Use Cases

  • Feature Identification: Automatically extracts user-facing features from code (routes, API endpoints, user actions).
  • KPI Mapping: Suggests relevant KPIs across usage, conversion, engagement, churn, and error categories for each identified feature.
  • Analytics Event Generation: Recommends specific analytics event tracking code based on detected libraries (e.g., Firebase Analytics, Mixpanel) or provides pseudocode.
  • Dashboard Prototyping: Drafts a dashboard structure including a North Star Metric (NSM) and key panels with suggested visualizations and thresholds.
  • Use Case: After implementing a new user authentication flow, this Skill can analyze the relevant code to suggest KPIs like "Sign-up Conversion Rate" and "Time to First Login," along with analytics events to track each step of the sign-up process.

Quick Start

Analyze the source code in the 'src/' directory to recommend KPIs and analytics events.

Frequently Asked Questions about Post-Analysis: Metrics Recommendation

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I identify the right KPIs and analytics events for my software project?

To identify the right KPIs and analytics events, you can analyze your source code to automatically extract user-facing features from routes and API endpoints, mapping them to relevant metrics across usage, conversion, engagement, churn, and error categories.

How do I generate analytics event tracking code from my existing source code?

You can generate analytics event tracking code by analyzing your codebase to detect existing libraries like Firebase Analytics or Mixpanel, then outputting specific tracking code snippets or pseudocode tailored to those platforms for your identified user actions.

What is a North Star Metric and how do I prototype a dashboard for it?

A North Star Metric (NSM) represents the core value your product delivers to customers. You can prototype a dashboard structure by analyzing code to propose an NSM alongside key panels, suggested visualizations, and specific performance thresholds.

Can I recommend metrics for specific features like a user authentication flow?

Yes, you can recommend metrics for specific features like a user authentication flow by analyzing the relevant source code to suggest targeted KPIs like Sign-up Conversion Rate and Time to First Login, along with tracking events for each step.

Does this tool work without integrating external analytics dependencies?

Yes, it works without external dependencies by analyzing your source code to map user actions to metric categories, providing pseudocode for event tracking when specific analytics libraries are not detected in your environment.

What is the best way to map API endpoints to engagement and churn metrics?

The best way to map API endpoints to engagement and churn metrics is to analyze source code routes and user actions, automatically linking each endpoint's functionality to relevant KPI categories for comprehensive data tracking.