Lang Bash
Lint and test Bash scripts via shellcheck.
Skill metadata
| Source | Bundled (installed by default) |
| Path | skills/software-development/lang-bash |
| Version | 1.0.0 |
| Author | VibeOS |
| License | MIT |
| Platforms | linux, macos |
Reference: full SKILL.md
The following is the complete skill definition that VibeOS loads when this skill is triggered. This is what the agent sees as instructions when the skill is active.
Bash / shell Language Pack Skill
Drive Bash / shell work with the project index and standard CLI recipes.
LSP hint: bash-language-server (editor-side when applicable). Zero new core tools.
What this language is (beginner)
Язык командной оболочки Unix. Не «приложение», а скрипты: как поставить зависимости, прогнать CI, автоматизировать сервер.
Лучше всего для:
- CI/CD скрипты
- установка и bootstrap
- автоматизация на Unix
- проверки shellcheck
When to Use
Выбирай этот pack, если:
- нужны install/CI/bootstrap скрипты
- есть .shellcheckrc / bats-тесты
- пользователь просит bash/shell
Manifests (автодетект репозитория): .shellcheckrc, .shfmt.toml, *.bats
Обычно рядом: Часто рядом с Python/Go/Terraform в репозитории.
См. также skill choose-language-pack, если цель ещё не ясна.
Сначала можно ранжировать packs: vibeos language recommend "…".
When NOT to use
- кроссплатформенная автоматизация Windows+Unix → PowerShell или Python
- полноценное приложение → язык приложения
Prerequisites
vibeos pack apply lang-bash --apply
vibeos pack apply project-intelligence --apply
How to Run
vibeos project index build
shellcheck -x scripts/*.sh
bats -r . # if present
shfmt -d .
Quick Reference
| Goal | Command |
|---|---|
| Apply pack | vibeos pack apply lang-bash --apply |
| Doctor | vibeos language doctor bash |
| Primary test | bats -r . |
| Choose guide | skill choose-language-pack |
| Recommend | vibeos language recommend "…" |
Procedure
- Если язык ещё не выбран для нового проекта — сначала
choose-language-packилиvibeos language recommend. - Work from the project root that matches pack manifests.
- Index query →
read_file→ edit → path-scoped tests when iterating. - Prefer the package manager / toolchain already locked in the repo.
- Explain non-obvious toolchain choices in plain language for the user.
Pitfalls
- Prefer shellcheck before inventing set -e patterns.
- Do not chmod +x secrets or write credentials into scripts.
- Do not invent core tools; stay on
terminal+read_file+ index CLI.
Verification
vibeos language doctor bash
vibeos project index status