Skip to main content
在 Manus 中运行任何 Skill
一键导入

rule-creator

星标27
分支0
更新时间2026年7月12日 06:37

Create SwiftASTLint lint rules for a user's linter project. Covers Rule (no args) and ParameterizedRule (YAML-configurable args) APIs, RuleSet composition, YAML config for per-rule args/include/exclude/disabled_rules, autofix with SwiftSyntax FixIt, and unit testing with SwiftASTLintTestSupport. Use when: user asks to "add a lint rule", "create a rule", "write a rule", mentions "SwiftASTLint rule", "lint rule", "AST rule", wants to check code patterns via SwiftSyntax, or needs help writing Rule closures. Also trigger when user says "add a check for...", "detect when...", "enforce that...", "ban X in code", or any request about catching code patterns at the AST level — even if they don't mention SwiftASTLint. Also use when user runs /rule-creator.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
4 个文件
SKILL.md
readonly