AgentSkillsCN

javascript

通过更安全的异步与错误处理机制,以及更为简洁的工具抽象,将 JavaScript 重构为现代化、易读且性能优越的代码模式。

SKILL.md
--- frontmatter
name: javascript
description: Refactor JavaScript toward modern, readable, and performant patterns with safer async/error handling and cleaner utility abstractions.
argument-hint: "[goal] [js files] [perf/readability constraints]"
user-invokable: true
disable-model-invocation: false

Skill Instructions

Use this skill when the request matches JavaScript Best Practices Guide or references patterns from docs/javascript.md.

Workflow

  1. Read SOURCE.md for the full repository guidance.
  2. Identify concrete constraints, conventions, and required outputs.
  3. Apply the guidance directly to the current task, keeping changes minimal and repository-consistent.
  4. Validate results (tests/lint/build where relevant).
  5. Summarize what was applied from this skill and where.

Input Guidance

When invoking this skill manually, include:

  • Task goal
  • Target files or modules
  • Any constraints (performance, architecture, style, tests)

Source

This skill is generated from docs/javascript.md. Use SOURCE.md as the canonical local resource loaded on demand.