CtrlK
BlogDocsLog inGet started
Tessl Logo

1k-analytics

Analytics event tracking for OneKey. Use when adding tracking events, logging to server, user behavior tracking, or business metrics. Covers the @LogToServer decorator pattern, logger scope/scene architecture, and common pitfalls. Triggers on "埋点", "统计", "打点", "数据追踪", "日志", "analytics", "tracking event", "Mixpanel", "LogToServer", "trackEvent", "defaultLogger".

72

Quality

90%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

SKILL.md
Quality
Evals
Security

Quality

Content

86%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A well-structured, actionable body with executable code, a clear sequenced workflow, and clean one-level-deep references to real bundle files. Minor opportunities are slight redundancy between the quick-reference table and the quick-steps section, and the absence of an explicit event-firing verification step.

Suggestions

Consolidate the 'Quick Reference' table and 'Adding a Server Event (Quick Steps)' section to remove overlap on the adding-events topic and free token budget.

Add a brief verification step to the quick-steps workflow (e.g., confirm the event name matches the method name and check it appears in Mixpanel/dev console) to close the workflow-clarity gap.

State the file-path convention once (e.g., 'Scene files live in packages/shared/src/logger/scopes/{scope}/scenes/') instead of repeating it inline in each code comment.

DimensionReasoningScore

Conciseness

The body is lean and assumes Claude's competence (no explanations of what a decorator or Mixpanel is), but the 'Quick Reference' table and the 'Adding a Server Event (Quick Steps)' section partially overlap on the same adding-events topic, leaving minor trimming opportunity; sits above the midpoint rather than at the fully-lean 5.

4 / 5

Actionability

Provides copy-paste-ready, complete TypeScript examples with imports and file paths for creating a scene, registering it in a scope index, and calling from business code, plus a concrete decorator-types table — fully executable and covering the common cases.

5 / 5

Workflow Clarity

The 'Adding a Server Event' section gives a clearly sequenced three-step process with concrete file paths; because adding an analytics event is additive rather than destructive/batch, the destructive-cap does not apply, but no verification step (e.g., confirming the event fires or appears in Mixpanel) is included, keeping it just below 5.

4 / 5

Progressive Disclosure

Clear overview body with a well-signaled Quick Reference table linking one level deep to three real reference files (adding-events.md, architecture.md, pitfalls.md — all present in references/rules/), with detail appropriately split out and easy navigation.

5 / 5

Total

18

/

20

Passed

Description

95%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong, third-person description that explicitly states both capability and trigger conditions with comprehensive bilingual keyword coverage. The only minor weakness is that the listed actions are slightly abstract rather than maximally granular.

DimensionReasoningScore

Specificity

Names the domain ('Analytics event tracking for OneKey') and several concrete capabilities ('adding tracking events, logging to server, user behavior tracking, or business metrics') plus specific patterns ('@LogToServer decorator pattern, logger scope/scene architecture, and common pitfalls'); the actions are somewhat abstract rather than granular, so it sits just below the comprehensive 5 anchor.

4 / 5

Completeness

Explicitly answers both what ('Analytics event tracking for OneKey ... Covers the @LogToServer decorator pattern, logger scope/scene architecture, and common pitfalls') and when ('Use when adding tracking events, logging to server, user behavior tracking, or business metrics' plus an explicit 'Triggers on ...' clause), matching the 5 anchor.

5 / 5

Trigger Term Quality

Comprehensive bilingual coverage of natural terms users actually say — Chinese ('埋点', '统计', '打点', '数据追踪', '日志') and English ('analytics', 'tracking event', 'Mixpanel', 'LogToServer', 'trackEvent', 'defaultLogger') — including synonyms and technical identifiers.

5 / 5

Distinctiveness Conflict Risk

Clear OneKey-specific niche with distinct triggers (Mixpanel, LogToServer, scope/scene architecture, Chinese 埋点/打点 terms) and minimal overlap with other skills.

5 / 5

Total

19

/

20

Passed

Validation

81%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation13 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

allowed_tools_field

'allowed-tools' contains unusual tool name(s)

Warning

relative_links

Relative link issues: 3 deeper-than-1-level

Warning

referenced_paths_exist

Referenced path issues: 3 deeper-than-1-level

Warning

Total

13

/

16

Passed

Repository
OneKeyHQ/app-monorepo
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.