ci skill
Run Vale in GitHub Actions, a pre-commit hook, or another runner. Use when the user says "add vale to CI", "run vale on PRs", "add a pre-commit hook", or "make the build fail on style errors".
- GitHub 스타
- 8
- 파일
- 1
- 마지막 커밋
- 2026년 9월 3일
- 라이선스
- MIT
- 허용된 도구
- —
ci skill은 무엇을 하나요?
ci은(는) agent skill입니다. Run Vale in GitHub Actions, a pre-commit hook, or another runner. Use when the user says "add vale to CI", "run vale on PRs", "add a pre-commit hook", or "make the build fail on style errors".
ci skill 설치 방법
각 명령은 skill 폴더를 클라이언트의 skills 디렉터리에 복사합니다. 클라이언트를 재시작하거나 새 세션을 시작하여 로드하세요.플러그인에 ci skill 설치
/plugin marketplace add vale-cli/agent-tools /plugin install vale@agent-tools
Claude Code에 ci skill 설치
~/.claude/skills/ci/SKILL.md
$ npx degit vale-cli/agent-tools/skills/ci ~/.claude/skills/ciClaude Code (project)에 ci skill 설치
.claude/skills/ci/SKILL.md
$ npx degit vale-cli/agent-tools/skills/ci .claude/skills/ciCodex에 ci skill 설치
~/.agents/skills/ci/SKILL.md
$ npx degit vale-cli/agent-tools/skills/ci ~/.agents/skills/ciGemini CLI에 ci skill 설치
~/.gemini/skills/ci/SKILL.md
$ npx degit vale-cli/agent-tools/skills/ci ~/.gemini/skills/ciClaude.ai에 ci skill 설치
npx degit vale-cli/agent-tools/skills/ci ci && zip -r ci.zip ci # claude.ai → Customize → Skills → + → Create skill → Upload a skill → ci.zip
SKILL.md
GitHub에서 보기Put Vale in the pipeline
When to use this
Vale runs locally and should now run automatically.
Prerequisites
vale ls-configresolves, and a plainvale <path>run works locally. Do not wire up CI for a config that does not resolve — the failure will look like a CI problem.- The user has said whether the job should block. Ask if not.
Advisory or blocking
Only error sets a non-zero exit code. Warnings and suggestions exit 0, so
a job wired up naively passes no matter how much it reports.
- Advisory — Vale reports, the job stays green. The right way to adopt Vale on a corpus that has never had it.
- Blocking — the rules the team cares about are set to
errorin the config, and the job fails on those.
Say which one you are setting up, in those words. "It runs in CI" tells nobody whether it can stop a merge.
GitHub Actions
- uses: vale-cli/vale-action@reviewdog
with:
files: docs
Alerts arrive as review comments on the pull request, which is where a writer will see them.
pre-commit
repos:
- repo: https://github.com/vale-cli/vale
rev: v3.17.0
hooks:
- id: vale
Pin rev to a release. Hooks that float break at the worst time.
Any other runner
vale --no-global --output=line docs/
--output=line gives path:line:col:rule:message, which most CI systems can
turn into annotations. --no-global keeps a config on the machine from
changing the result.
If the runner has no cached StylesPath, vale sync has to run first — and
that means a style updating upstream can fail a build nobody changed. Pin
Packages to a release URL rather than a moving reference.
Do not
- Do not add
--no-exitto make a failing job pass. If those alerts should not block, change the levels in the config, where the decision is visible to the team. - Do not raise
MinAlertLevelin CI only. A config that reports different things locally and in CI is how people stop trusting the tool.
이 스킬의 파일
1ci skill 질문
Claude Code에 ci skill을 어떻게 설치하나요?
npx degit vale-cli/agent-tools/skills/ci ~/.claude/skills/ci를 실행합니다. Claude Code는 ~/.claude/skills(모든 프로젝트) 또는 .claude/skills(한 프로젝트)에서 skills를 로드하며, 설명이 작업과 일치할 때 skill을 사용합니다.
ci skill을 사용할 수 있는 클라이언트는 무엇인가요?
Agent Skills 형식을 읽는 모든 클라이언트(Claude Code, Codex, Gemini CLI, claude.ai(ZIP으로 업로드))가 사용할 수 있습니다. skill 내 스크립트는 클라이언트가 코드 실행을 허용하는 경우에만 실행됩니다.