CtrlK
BlogDocsLog inGet started
Tessl Logo

backend-patterns

后端架构模式、API 设计、数据库优化以及适用于 Node.js、Express 和 Next.js API 路由的服务端最佳实践。

51

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 ./.agents/skills/backend-patterns/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

65%Weight 40%Scale 1-3

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The body is a strong, actionable pattern catalog with executable code across API design, data access, caching, auth, rate limiting, and observability. Its weaknesses are verbosity from restating code in prose, a lack of validation feedback loops around destructive operations, and a monolithic structure with no reference-file split.

Suggestions

Trim commentary that restates the code (e.g. the "✅ 推荐" / "抽象数据访问逻辑" lines) so prose only adds what the code does not already show.

Add explicit validate→fix→retry checkpoints to destructive/batch operations such as transactions and N+1-batch writes.

Split large pattern groups (e.g. caching, auth/RBAC) into one-level-deep reference files linked from a concise overview to improve progressive disclosure.

DimensionReasoningScore

Conciseness

Mostly efficient and free of basic-concept primers, but much of the prose (e.g. "业务逻辑与数据访问分离", "抽象数据访问逻辑", "✅ 推荐:仅选择需要的列") restates what the adjacent code already shows and could be trimmed.

2 / 3

Actionability

Provides fully executable TypeScript and SQL implementations (repository interfaces, cache-aside decorators, rate limiter, retry-with-backoff, RBAC HOFs) that are copy-paste ready, with only minor illustrative stubs.

3 / 3

Workflow Clarity

This is a pattern catalog rather than a sequenced workflow, and risky operations like transactions and DB writes have no validate→fix→retry feedback loop, which caps workflow clarity at 2.

2 / 3

Progressive Disclosure

No bundle files exist or are referenced, and the entire reference is a ~590-line monolithic inline body; it is section-organized, but large code-heavy pattern references that could be split remain inline.

2 / 3

Total

9

/

12

Passed

Description

50%Weight 40%Scale 1-3

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 a coherent backend domain and specific frameworks but is missing an explicit activation trigger ("Use when...") and reads as topic categories rather than discrete actions. Adding a natural-language trigger clause and concrete action verbs would lift specificity, trigger quality, and completeness.

Suggestions

Append a 'Use when...' clause naming natural user triggers, e.g. 'Use when designing REST/GraphQL APIs, optimizing database queries, or building server-side routes in Node.js, Express, or Next.js.'

Lead with concrete action verbs (design, optimize, structure) rather than topic nouns so capabilities read as discrete actions.

Tighten 'server-side best practices' to a specific niche trigger that distinguishes this skill from generic web or database skills.

DimensionReasoningScore

Specificity

Names several concrete capability domains ("API 设计", "数据库优化", Node.js/Express/Next.js) but lists topic categories rather than discrete executable actions, so it stops short of the multiple-specific-actions anchor.

2 / 3

Completeness

Clearly states what the skill covers but provides no "when" guidance; per the judging guidelines, a missing "Use when..." clause caps completeness at 2.

2 / 3

Trigger Term Quality

Contains relevant real keywords ("API 设计", "数据库优化", "Node.js", "Express", "Next.js") but lacks common natural variations and any explicit "Use when..." trigger phrasing a user would actually say.

2 / 3

Distinctiveness Conflict Risk

Named frameworks give it a recognizable backend niche, but broad phrasing like "服务端最佳实践" could overlap with general web or database skills, so it is not yet a clearly distinct, low-conflict trigger.

2 / 3

Total

8

/

12

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.

Validation14 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

skill_md_line_count

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