CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

frontend-patterns

React、Next.js、状态管理、性能优化和UI最佳实践的前端开发模式。

1.43x
Quality

59%

Does it follow best practices?

Impact

96%

1.43x

Average score across 9 eval scenarios

SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./docs/zh-CN/skills/frontend-patterns/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

50%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 body delivers concrete, executable React pattern examples but spends most of its tokens re-presenting standard React knowledge Claude already has, organized as a flat inlined catalog with no selection workflow or reference-file structure. It would benefit most from radical trimming to project-specific conventions and splitting topics into reference files.

Suggestions

Cut the standard-React examples (memoization, debounce, error boundary, lazy loading) and keep only project-specific conventions, decisions, or deviations from default practice — the current catalog mostly re-teaches what Claude already knows.

Split large topics (virtualization, animation, forms, accessibility) into references/ files (e.g. references/performance.md, references/forms.md) and keep SKILL.md as a short overview with clearly signaled one-level-deep links.

Add brief pattern-selection guidance (e.g. 'use Context+Reducer for X, Zustand for Y') so the skill guides decisions instead of only listing implementations, replacing the vague closing line.

DimensionReasoningScore

Conciseness

The ~640-line body is a catalog of standard React knowledge (composition, memoization, useReducer, error boundaries, debounce, lazy loading) that Claude already knows, with no project-specific conventions or constraints added. It is noticeably verbose for a SKILL.md, though not level 1 since it avoids prose padding and concept explanations.

2 / 5

Actionability

Nearly every section provides complete, typed TypeScript/TSX code with usage examples (e.g. the useQuery hook, VirtualMarketList, ErrorBoundary). Minor gaps keep it from level 5: placeholder comments like "{/* Dropdown implementation */}" and "{/* Other fields */}", and undefined types such as Market, ModalProps, and MarketCardProps.

4 / 5

Workflow Clarity

As a pattern catalog it has no multi-step workflow or pattern-selection guidance; the only decision direction is the vague closing line "选择适合你项目复杂度的模式" (choose patterns suited to your project's complexity). The "何时激活" section lists activation contexts but no sequencing or checkpoints, fitting the 'structure present but checkpoints/gaps' anchor.

3 / 5

Progressive Disclosure

Section headers are clear and well-organized, but the entire catalog — including large self-contained topics like virtualization, Framer Motion animation, and form validation — is inlined in one 640-line SKILL.md with no bundle files at all. Content that should be split into one-level-deep reference files is inline, matching the level-3 anchor rather than level 4's 'most content appropriately placed'.

3 / 5

Total

12

/

20

Passed

Description

52%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 names relevant domains and framework keywords but reads as a topic list rather than a capability statement: no concrete actions, and no 'when to use' trigger guidance. Adding explicit actions and a 'Use when...' clause with natural trigger phrases would move it up two levels.

Suggestions

Rewrite as concrete third-person actions, e.g. "Provides React component, hook, state-management, performance, form, and accessibility patterns for building UIs" instead of the generic noun phrase "前端开发模式".

Append an explicit trigger clause: "Use when building React/Next.js components, managing state with hooks/Zustand/Context, optimizing rendering performance, or implementing accessible UI patterns."

Add common natural keywords users would say — hooks, components, forms, virtualization, frontend — to improve trigger term coverage.

DimensionReasoningScore

Specificity

The description is a pure noun phrase — "React、Next.js、状态管理、性能优化和UI最佳实践的前端开发模式" — that names five domains but contains no concrete actions ("开发模式"/"development patterns" is generic). It matches the anchor for naming the domain with minimal or generic actions, and falls short of level 3 which requires 1-2 concrete actions.

2 / 5

Completeness

It has a clear 'what' (frontend development patterns for React/Next.js/state management/performance/UI) but no 'Use when...' clause or equivalent trigger guidance, capping completeness at 3 per the judging guidelines. It is not level 4, which requires both 'what' and an explicit 'when'.

3 / 5

Trigger Term Quality

"React", "Next.js", "状态管理" (state management), and "性能优化" (performance optimization) are terms users naturally say when they need this skill. A few natural terms are missing (hooks, components, forms, frontend), matching the 'good keyword coverage; a few natural terms missing' anchor rather than level 5's comprehensive synonym coverage.

4 / 5

Distinctiveness Conflict Risk

Naming React and Next.js gives it some specificity, but broad phrases like "UI最佳实践" (UI best practices) and "性能优化" (performance optimization) leave overlap risk with general web-development, CSS, or component-library skills. It fits 'somewhat specific but could still overlap with similar skills' rather than level 4's 'mostly distinct'.

3 / 5

Total

12

/

20

Passed

Validation

87%

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

Validation — 14 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

skill_md_line_count

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

Warning

frontmatter_unknown_keys

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

Warning

Total

14

/

16

Passed

Repository

xu-xiang/everything-claude-code-zh

Path

docs/zh-CN/skills/frontend-patterns/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.