CtrlK
BlogDocsLog inGet started
Tessl Logo

ui-devsimple-viewtheme

为布局 XML 中的控件默认补全 DevSimple(lib/DevSimple)的 ViewTheme 样式引用: 按控件继承链匹配 ViewTheme.<类名>,ImageView/AppCompatImageView 使用 ViewTheme.ImageView.FIT_XY,无匹配则用 ViewTheme.View。工作区内优先 Read lib/DevSimple;根样式清单见同目录 references/reference.md。在编写或批量整理 layout XML、 引入 ViewTheme、迁移旧布局、或用户提到 DevSimple/ViewTheme 时使用。

76

Quality

93%

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

87%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 concise, actionable skill body with excellent progressive disclosure and concrete executable examples, weakened only by the absence of an explicit post-edit validation/retry feedback loop for its batch layout-editing operation.

Suggestions

Add an explicit post-edit validation step to the workflow (e.g., re-parse the edited layout / grep that every new style="@style/ViewTheme.*" resolves in {DEVSIMPLE_VALUES}, then fix-and-retry on any miss) so the batch operation has a true validate→fix→retry loop rather than only a pre-flight checklist.

In the 执行清单, split the single pre-action Read/grep item into a distinct post-edit verification checkbox so the checklist covers both before and after states of a batch run.

Clarify what to do when a matched style name is not found after editing (fall back to ViewTheme.View and note it, or stop and sync reference.md) so the recovery path for the batch case is explicit.

DimensionReasoningScore

Conciseness

The body is lean and assumes Claude's competence — no padding about what XML/ViewTheme is, every section (rules, examples, checklist) earns its place, and detail is delegated to reference.md.

5 / 5

Actionability

Provides copy-paste-ready XML examples covering common cases (NestedScrollView, RecyclerView, AppCompatImageView with the FIT_XY rule, AppCompatEditText) plus a fallback example, and explicit ordered rules with concrete style values rather than vague direction.

5 / 5

Workflow Clarity

The numbered "核心规则(按顺序执行)" and the pre-flight "执行清单" give a clear sequence, but this is a batch/destructive layout-editing operation with only a pre-action verification (Read/grep the style table) and no explicit post-edit validate→fix→retry feedback loop, so workflow clarity is capped at 3 per the batch-operations rule.

3 / 5

Progressive Disclosure

SKILL.md is a clear overview pointing one level deep to references/reference.md with specific, verified section anchors (§根样式表, §继承链速查, §子样式命名规律, §扫描与更新); the bulk (full style table, inheritance chain, file index, maintenance) lives in the reference file while the skill stays concise.

5 / 5

Total

18

/

20

Passed

Description

100%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 highly specific, well-structured description that clearly states both the capability (ViewTheme style matching by inheritance chain with ImageView/fallback rules) and concrete trigger conditions. Voice is third person and free of vague fluff or over-claims.

DimensionReasoningScore

Specificity

Names the domain and multiple concrete actions — match by control inheritance chain ("ViewTheme.<类名>"), the ImageView/AppCompatImageView special case ("ViewTheme.ImageView.FIT_XY"), and the no-match fallback ("ViewTheme.View") — giving comprehensive coverage of the matching algorithm rather than vague description.

5 / 5

Completeness

Explicitly answers both what (补全 ViewTheme 样式引用 plus the matching algorithm) and when (the "在…时使用" clause with concrete trigger scenarios), matching the anchor for clear and explicit what-and-when with concrete trigger phrases.

5 / 5

Trigger Term Quality

Includes natural trigger phrases users would say — "编写或批量整理 layout XML", "引入 ViewTheme", "迁移旧布局", "用户提到 DevSimple/ViewTheme" — with concrete user-mentionable terms and synonyms.

5 / 5

Distinctiveness Conflict Risk

The niche is highly specific — DevSimple/ViewTheme default styles for layout XML — with distinct triggers (ViewTheme, DevSimple, 迁移布局) and minimal overlap risk with unrelated skills.

5 / 5

Total

20

/

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.