CtrlK
BlogDocsLog inGet started
Tessl Logo

sleep-analyzer

分析睡眠数据、识别睡眠模式、评估睡眠质量,并提供个性化睡眠改善建议。支持与其他健康数据的关联分析。

52

Quality

58%

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

Fix and improve this skill with Tessl

tessl review fix ./plugins/AI-Agents-Safe-Coding-Skills-claude/skills/sleep-analyzer/SKILL.md

The canonical home for this skill is sleep-analyzer in administrakt0r/AI-Agents-Safe-Coding-Skills

SKILL.md
Quality
Evals
Security

Quality

Content

46%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.

The skill is richly actionable with real algorithms and concrete data schemas, but it is held back by heavy verbosity and a monolithic structure with no progressive disclosure. The workflow lacks explicit validation checkpoints despite involving statistical analysis.

Suggestions

Move the full worked example report and the algorithm code into separate reference files under ./references/ and link to them from the body, keeping SKILL.md as a lean overview.

Trim or compress the illustrative sample report; it is padding that competes with the context window without teaching Claude anything new.

Add explicit validation/checkpoint steps to the '执行步骤' workflow (e.g. verify data completeness, sanity-check correlation p-values before reporting) to lift workflow clarity above 3.

DimensionReasoningScore

Conciseness

The body is noticeably verbose: a ~330-line fully-worked sample report (trend charts, tables, every correlation, long-term goals) and full Python algorithms pad the context with illustrative output and concepts Claude already understands.

2 / 5

Actionability

It provides concrete, mostly-executable Python (calculate_sleep_quality_score, calculate_correlation) plus specific data file paths and thresholds (latency >30min, STOP-BANG ≥3), with only minor gaps such as undefined helper functions and an unimported scipy dependency.

4 / 5

Workflow Clarity

The '执行步骤' section sequences four steps (确定范围→读取数据→数据分析→生成报告) and lists data sources, but there are no validation/verification checkpoints for the statistical analysis or output, leaving checkpoints implicit.

3 / 5

Progressive Disclosure

No bundle/reference files exist, so everything is inlined into one monolithic file; the full example report and algorithm reference clearly belong in separate reference files, and references are bare URLs rather than signaled file links.

2 / 5

Total

11

/

20

Passed

Description

71%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.

The description is specific and action-rich with a clear sleep niche, but it lacks an explicit 'Use when...' trigger clause and misses some natural synonyms, capping completeness and trigger-term quality. Overall it is solid but would benefit from explicit trigger phrasing.

Suggestions

Add an explicit 'Use when...' clause (e.g. '当用户请求睡眠趋势分析、睡眠质量评估、睡眠问题识别或睡眠改善建议时使用') to lift completeness above 3.

Include natural synonyms users actually say — '失眠、入睡困难、打鼾、睡眠呼吸暂停' — and consider file extensions if relevant data files have them.

Tighten the cross-health correlation phrasing so it does not blur the distinct sleep focus and raise conflict risk.

DimensionReasoningScore

Specificity

The description lists multiple concrete actions across the sleep domain — '分析睡眠数据、识别睡眠模式、评估睡眠质量,并提供个性化睡眠改善建议' plus '与其他健康数据的关联分析' — giving comprehensive coverage rather than vague abstraction.

5 / 5

Completeness

It clearly answers 'what' the skill does, but provides no explicit 'Use when...' trigger guidance, which per the rubric caps completeness at 3 even though the 'what' is clear.

3 / 5

Trigger Term Quality

It surfaces natural terms users would say ('睡眠数据、睡眠模式、睡眠质量、睡眠改善建议、健康数据'), but omits common synonyms and phrasings such as '失眠' or '入睡' and includes no file extensions, so coverage is good rather than comprehensive.

4 / 5

Distinctiveness Conflict Risk

Sleep analysis is a distinct niche with clear sleep-specific triggers and minimal conflict risk; the only mild overlap comes from the cross-health-data correlation feature, keeping it just below a fully conflict-free 5.

4 / 5

Total

16

/

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

skill_md_line_count

SKILL.md is long (776 lines); consider splitting into references/ and linking

Warning

allowed_tools_field

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

Warning

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

13

/

16

Passed

Repository
administrakt0r/AI-Agents-Safe-Coding-Skills
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.