setup 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.
- GitHubスター
- 8
- ファイル
- 1
- 最終コミット
- 2026年9月3日
- ライセンス
- MIT
- 許可されたツール
- —
setup skillは何をしますか
setupはAgent Skillsです。 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.
setup skillのインストール方法
各コマンドはskillフォルダをクライアントのskillsディレクトリにコピーします。読み込むには、クライアントを再起動するか新しいセッションを開始してください。プラグインにsetup skillをインストールする
/plugin marketplace add vale-cli/agent-tools /plugin install vale@agent-tools
Claude Codeにsetup skillをインストールする
~/.claude/skills/setup/SKILL.md
$ npx degit vale-cli/agent-tools/skills/setup ~/.claude/skills/setupClaude Code (project)にsetup skillをインストールする
.claude/skills/setup/SKILL.md
$ npx degit vale-cli/agent-tools/skills/setup .claude/skills/setupCodexにsetup skillをインストールする
~/.agents/skills/setup/SKILL.md
$ npx degit vale-cli/agent-tools/skills/setup ~/.agents/skills/setupGemini CLIにsetup skillをインストールする
~/.gemini/skills/setup/SKILL.md
$ npx degit vale-cli/agent-tools/skills/setup ~/.gemini/skills/setupClaude.aiにsetup skillをインストールする
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
GitHubで表示Set 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.
このスキルのファイル
1setup skillに関する質問
Claude Codeにsetup skillをインストールするには
npx degit vale-cli/agent-tools/skills/setup ~/.claude/skills/setupを実行してください。Claude Codeは~/.claude/skills(すべてのプロジェクト)または.claude/skills(単一プロジェクト)からskillsを読み込み、説明がタスクに一致する場合にskillを使用します。
setup skillはどのクライアントで使用できますか
Agent Skills形式を読み込むすべてのクライアントで使用できます: Claude Code、Codex、Gemini CLI、claude.ai(ZIPとしてアップロード)。skill内のスクリプトは、クライアントがコード実行を許可した場合にのみ実行されます。