CtrlK
BlogDocsLog inGet started
Tessl Logo

ui-devwidget-round

在需要圆角矩形纯色背景、描边边框时,优先用 DevWidget(io.github.afkt:DevWidgetX)的 dev.widget.ui.round 包替代 shape / layer-list drawable。流程与核心坑在 SKILL,Round 系列 View、R.styleable.DevWidget 中 app:dev_* 属性及源码对照见 references/reference.md。工作区内优先 Read lib/DevWidget;仅当无该模块时再查上游 GitHub。

71

Quality

86%

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 skill body that keeps the overview tight and delegates detail to a single real reference file, with a useful pre-generation checklist. Main weakness is the absence of an error-recovery feedback loop and minor content duplication with the reference.

Suggestions

Add a short validate-and-iterate step to the self-check checklist (e.g., 'if the corner/stroke does not render, verify no android:background override and re-check dev_radius vs per-corner attrs') to introduce a feedback loop and raise workflow clarity.

De-duplicate the radius-logic summary between SKILL.md and references/reference.md — keep only the brief rule in SKILL and point to the reference for the full setCornerRadii/setCornerRadius behavior.

Include a one-line code-side example (RoundDrawable.fromAttributeSet / setBackgroundKeepingPadding) inline in the '代码侧' section rather than only linking out, since code-side usage is a stated option.

DimensionReasoningScore

Conciseness

Lean tables, bullets, and a single minimal XML example with no basic-concept padding; the radius-logic summary is duplicated between SKILL and reference, which is a minor trim opportunity, so it sits at 'efficient with minor over-explanation' rather than the lean 5.

4 / 5

Actionability

Provides a copy-paste-ready XML example covering the common case (rounded rect + solid + stroke) plus concrete pitfalls ('android:background 不会按预期生效') and specific attribute names, matching the fully-executable anchor.

5 / 5

Workflow Clarity

Clear flow from when-to-use → pick control → set attributes → avoid background conflict, anchored by an explicit self-check checklist as a validation checkpoint; lacks an error-recovery feedback loop, so it does not reach the 5 anchor.

4 / 5

Progressive Disclosure

SKILL.md inlines only essentials and pushes the full type list, attribute table, and code-side API to a verified one-level-deep references/reference.md with section-anchor links, matching the clear-overview-with-well-signaled-references anchor.

5 / 5

Total

18

/

20

Passed

Description

87%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 specific, well-triggered description that clearly states both capability and use condition for a narrow Android-widget niche. It is third-person and free of fluff, with only minor keyword-synonym gaps.

DimensionReasoningScore

Specificity

Names the domain ('圆角矩形纯色背景、描边边框') and a concrete action — replace 'shape / layer-list drawable' with the 'dev.widget.ui.round' package — with only minor coverage gaps, fitting the 'several specific actions' anchor rather than the fully comprehensive level 5.

4 / 5

Completeness

Explicitly answers both what (prefer DevWidget round package over shape/layer-list drawables) and when ('在需要圆角矩形纯色背景、描边边框时') with a concrete trigger phrase, satisfying the top anchor; the 'Use when...' equivalent is present so it is not capped at 3.

5 / 5

Trigger Term Quality

Includes natural developer terms ('圆角矩形纯色背景、描边边框', 'shape / layer-list drawable') that users would plausibly say, but is missing some common synonyms and extensions, matching the 'good coverage, a few terms missing' anchor.

4 / 5

Distinctiveness Conflict Risk

Targets a narrow, specific niche (DevWidget dev.widget.ui.round for rounded-rect solid backgrounds + stroke) with distinct triggers and minimal overlap with other skills.

5 / 5

Total

18

/

20

Passed

Validation

100%

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

Validation16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository
afkT/DevUtils
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.