plan-fix-linter-error

📁 codyswanngt/lisa 📅 3 days ago
1
总安装量
1
周安装量
#42408
全站排名
安装命令
npx skills add https://github.com/codyswanngt/lisa --skill plan-fix-linter-error

Agent 安装分布

amp 1
opencode 1
kimi-cli 1
codex 1
gemini-cli 1

Skill 文档

Fix Linter Errors

Target rules: $ARGUMENTS

If no arguments provided, prompt the user for at least one lint rule name.

Step 1: Gather Requirements

  1. Parse rules from $ARGUMENTS (space-separated)
  2. Run linter to collect all violations:
    bun run lint 2>&1
    
  3. Group violations by rule, then by file, noting:
    • File path and line numbers
    • Violation count per file
    • Sample error messages

Step 2: Compile Brief and Delegate

Compile the gathered information into a structured brief:

Fix ESLint violations for rules: $ARGUMENTS

Violations by rule:
- [rule-name-1]: X total violations across Y files
  - [file]: N violations (lines: ...)
  - ...
- [rule-name-2]: X total violations across Y files
  - ...

Fix strategies: extract functions, early returns, apply formatting, add types

Verification: `bun run lint 2>&1 | grep -E "($ARGUMENTS)" | wc -l` → Expected: 0

Invoke /plan-create with this brief to create the implementation plan.