CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

tcm-constitution-analyzer

分析中医体质数据、识别体质类型、评估体质特征,并提供个性化养生建议。支持与营养、运动、睡眠等健康数据的关联分析。

Quality

57%

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 ./skills/tcm-constitution-analyzer/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

42%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 core scoring and determination logic is genuinely executable and the workflow is sequenced, but the skill is heavily padded with a ~270-line inlined sample report and static TCM knowledge that duplicates its own data files, while the trend and correlation functions lack any implementation detail. It needs a strict diet plus reference-file extraction to approach the good examples.

Suggestions

Move the full 体质辨识评估报告 example, constitution characteristics, dietary/acupoint/herbal catalogs, and seasonal advice into a references/ file (e.g. references/report-template.md, references/constitution-profiles.md) and keep SKILL.md as an overview with one-level-deep pointers — this also fixes the duplication with data/constitutions.json and data/constitution-recommendations.json.

Make the trend and correlation analyses actionable: provide concrete code for the linear-regression trend calculation and the correlation/statistical-significance method, and define or point to where CONSTITUTION_QUESTIONS (the 60-item mapping) lives.

Add validation checkpoints to 执行步骤: verify the required data files exist before analysis, check that at least two assessments exist before running trend analysis, and explicitly route 危险信号 detection and the Level 1–3 建议分级 into the report-generation step.

DimensionReasoningScore

Conciseness

The ~660-line body inlines an enormous fully-worked sample report (~270 lines: constitution scores table, dietary lists, acupoints, herbal formulas, seasonal advice) plus static TCM knowledge (体质特征, 宜食/忌食 lists) that duplicates what the referenced data files (`data/constitutions.json`, `data/constitution-recommendations.json`) should carry — 'several unnecessary explanations or padded sections' rather than the tighter level 3. It is not a 1 because the process sections (功能, 执行步骤, 数据结构) are organized and not concept-explainer filler.

2 / 5

Actionability

Two core functions get real, executable Python (`calculate_constitution_scores` with the conversion formula, `determine_constitution_type` with the 60/40 thresholds), and data source paths are enumerated. But `CONSTITUTION_QUESTIONS` is referenced without being defined anywhere, and the trend and correlation analyses — two of the five advertised functions — are only named ('线性回归计算趋势', '移动平均平滑波动', outputs like '相关系数/统计显著性') with no implementation detail, matching 'some concrete guidance but incomplete; missing key details'.

3 / 5

Workflow Clarity

The four-step 执行步骤 (确定分析范围 → 读取数据 → 数据分析 → 生成报告) gives a clear sequence with enumerated primary and related data sources, and 危险信号检测 supplies one checkpoint. But validation is otherwise implicit: no guidance for missing files, no handling for trend analysis when only one assessment exists, and the safety 建议分级 levels are not wired into the step sequence — 'sequence present but checkpoints missing or implicit'. This is an analysis skill, so the destructive/batch cap is not triggered.

3 / 5

Progressive Disclosure

Section structure is good and data-file references are clearly listed (步骤 2 names `data/constitutions.json`, `data/constitution-recommendations.json`, `data-example/` sources), but there are no reference/scripts bundle files — the huge example report, constitution characteristics, and recommendation catalogs are inlined in SKILL.md where they belong in separate one-level-deep files. This fits 'some structure but could be better organized; content that should be separate is inline' rather than level 2, since navigation and headers are present.

3 / 5

Total

11

/

20

Passed

Description

58%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 communicates a clear, multi-action 'what' in third person with a distinctive TCM-constitution niche, but it entirely lacks a 'when to use' clause and misses several natural trigger phrases (辨识, 测试, 调理, 趋势). It is functional but sits solidly in the middle of the rubric.

Suggestions

Append an explicit trigger clause, e.g. "当用户请求中医体质辨识评估、体质类型查询、养生建议或体质与健康数据关联分析时使用" (use when the user requests constitution assessment, type lookup, wellness advice, or correlation analysis).

Add natural trigger synonyms users would actually say: "体质辨识", "体质测试/问卷", "九种体质", "体质调理", "体质趋势追踪".

Mention the trend-tracking capability so the description covers all five advertised functions and reduces overlap ambiguity with nutrition/sleep/fitness skills.

DimensionReasoningScore

Specificity

The description lists several concrete actions — "分析中医体质数据" (analyze TCM constitution data), "识别体质类型" (identify constitution types), "评估体质特征" (evaluate constitution characteristics), "提供个性化养生建议" (provide personalized wellness advice), "支持与营养、运动、睡眠等健康数据的关联分析" (correlation analysis with nutrition/exercise/sleep data). It is not a 5 because trend analysis (体质变化趋势分析), a headline function in the body, is absent, leaving a minor coverage gap.

4 / 5

Completeness

The 'what' is clearly and concretely stated (analyze, identify, evaluate, advise, correlate), but there is no 'when' clause — no "Use when..." or equivalent explicit trigger guidance appears anywhere in the description. Per the judging guidelines, a missing 'Use when...' clause caps completeness at 3, which this clearly fits ('clear what but when missing').

3 / 5

Trigger Term Quality

Relevant domain keywords are present ("中医体质", "体质类型", "体质特征", "养生建议", "营养", "运动", "睡眠"), but common natural variations users would say are missing: the standard term "体质辨识" (constitution identification), "体质测试/问卷" (test/questionnaire), "九种体质", "体质调理", and "趋势/追踪". This matches 'some relevant keywords but missing common variations or synonyms' rather than level 4's 'good keyword coverage with only a few natural terms missing'.

3 / 5

Distinctiveness Conflict Risk

The TCM constitution niche ("中医体质") is distinctive with clear triggers, but the trailing health-data correlation claim ("营养、运动、睡眠等健康数据的关联分析") overlaps with generic nutrition/fitness/sleep tracking skills in a health-data ecosystem — minor overlap risk with closely related skills, matching the level 4 anchor rather than level 5's minimal conflict risk.

4 / 5

Total

14

/

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.

Validation — 13 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

skill_md_line_count

SKILL.md is long (667 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

Path

skills/tcm-constitution-analyzer/SKILL.md

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.