terminal-ops — скилл для Claude: запуск команд и разбор CI
Скилл для работы с репозиторием через терминал: запускает команды, читает состояние git, разбирает падения CI и делает точечные правки с доказательством того, что проверено.
npx skills add affaan-m/ECC --skill terminal-ops -a claude-codeЧто делает terminal-ops
terminal-ops — это операторский скилл, а не общее руководство по кодингу. Он включается, когда задача упирается в вывод команды: упал тест, сломался билд, нужно проверить состояние репозитория или запушить узкую правку. Скилл сначала смотрит на ошибку, файл и git, и только потом что-то меняет.
Внутри описан порядок шагов: определить рабочую поверхность (путь к репозиторию, ветка, локальный diff, режим — inspect, fix, verify или push), прочитать падающее место, держать правку узкой и отчитаться точными словами статуса: inspected, changed locally, verified locally, committed, pushed, blocked. Есть отдельный формат вывода с блоками SURFACE, EVIDENCE, ACTION и STATUS.
Скилл ссылается на другие ECC-скиллы: verification-loop для шагов проверки, tdd-workflow когда нужна регрессия, security-review при секретах и авторизации, github-ops для CI и PR, knowledge-ops чтобы зафиксировать результат. Ставить стоит тем, кто гоняет агента по реальному репозиторию и устал от фраз «вроде починил». Если вам нужен только аудит без изменений — скилл это поддерживает, он остаётся read-only.
Какие задачи решает
- разобрать упавший CI и найти причину
- запустить команду в репозитории и показать её вывод
- сделать узкую правку и перепроверить её той же командой
- отличить изменённое локально от закоммиченного и запушенного
- проверить состояние git перед тем, как что-то трогать
Примеры запросов агенту
- запусти тесты в этом репозитории и покажи, что упало
- разбери падение CI на ветке feature/auth, правь только этот тест
- закоммить и запушь фикс, укажи ветку и результат
Как установить terminal-ops
1Через Skills CLI (Vercel)
npx skills add affaan-m/ECC --skill terminal-ops -a claude-code2Вручную: положить файлы
~/.claude/skills/terminal-ops/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/terminal-ops/
1Через Skills CLI (Vercel)
npx skills add affaan-m/ECC --skill terminal-ops -a codex2Вручную: положить файлы
.agents/skills/terminal-ops/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add affaan-m/ECC --skill terminal-ops -a cursor2Вручную: положить файлы
.cursor/skills/terminal-ops/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install affaan-m/ECC terminal-ops2Вручную: положить файлы
.github/skills/terminal-ops/SKILL.md1Через Skills CLI (Vercel)
npx skills add affaan-m/ECC --skill terminal-ops -a gemini-cli2Командой платформы
gemini skills install https://github.com/affaan-m/ECC --path skills/terminal-opsВручную: положить файлы
.devin/skills/terminal-ops/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add affaan-m/ECC --skill terminal-ops -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
Из того же набора146
Весь набор →Похожие
Вопросы о terminal-ops
Как установить terminal-ops в Claude?
Выполните npx skills add affaan-m/ECC --skill terminal-ops -a claude-code. Скилл окажется в ~/.claude/skills/terminal-ops/SKILL.md.
Что делает terminal-ops?
Ведёт агента по репозиторию: запускает команды, читает git, разбирает падения CI и билдов, делает узкую правку и отчитывается о том, что именно проверено.
Чем terminal-ops отличается от обычных советов по кодингу?
Он намеренно уже: это рабочий процесс для терминала, где ответ опирается на вывод команды. Скилл не заявляет о фиксе, пока проверочная команда не перезапущена.
Исходный текст
SKILL.md · MIT
--- name: terminal-ops description: Evidence-first repo execution workflow for ECC. Use when the user wants a command run, a repo checked, a CI failure debugged, or a narrow fix pushed with exact proof of what was executed and verified. metadata: origin: ECC --- # Terminal Ops Use this when the user wants real repo execution: run commands, inspect git state, debug CI or builds, make a narrow fix, and report exactly what changed and what was verified. This skill is intentionally narrower than general coding guidance. It is an operator workflow for evidence-first terminal execution. ## Skill Stack Pull these ECC-native skills into the workflow when relevant: - `verification-loop` for exact proving steps after changes - `tdd-workflow` when the right fix needs regression coverage - `security-review` when secrets, auth, or external inputs are involved - `github-ops` when the task depends on CI runs, PR state, or release status - `knowledge-ops` when the verified outcome needs to be captured into durable project context ## When to Use - user says "fix", "debug", "run this", "check the repo", or "push it" - the task depends on command output, git state, test results, or a verified local fix - the answer must distinguish changed locally, verified locally, committed, and pushed ## Guardrails - inspect before editing - stay read-only if the user asked for audit/review only - prefer repo-local scripts and helpers over improvised ad hoc wrappers - do not claim fixed until the proving command was rerun - do not claim pushed unless the branch actually moved upstream ## Workflow ### 1. Resolve the working surface Settle: - exact repo path - branch - local diff state - requested mode: - inspect - fix - verify - push ### 2. Read the failing surface first Before changing anything: - inspect the error - inspect the file or test - inspect git state - use any already-supplied logs or context before re-reading blindly ### 3. Keep the fix narrow Solve one dominant failure at a time: - use the smallest useful proving command first - only escalate to a bigger build/test pass after the local failure is addressed - if a command keeps failing with the same signature, stop broad retries and narrow scope ### 4. Report exact execution state Use exact status words: - inspected - changed locally - verified locally - committed - pushed - blocked ## Output Format ```text SURFACE - repo - branch - requested mode EVIDENCE - failing command / diff / test ACTION - what changed STATUS - inspected / changed locally / verified locally / committed / pushed / blocked ``` ## Pitfalls - do not work from stale memory when the live repo state can be read - do not widen a narrow fix into repo-wide churn - do not use destructive git commands - do not ignore unrelated local work ## Verification - the response names the proving command or test - git-related work names the repo path and branch - any push claim includes the target branch and exact result
© affaan-m · MIT · affaan-m/ECC