CtrlK
BlogDocsLog inGet started
Tessl Logo

backend-patterns

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

70

1.16x
Quality

57%

Does it follow best practices?

Impact

98%

1.16x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

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

Quality

Content

56%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 skill is a solid, code-rich reference of executable backend patterns with good actionability, but it presents a flat catalog rather than sequenced workflows with validation checkpoints, and inlines ~590 lines of material that would benefit from being split into reference files. Conciseness is adequate with some trimmable boilerplate.

Suggestions

Add explicit validation/verification checkpoints to the destructive and batch patterns — e.g. after the transaction RPC, verify both rows exist before returning; after queue job execution, confirm the index was written and retry on failure.

Split the inlined catalog into one-level-deep reference files (e.g. references/api-patterns.md, references/db-optimization.md, references/caching.md) and have SKILL.md link to them, improving progressive disclosure and token economy.

Trim placeholder comments ('// Business logic', '// Other methods...', '// Job execution logic') and redundant usage blocks to tighten conciseness.

DimensionReasoningScore

Conciseness

The body is mostly code-driven and avoids abstract concept explanations, but inline comments like '// Business logic' and '// Other methods...' plus repeated boilerplate usage blocks add modest padding that could be tightened.

3 / 5

Actionability

Most examples are concrete, near copy-paste TypeScript with real Supabase/Redis/jwt calls covering common cases; minor gaps such as stubbed vectorSearch and placeholder execute(job) keep it just below fully executable.

4 / 5

Workflow Clarity

It catalogs patterns under clear headings rather than sequencing a multi-step process, and several batch/destructive patterns (transactions, queue processing, cache invalidation) lack explicit validate/verify checkpoints, capping workflow clarity at 3.

3 / 5

Progressive Disclosure

Sections are well-organized by topic, but everything is inlined in one ~590-line SKILL.md with no external reference files or links; content like the full transaction SQL and multiple repository implementations could live in separate files but is inline instead.

3 / 5

Total

13

/

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 enumerates concrete backend domains and a specific stack, giving good specificity and reasonable distinctiveness, but it omits any explicit 'Use when...' trigger clause and offers only moderate natural trigger-term coverage. Completeness is capped at 3 by the missing trigger guidance.

Suggestions

Add an explicit trigger clause such as 'Use when designing REST/GraphQL endpoints, building repository/service/controller layers, or optimizing database queries for Node.js/Express/Next.js'.

Broaden natural trigger terms to include phrasings users actually say, e.g. 'API endpoints', 'REST API', 'N+1 queries', 'rate limiting', 'authentication middleware'.

Reframe domain topics as concrete actions (e.g. 'design API endpoints', 'optimize database queries', 'add caching layers') rather than noun-list topics.

DimensionReasoningScore

Specificity

Lists several concrete action areas (API设计、数据库优化、缓存、错误处理) but these are topic domains rather than crisp actions like 'extract'/'fill', leaving minor coverage gaps.

4 / 5

Completeness

It states clearly what the skill covers but contains no explicit 'Use when...' or equivalent trigger clause, which per the guidelines caps completeness at 3.

3 / 5

Trigger Term Quality

Natural terms like '后端架构模式', 'API设计', '数据库优化', 'Node.js/Express/Next.js' appear, but it lacks common user phrasings (e.g. 'API endpoint', 'REST', 'query optimization') and uses no file-extension or synonym variants.

3 / 5

Distinctiveness Conflict Risk

The Node.js/Express/Next.js API-route framing carves a fairly distinct niche from a generic frontend or data skill, with only minor overlap risk against a general fullstack/web-dev skill.

4 / 5

Total

14

/

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.

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.