跳到主要内容

Lang Bash

Lint and test Bash scripts via shellcheck.

Skill metadata​

SourceBundled (installed by default)
Pathskills/software-development/lang-bash
Version1.0.0
AuthorVibeOS
LicenseMIT
Platformslinux, 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​

GoalCommand
Apply packvibeos pack apply lang-bash --apply
Doctorvibeos language doctor bash
Primary testbats -r .
Choose guideskill choose-language-pack
Recommendvibeos language recommend "…"

Procedure​

  1. Если язык ещё не выбран для нового проекта — сначала choose-language-pack или vibeos language recommend.
  2. Work from the project root that matches pack manifests.
  3. Index query → read_file → edit → path-scoped tests when iterating.
  4. Prefer the package manager / toolchain already locked in the repo.
  5. 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