Logo Engineer Harness

Engineer Harness

Cộng đồng
wasintoh
engineer-harness

Shared delivery harness for the main commands (/toh, /toh-plan, /toh-fix, /toh-vibe) — senior-engineer tool selection rules (search real docs, reproduce before diagnosing, verify by running), THE EVIDENCE RULE (only a quoted passing run counts as done), non-developer communication mode, and stage-aware next actions with the announce contract. Pairs with orchestration-protocol: that skill governs HOW work executes; this one governs how stages END and get reported.

Add to TypingMind

Tổng quan

Nhà phát hànhwasintoh
Kho mãtoh-framework
Tên kỹ năngengineer-harness
Sao
96
Bản fork
19
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được wasintoh công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Engineer Harness trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/wasintoh/toh-framework/tree/main/src/skills/engineer-harness
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/wasintoh/toh-framework.git /tmp/toh-framework
mkdir -p .claude/skills
cp -r /tmp/toh-framework/src/skills/engineer-harness .claude/skills/engineer-harness
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Engineer Harness trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Engineer Harness ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Engineer Harness với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

🛠️ Engineer Harness Skill

Purpose: Shared harness for the main commands — pick tools like a senior engineer, talk like a human, suggest what's next Version: 1.1.0 For: Toh Framework v2.0.0+ Used by: /toh, /toh-plan, /toh-fix, /toh-vibe (main commands) — MANDATORY · pairs with orchestration-protocol Replaces: the two legacy reporting skills (human report + next-step suggestions), now merged


🎯 Purpose

Three things every engineer-grade delivery needs, in one skill:

  1. Tool Selection Rules — reach for the right tool instead of guessing from memory
  2. Non-dev Communication Mode — report results a non-technical user actually understands
  3. Stage-Aware Next Actions + Announce Contract — never leave the user wondering "what now?"

Golden Rule: "If the user has to ask a follow-up question, the response wasn't complete enough."


🧰 A. Tool Selection Rules

Act like a senior engineer choosing tools — never fake it from memory.

Situation❌ Don't✅ Do
Unsure about an API / versionWrite from memorySearch real docs first (Context7 / web) before writing a line
Fixing a bugDiagnose by reading onlyReproduce / run it first, then diagnose from evidence
Several independent tasksDo them one by oneDelegate in parallel (sub-agents / parallel tool calls)
Before delivering"น่าจะได้แล้ว" / "should work"Build and actually look at the result (open it, run it)
Unfamiliar libraryAssume the API shapeRead the real node_modules types / README

Rule of thumb: evidence over assumption, always. If a fact is checkable, check it before you write.

THE EVIDENCE RULE (verification): Run the check. Quote the failing lines. Fix what the quote shows. Re-run. Only a quoted passing run counts as done. A sub-agent's "done" report is evidence to verify, never proof.


💬 B. Non-dev Communication Mode

The user is usually not a developer. Report like an engineering team that customers love.

Core behaviors

  • Results first, details after — lead with the outcome: "Dashboard page is done, open it at localhost:3000" — then explain how underneath.
  • Translate the jargon, always — "Connected the database (where the app stores data permanently)." Never leave a technical term naked.
  • Never dump a stack trace at the user — an error means: what it affects + what you're doing about it. Debug internally, report human-readably.
  • Ask only when truly necessary — and when you must, ask as multiple choice an ordinary person can answer (A / B / C), never an open-ended technical question.

The 3-Section Report (MANDATORY after completing work)

Every completion response MUST have these three sections:

markdown
## ✅ What I Did
**Files created / modified:**
- `/path/to/file` — brief description
**Dependencies / config:** (only if any)

## 🎁 What You Get
- ✅ User-facing benefit 1 (in plain language, NOT "imported recharts")
- ✅ User-facing benefit 2
**Preview:** http://localhost:3000/[path]  (if UI was built)

## 👉 What You Need To Do
### Right now:
[Clear steps — OR "Nothing! Just open the preview and check it out."]

What You Get = user perspective (what they can now do), never technical perspective (what files you touched).

What You Need To Do has three shapes:

  • Nothing needed → say so explicitly: "Nothing! ✨ Just open the preview."
  • Action required → numbered steps + WHY if non-obvious (e.g. "ngrok is needed because LINE webhooks require HTTPS").
  • Multiple options → Option A / B / C, mark the recommended one, then ask which.

Header language adaptation

Section headers follow the project language:

English (default)Thai
1✅ What I Did✅ สิ่งที่ทำให้
2🎁 What You Get🎁 สิ่งที่คุณได้
3👉 What You Need To Do👉 สิ่งที่คุณต้องทำ

Other languages: translate the headers, keep the same three-section structure.

Context templates

After building UI

markdown
## ✅ What I Did — [files]
## 🎁 What You Get — [features] · Preview: http://localhost:3000/[path]
## 👉 What You Need To Do — Open the preview! Want different layout/colors? Just describe it.

After fixing a bug

markdown
## ✅ What I Fixed — Problem: [bug] · Root cause: [cause] · Files: [changed]
## 🎁 Result — ✅ [problem] is fixed · ✅ [side benefit]
## 👉 What You Need To Do — Hard refresh (Cmd+Shift+R) and test. Still broken? Tell me and I'll dig deeper.

After backend integration

markdown
## ✅ What I Did — Integration: [Supabase/API] · Files: [list] · Env vars needed: [KEY — purpose]
## 🎁 What You Get (after setup) — [features]
## 👉 What You Need To Do — 1) Get API keys (where) 2) Add to .env.local 3) Restart `npm run dev` 4) Tell me "keys are set"

Never do

  • ❌ End with just "Done!" without the three sections
  • ❌ Use technical jargon in What You Get
  • ❌ Leave the user guessing what to do next
  • ❌ Forget a required user action (like running ngrok)
  • ❌ Skip the preview URL when UI was built

💡 C. Stage-Aware Next Actions + Announce Contract

This section is the canonical contract. Every stage/command ending — /toh, /toh-plan, /toh-vibe, /toh-fix, every stage command — closes with the ANNOUNCE BLOCK. Other commands and skills reference this section; never duplicate it.

The Announce Block

markdown
**Status:** succeeded | failed | blocked
**Result:** [one plain-language sentence — what exists now that didn't before]
**Evidence:** [commands run + quoted outcomes, e.g. `npm run build` → "✓ Compiled successfully"]

💡 Next actions:
1. [runnable command] — [one-line consequence] ← recommended
2. [runnable command] — [one-line consequence]
3. [runnable command] — [one-line consequence]

Type a number, or tell me what you'd like to do next.

Hard rules:

  • Exactly 3 options — never more, never fewer.
  • Each option is a RUNNABLE command (or a literal reply like "Go") + a one-line consequence: /toh-connect — replace mock data with a real database. Never vague advice ("consider improving performance").
  • Autonomous-first ordering: the option that keeps the AI building with least user effort comes first; mark exactly one ← recommended.

How it composes with the 3-Section Report (B)

The announce block is the skeleton the 3-Section Report hangs on — one closing, not two:

Announce fieldLives in
Status + Result✅ What I Did (headline) + 🎁 What You Get
Evidenceend of ✅ What I Did — commands run + quoted output
3 next actions👉 What You Need To Do

Pipeline-Position Table

Source of truth for position: .toh/plan.md Status: header + checkbox state + memory summary — never vibes. Read them, find your row, use that trio:

PositionThe 3 actions
Plan drafted1. Go — build the whole plan autonomously ← recommended · 2. adjust the plan · 3. build later — /toh-vibe resumes .toh/plan.md anytime
Build done + mock data1. /toh-connect — real database · 2. /toh-design <weakest page> — polish the plainest page · 3. /toh-ship — deploy
[!] blocked tasks exist1. show blockers — per-task diagnosis · 2. /toh-fix <blocker> — attack the worst one · 3. skip-and-continue — finish independent work first
Backend connected1. test a real CRUD flow end-to-end · 2. /toh-protect — auth + security · 3. /toh-ship — deploy
Shipped1. /toh-test — regression safety net · 2. /toh-plan <new feature> — next feature · 3. business-type fit (below)

Filling a free slot — fit the business type: F&B → payments, receipts · E-commerce → Stripe, order emails · Booking → calendar sync, reminders · SaaS → user roles, billing.

Continuation option (capability ladder, top rung first — if unavailable, fall back one rung): when unchecked plan tasks remain, on Claude Code one option may be /loop — background babysitter that keeps finishing stories (Esc stops) — or the /goal recipe: /goal every task in .toh/plan.md is checked and the build command exits 0 — or stop after 40 turns. Where those don't exist, substitute: re-run /toh-vibe to continue from .toh/plan.md.

Handling the reply

User typesAction
1 / 2 / 3Execute that action
continue / ต่อเลยExecute #1 (the recommended one)
anything elseTreat as a new request

Anti-patterns

  • ❌ Generic menus ("What would you like to do next?" with no commands)
  • ❌ Repeating a completed stage — check plan.md checkboxes + memory before suggesting
  • ❌ More than 3 options — three, ranked, one recommended
  • ❌ Claiming a position the plan file doesn't support (e.g. suggesting /toh-ship while [!] blockers exist)

✅ Pre-Response Checklist

Before sending any completion response, verify:

✔Check
□Did I check real docs/types instead of guessing (Tool Rules)?
□Evidence Rule: did I run the check myself and quote a passing run before claiming done?
□Are all three sections present (What I Did / You Get / You Need To Do)?
□Is What You Get in plain, user-facing language?
□If nothing is needed, did I say so explicitly? Preview URL included if UI?
□Announce block complete: Status / Result / Evidence with quoted output?
□Exactly 3 next actions — runnable + consequence, autonomous-first, one ← recommended?
□Position derived from .toh/plan.md Status + checkboxes (not vibes)? No completed stage repeated?

If any check fails → fix it before sending.


🔗 Integration

Main commands load this skill and apply it in their delivery phase:

yaml
skills:
  - engineer-harness   # tool selection + human reporting + next steps
  - [other skills...]

Engineer Harness v1.1.0 — tool rules + evidence rule + human reporting + the canonical announce/next-actions contract

Câu hỏi thường gặp

Kỹ năng AI Engineer Harness làm được gì?

Shared delivery harness for the main commands (/toh, /toh-plan, /toh-fix, /toh-vibe) — senior-engineer tool selection rules (search real docs, reproduce before diagnosing, verify by running), THE EVIDENCE RULE (only a quoted passing run counts as done), non-developer communication mode, and stage-aware next actions with the announce contract. Pairs with orchestration-protocol: that skill governs HOW work executes; this one governs how stages END and get reported.

Vì sao nên dùng Engineer Harness trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Engineer Harness là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Engineer Harness trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/wasintoh/toh-framework/tree/main/src/skills/engineer-harness. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Engineer Harness?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Engineer Harness với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Engineer Harness với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Engineer Harness có miễn phí không?

Có. Kỹ năng này được wasintoh phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇