Chuyển đến nội dung
Skillpedia
Lập trình chung280k · #423

terminal-ops

Skill này làm gì

Công cụ này giúp chạy lệnh trong kho code, kiểm tra trạng thái và sửa lỗi. Nó đảm bảo thay đổi chính xác và được xác minh trước khi gửi đi.

Khi nào nên dùng

  • ✓Khi bạn cần chạy một lệnh cụ thể trong code.
  • ✓Khi bạn muốn kiểm tra trạng thái hiện tại của dự án code.
  • ✓Khi bạn sửa lỗi trong quá trình kiểm thử hoặc build.

Liên kết skill

https://github.com/affaan-m/ECC/blob/main/skills/terminal-ops/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/affaan-m/ECC/blob/main/skills/terminal-ops/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Chạy lệnh “npm install” trong dự án của tôi và kiểm tra xem nó đã cài đặt đầy đủ các phụ thuộc chưa.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ trước tiên xác định code nằm ở đâu và bạn muốn làm gì (kiểm tra, sửa, v.v.). Sau đó, nó xem xét vấn đề, thực hiện thay đổi nhỏ nhất có thể và xác nhận xem việc sửa đã có hiệu quả chưa trước khi báo kết quả.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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

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
Câu hỏi thường gặp

“Evidence-first” nghĩa là gì?

Nghĩa là công cụ luôn đưa ra bằng chứng về những gì đã làm và đã kiểm tra, như kết quả lệnh hoặc kết quả kiểm thử, trước khi coi công việc là hoàn thành.

Tôi có thể dùng cho các thay đổi code lớn không?

Không, công cụ này dành cho các sửa lỗi nhỏ, cụ thể. Nó tập trung giải quyết chính xác từng vấn đề một.

Điều gì xảy ra nếu cách sửa không hiệu quả?

Công cụ sẽ báo hành động là “blocked” (bị chặn) và sẽ không giả vờ rằng vấn đề đã được sửa hoặc đã được đẩy lên cho đến khi cách sửa được chứng minh là thành công.

Chi tiết

Mô tả gốc của tác giả

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.

repo: affaan-m/ECC

Độ phổ biến

Sao GitHub
280k
Vị trí xếp hạng
#423
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự