360 Secure SkillHub
360 安全技能中心

linter-docs

该 Skill 是面向 vigiles enforce() 规则编写与排障的参考文档,汇总 ESLint、Ruff、Pylint、RuboCop、Stylelint 和 Clippy 的规则名、AST 选择器、插件表、自动修复与配置细节;它不运行 linter,JVM/Go 与 Cedar 的说明另见项目文档。

zernie
热度 15.59
最近更新 2026-10-19 06:31:45
分类:开发依赖:纯提示词应用场景:代码审查 / 调试排错 / 概念解释

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add zernie/vigiles/linter-docs
Metadata
name
linter-docs
description
Deep linter reference for authoring or debugging a vigiles enforce() rule — plugin tables, AST selectors, type-aware rules, auto-fix, and edge cases for ESLint, Ruff, Pylint, RuboCop, Stylelint, and Clippy. Use when you need the exact rule name or config for a specific linter, not for running a linter. (JVM/Go linters — detekt, ktlint, Checkstyle, golangci-lint — and Cedar have no deep-dive file yet; their reference lives in docs/linter-support.md.)
disable-model-invocation
true

Reference material for the linters vigiles cross-references. Open the file for the linter you're working with when you need exact rule names, AST selectors, or config details to author an enforce() rule (or diagnose why one is reported missing or disabled).

Linter Reference
ESLint eslint.md — plugin table, AST selectors, type-aware rules, auto-fix
Ruff ruff.md — 800+ reimplemented rules, selection, auto-fix, pyproject config
Pylint pylint.md — plugin table, astroid AST, type inference, custom checkers
RuboCop rubocop.md — gem table, node pattern DSL, auto-correct, custom cops
Stylelint stylelint.md — plugin table, PostCSS AST, custom rules, SCSS
Clippy clippy.md — Rust lint groups and configuration

JVM/Go linters (detekt, ktlint, Checkstyle, golangci-lint) and Cedar are cross-referenced by enforce() but have no deep-dive file here yet — their capabilities, config surfaces, and known limits (e.g. ktlint is format-only, Checkstyle enabled-state is whitelist-only) are documented in docs/linter-support.md.

These are read by the strengthen and edit-spec skills when matching a guidance rule to a real linter rule. This skill is user-invoked (a reference, not an action), so it never fires on its own — open the relevant file directly.