Skill setup
Install Vale, write a .vale.ini, sync styles, and get a first run. Use when the user says "set up vale", "add vale", "add prose linting", or "lint our docs" in a repository that has no Vale config yet.
- Bintang GitHub
- 8
- File
- 1
- Commit terakhir
- 3 Sep 2026
- Lisensi
- MIT
- Tool yang diizinkan
- —
Apa fungsi skill setup?
setup adalah agent skill. Install Vale, write a .vale.ini, sync styles, and get a first run. Use when the user says "set up vale", "add vale", "add prose linting", or "lint our docs" in a repository that has no Vale config yet.
Cara install skill setup
Setiap perintah menyalin folder skill ke direktori skills client. Restart client atau mulai sesi baru untuk memuatnya.Install skill setup di Plugin
/plugin marketplace add vale-cli/agent-tools /plugin install vale@agent-tools
Install skill setup di Claude Code
~/.claude/skills/setup/SKILL.md
$ npx degit vale-cli/agent-tools/skills/setup ~/.claude/skills/setupInstall skill setup di Claude Code (project)
.claude/skills/setup/SKILL.md
$ npx degit vale-cli/agent-tools/skills/setup .claude/skills/setupInstall skill setup di Codex
~/.agents/skills/setup/SKILL.md
$ npx degit vale-cli/agent-tools/skills/setup ~/.agents/skills/setupInstall skill setup di Gemini CLI
~/.gemini/skills/setup/SKILL.md
$ npx degit vale-cli/agent-tools/skills/setup ~/.gemini/skills/setupInstall skill setup di Claude.ai
npx degit vale-cli/agent-tools/skills/setup setup && zip -r setup.zip setup # claude.ai → Customize → Skills → + → Create skill → Upload a skill → setup.zip
SKILL.md
Lihat di GitHubSet up Vale in this repository
When to use this
The repository has no .vale.ini, or has one that does not resolve. If a
working config already exists, the user probably wants fix or
triage instead — check before writing anything.
Prerequisites
vale ls-config— if it resolves, a config already exists. Fix what it reports rather than starting over, and say that is what you are doing.- Know where the prose lives. Ask if it is not obvious.
Workflow
1. Install if vale --version fails: brew install vale,
choco install vale, or a binary from
https://docs.vale.sh/topics/installation.md.
2. Find the prose. docs/, content/, *.md at the root. Do not point
Vale at the whole repository: vendored directories, changelogs and generated
reference pages produce alerts nobody will act on, and the first run is what
decides whether the team keeps it.
3. Write .vale.ini in the repository root:
StylesPath = styles
MinAlertLevel = suggestion
Packages = Microsoft
[*.md]
BasedOnStyles = Vale, Microsoft
Match the section glob to the formats actually present — [*.{md,mdx}],
[*.adoc], [*.rst]. A section that matches nothing lints nothing, and Vale
will not warn you about it.
4. Ask before choosing the style package. Microsoft and Google disagree about things teams care about — contractions, headings, the Oxford comma. It is their editorial decision, not a default you pick for them. The https://vale.sh/explorer listing has the rest.
5. Add StylesPath to .gitignore. It is build output.
6. vale sync, then lint one file to confirm the setup resolves.
7. Report the first run honestly.
Vale setup summary
==================
Config: .vale.ini ([*.md] → Vale, Microsoft)
Styles: styles/ (gitignored), 1 package synced
First run: docs/ → 0 errors, 214 warnings, 1,988 suggestions
A large corpus commonly produces thousands of suggestions on day one. Say the
number, and offer triage. Do not quietly raise MinAlertLevel to make
it look smaller.
Do not
- Do not commit the
StylesPathdirectory. - Do not pick the style package without asking.
- Do not set
MinAlertLevel = errorto make the first run look clean. Nothing has been decided by hiding the output.
Berkas dalam skill ini
1Pertanyaan seputar skill setup
Bagaimana cara install skill setup di Claude Code?
Jalankan npx degit vale-cli/agent-tools/skills/setup ~/.claude/skills/setup. Claude Code memuat skill dari ~/.claude/skills (semua proyek) atau .claude/skills (satu proyek) dan menggunakan skill saat deskripsinya cocok dengan tugas.
Client mana saja yang bisa menggunakan skill setup?
Client apa pun yang membaca format Agent Skills: Claude Code, Codex, Gemini CLI, dan claude.ai (unggah sebagai ZIP). Script dalam skill hanya berjalan di client yang mengizinkan eksekusi kode.