技能 编程开发 代码质量和规范配置

代码质量和规范配置

v20260423
windsurf-linting-config
用于在开发项目中全面配置和强制执行代码质量标准。该技能可协助配置和集成ESLint、Prettier等主流代码检查工具,自动解决配置冲突,并帮助用户根据项目模式设置最佳实践规则,从而确保整个团队的代码风格和质量高度统一。
获取技能
132 次下载
概览

Windsurf Linting Config

Overview

This skill enables comprehensive linting configuration within Windsurf. Cascade assists with ESLint, Prettier, Stylelint, and other linting tool setup, helping resolve configuration conflicts, suggesting rules based on project patterns, and automating code quality enforcement.

Prerequisites

  • Windsurf IDE with Cascade enabled
  • Node.js for JavaScript/TypeScript projects
  • Package manager (npm, yarn, pnpm)
  • Understanding of code style preferences
  • Team agreement on quality standards

Instructions

  1. Choose Base Configuration
  2. Configure Rules
  3. Set Up Prettier Integration
  4. Add Pre-Commit Hooks
  5. Integrate with CI

See ${CLAUDE_SKILL_DIR}/references/implementation.md for detailed implementation guide.

Output

  • Configured .eslintrc.js
  • Prettier configuration
  • Pre-commit hooks
  • CI integration

Error Handling

See ${CLAUDE_SKILL_DIR}/references/errors.md for comprehensive error handling.

Examples

See ${CLAUDE_SKILL_DIR}/references/examples.md for detailed examples.

Resources

信息
分类 编程开发
名称 windsurf-linting-config
版本 v20260423
大小 3.4KB
更新时间 2026-09-06
语言