← 返回 Skills 市场
Swiftlint
作者
Alexis Santos
· GitHub ↗
· v1.0.0
· MIT-0
300
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install swiftlint
功能描述
Swift linting and style enforcement via CLI
安全使用建议
This skill is coherent and appears to do only what it says: guide and run the SwiftLint CLI. Before using it: 1) Commit or back up your repository before running --fix/autocorrect since those commands change files. 2) If you want to avoid any modifications, instruct the agent to only lint (no --fix) or request a dry run. 3) Installing via brew/mint/SPM is normal; if you require strong provenance, verify that Homebrew/Mint will pull the official realm/SwiftLint sources. 4) Because the skill is instruction-only, there is no bundled code to inspect; its behavior depends on the local swiftlint binary — ensure you trust that binary/version in your environment. If you are uncomfortable with an agent autonomously running fix operations, restrict autonomous invocation or explicitly require confirmation before applying fixes.
功能分析
Type: OpenClaw Skill
Name: swiftlint
Version: 1.0.0
The skill bundle provides a comprehensive and well-documented interface for the SwiftLint CLI tool. It includes standard installation commands (brew, mint), linting workflows, and configuration management instructions for the AI agent. No evidence of malicious intent, data exfiltration, or harmful prompt injection was found; all commands and guidance in SKILL.md are strictly aligned with the stated purpose of Swift code style enforcement.
能力评估
Purpose & Capability
Name, description, and declared requirement ('swiftlint') align with the actual instructions. All required actions are about installing/running SwiftLint (brew / mint / SPM) and managing linting/reporting; there are no unrelated dependencies or surprising claims.
Instruction Scope
SKILL.md only instructs the agent to run SwiftLint commands (lint, fix, reporters, rules) and common shell helpers (cat, grep). It does not ask the agent to read unrelated system files, access environment secrets, or transmit data to external endpoints. It does instruct autocorrect (--fix), which will modify project files and thus requires user consent/precautions.
Install Mechanism
The skill is instruction-only (no automated install spec). It recommends installing via Homebrew, Mint, or SwiftPM — all standard distribution mechanisms for SwiftLint. This is low risk, but users should be aware 'brew install' will fetch a binary from Homebrew (verify Homebrew sources if you require strict provenance).
Credentials
No environment variables, credentials, or config paths are requested. The lack of secrets is appropriate for a linting CLI skill.
Persistence & Privilege
Flags show no forced permanence (always: false). disable-model-invocation is false (normal platform default), meaning the agent can invoke the skill autonomously; given the skill is low-privilege and coherent, this is acceptable but be mindful of autonomous autocorrect actions.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install swiftlint - 安装完成后,直接呼叫该 Skill 的名称或使用
/swiftlint触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of the swiftlint skill.
- Enforces Swift style and conventions via SwiftLint CLI.
- Guides users on installation, configuration, and basic usage (linting, autocorrect, and output formats).
- Documents rule categories (enabled by default and opt-in) and common configuration options.
- Includes agent guidance for handling code style checks and linting requests.
- Provides reference commands for working with SwiftLint in local and CI environments.
元数据
常见问题
Swiftlint 是什么?
Swift linting and style enforcement via CLI. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 300 次。
如何安装 Swiftlint?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install swiftlint」即可一键安装,无需额外配置。
Swiftlint 是免费的吗?
是的,Swiftlint 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Swiftlint 支持哪些平台?
Swiftlint 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Swiftlint?
由 Alexis Santos(@alexissan)开发并维护,当前版本 v1.0.0。
推荐 Skills