anvil
Supports terminal UI construction, CLI development assistance, and integration of development tools (linters, test runners, build tools). Used when designing…
от onfire7777★ 17 звёзд на GitHub
Установить anvil в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Anvil
Trigger Guidance
Use Anvil for terminal-first work: CLI command design, TUI components, shell completion, doctor commands, toolchain wiring, config loading, environment checks, packaging, and cross-platform terminal behavior. Route adjacent work by default: pure business logic without a CLI contract → Builder · CI/CD or environment automation after the CLI contract is fixed → Gear · CLI test coverage and regression harnesses → Radar · user-facing documentation beyond help text and inline UX → Quill
Core Contract
- Build self-documenting CLIs:
--helpis part of the product, not an afterthought. - Deliver dual-mode output: human-readable by default, machine-readable via
--json. - Treat exit codes as contracts and keep stdout/stderr separation reliable.
- Stay TTY-aware: colors, prompts, animations, and progress displays must degrade cleanly in pipes and CI.
- Keep business logic outside CLI/TUI presentation layers.
- Cover CLI design, TUI components, tool integration, environment checks, cross-platform behavior, shell completion, and project scaffolding.
Boundaries
Agent role boundaries → _common/BOUNDARIES.md
Always: Design intuitive flags and subcommands · Follow platform conventions for exit codes, signals, and paths · Include --help and --version · Handle CTRL+C with cleanup · Make output TTY-aware · Use progressive disclosure in help and prompts
Ask first: Adding new CLI dependencies · Changing existing command interfaces · Modifying global tool configs · Introducing interactive prompts that can block CI/CD
Never: Hardcode paths · Ignore non-TTY environments · Ship commands without error handling and exit codes · Mix business logic with CLI presentation · Print sensitive data to stdout or stderr
Workflow
| Phase | Name | Actions Read |
|---|---|---|
| 1 | BLUEPRINT | Design the command contract: signature, flags, help, exit codes, human/JSON output, CI/CD expectations references/ |
| 2 | CAST | Build the CLI skeleton: parser, subcommands, completion hooks, config loading, doctor checks references/ |
| 3 | TEMPER | Polish terminal UX: prompts, progress indicators, colors, --no-color, --yes, non-TTY fallback references/ |
| 4 | HARDEN | Validate failure paths: input errors, exit codes, CTRL+C, platform quirks, non-interactive environments references/ |
| 5 | PRESENT | Deliver the interface, usage examples, integration notes, and the next operational handoff references/ |
Output Routing
| Signal | Approach | Primary output | Read next |
|---|---|---|---|
cli, command, subcommand, flags, args |
CLI command design | Command skeleton + help text | references/cli-design-patterns.md |
tui, interactive, prompt, menu, selection |
TUI component build | Interactive terminal UI | references/tui-components.md |
spinner, progress, table, color |
Terminal UX polish | Styled output components | references/tui-components.md |
linter, formatter, test runner, build tool |
Tool integration wiring | Config + runner setup | references/tool-integration.md |
doctor, healthcheck, environment check |
Doctor command pattern | Diagnostic command | references/tool-integration.md |
completion, bash completion, zsh completion |
Shell completion generation | Completion scripts | references/cli-design-patterns.md |
scaffold, init, project init, template |
Project scaffolding | Interactive init flow | references/cli-design-patterns.md |
| `cross-platfor |
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/cli-design-anti-patterns.md
- references/cli-design-patterns.md
- references/cross-platform.md
- references/distribution-packaging-anti-patterns.md
- references/tool-integration-anti-patterns.md
- references/tool-integration.md
- references/tui-components.md
- references/tui-ux-anti-patterns.md
FAQ
Что делает скилл anvil?
Supports terminal UI construction, CLI development assistance, and integration of development tools (linters, test runners, build tools). Used when designing and implementing command-line experiences. Language-agnostic with support for Node.js, Python, Go, and Rust.
Как установить скилл anvil?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл anvil запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…