用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/guitarrapc/githubactions-lab --skill seiton命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | seiton |
| description | Lint and fix GitHub Actions workflow files and action metadata files using seiton CLI. |
Seiton is a linter and auto-fixer for GitHub Actions workflow files (.github/workflows/*.yml) and action metadata files (action.yml).
# Lint all workflows in the current repository
seiton
# Preview fixes without applying
seiton --fix --dry-run
# Apply auto-fixes
seiton --fix
# Pin actions and images via network
seiton --fix --enable-pin-network --enable-image-network
| Command | Description |
|---|---|
seiton | Lint workflows (default) |
seiton check | Explicit lint (same as default) |
seiton --fix | Apply auto-fixes in place |
seiton --fix --dry-run | Preview fixes as unified diff |
seiton --fix --check | Exit non-zero if fixable issues exist |
seiton init | Generate starter config at .github/seiton.yaml |
seiton install | Install agent skill files and CI workflow templates |
seiton rules | List all lint rules and their status |
seiton validate-config | Validate the config file |
seiton version | Show version info |
| Flag | Description |
|---|---|
--config PATH | Explicit config file path |
--format text, json, sarif | Output format |
--min-severity error, warning, info | Filter by severity |
--ignore PATTERN | Suppress diagnostics matching pattern |
--oneline | One diagnostic per line |
--verbose | Show progress and timing info |
--include-actions | Include .github/actions/ in discovery |
--enable-pin-network | Resolve action SHAs via network (fix mode) |
--enable-image-network | Resolve image digests via network (fix mode) |
Default rich text output shows:
error[rule-id]: message
--> file.yml:12:5
|
12 | source line
| ^^^^^^^^^^^
|
= help: suggestion
| Code | Meaning |
|---|---|
0 | No issues found |
1 | Lint issues found |
2 | Invalid CLI options |
3 | Fatal error (config error, I/O failure) |
seiton to identify issuesseiton --fix --dry-run to preview available fixesseiton --fix to apply fixesseiton --fix --enable-pin-network --enable-image-networkConfig is auto-discovered from .github/seiton.yaml (or .github/seiton.yml, seiton.yaml, seiton.yml).
Generate a starter config:
seiton init
seiton validate-config to check configurationDid you mean hint--min-severity error to focus on errors only--format sarif for GitHub Code Scanning uploadreferences/rules.md — All rule IDs, severities, fix support, and categoriesreferences/fix-mode.md — Auto-fix commands, flags, and configurationreferences/configuration.md — Full seiton.yaml schema and common patterns