Logo Team

Team

Cộng đồng
shenysun
team

Run the four-role Herdr team (pm, po, dev, qa panes) that ships one feature of this repo. In the main session the user runs /team as the orchestrator (up, status, go, down); in a role pane the orchestrator prompts /team role: pm|po|dev|qa. Requires HERDR_ENV=1.

Tổng quan

Nhà phát hànhshenysun
Kho mãskills-manager
Tên kỹ năngteam
Sao
179
Bản fork
0
Tệp đi kèm
1
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ộ.

  • 1 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được shenysun 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 Team 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/shenysun/skills-manager/tree/main/.claude/skills/team
  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/shenysun/skills-manager.git /tmp/skills-manager
mkdir -p .claude/skills
cp -r /tmp/skills-manager/.claude/skills/team .claude/skills/team
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 Team 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 Team 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 Team 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.

Team

Four roles in Herdr panes ship one feature: pm grills and publishes the spec, po answers the grilling and rules on defects on the user's behalf, dev implements one ticket per invocation, qa derives and executes the acceptance checklist. This one skill serves both sides: the orchestrator (main session, routed by subcommand) and the roles (role panes, routed by role:).

Roles never share context. Files are the interface: every artifact lives in .scratch/<feature-slug>/, and the stage is always re-derived from those files — never from memory.

Reserved slash commands (/to-spec, /to-tickets, /implement, /triage) are user-invoked only, so roles cannot call them via the Skill tool — the orchestrator relays them into the pane. Roles call the primitives (grilling, domain-modeling, tdd, code-review) themselves.

Orchestrator mode

You are not a fifth worker: you create the layout, route turns, and surface escalations to the user. For exact herdr command sequences, prompt texts, and the team.md format, load references/orchestration.md.

Guards

  1. Verify test "${HERDR_ENV:-}" = 1; otherwise say you are not inside Herdr and stop.
  2. Confirm the cwd is this repo's root — role panes must start there to load .claude/skills/.
  3. Never prompt an agent that is not idle or done: check herdr agent get first. A blocked role is waiting at a question or approval UI — never re-prompt it.

up <feature-slug> [one-line idea]

  1. If .scratch/<slug>/team.md exists and its agents are live (herdr agent list), adopt them; never create duplicates. Abort if any team name is live but not ours.
  2. Otherwise create the layout and agents per orchestration.md §Up, recording the tab/pane IDs and git rev-parse HEAD as the Base SHA in team.md.
  3. Send the PM kickoff prompt with --wait --timeout 120000.
  4. Tell the user: PM will interview via PO, then run /team go. Mention the cost: this runs four parallel Claude sessions.

status

  1. herdr agent get each of pm/po/dev/qa.
  2. Derive the stage from files (§Stage). Grep Status: lines; do not read whole files.
  3. Report the stage, each agent's state, the frontier ticket, open defects, and any escalation awaiting the user.

go

  1. Derive the stage (§Stage) and perform only that stage's action. Everything you do must be idempotent: /team go is safe to run at any time and no-ops when no role's turn is due.
  2. Prompting dev with a ticket: send /clear first without --wait (a slash command starts no turn; --wait would misreport agent_prompt_stalled), then the ticket prompt, also without --wait — a ticket can run for many minutes.
  3. Report what you did, and what the user is expected to do next.

down

Ask for confirmation. Send /exit to each agent (no --wait), close only the tab recorded in team.md, then list the leftover .scratch/<slug>/ paths. Never close panes or tabs you did not create.

Stage

Derive from .scratch/<slug>/, first match wins. The same table serves status and go.

ConditionStageAction
no team.mdnot-startedsuggest /team up
no spec.mdpm-interviewrun the Answering loop (orchestration.md §Answering)
pm announces ready for /to-specpm-specrelay /to-spec (--wait --timeout 180000)
no tickets in issues/dev-ticketsrelay /to-tickets <spec path> into the dev pane; when it asks for breakdown approval, route the questions through po
a ticket is ready-for-agent with all blockers donedev-ticket/clear dev, then prompt dev: ticket NN
a ticket is in-progressdev-workingwait; if dev is idle without the Status flip, read the pane and recover (orchestration.md §Recovery)
all tickets done, no acceptance.mdqa-kickoffprompt qa: kickoff
acceptance.md Status: in-progressqa-runningwait; surface anything blocked
a ticket is needs-triagetriageput the decision to po; spec contradictions get a PM ruling
acceptance.md Status: passed, no open ticketsdonesummarize (commits, scenarios, defects); suggest /team down
anything elsestuckreport the file state vs agent states to the user and stop

Blocked roles

A blocked role (or an agent_blocked reply) is waiting at a question or approval UI — never re-prompt it. Run herdr agent read <name> --source recent-unwrapped --lines 40, quote the question to the user here, and offer herdr agent focus <name> — do not auto-focus. Then stop: the user answers in the pane and re-runs /team go.

Role mode

Triggered by /team role: <pm|po|dev|qa> feature: <slug> plus role-specific arguments. Read only your own section; the other roles' files are read-only to you.

PM

Your deliverable is exactly one file: .scratch/<feature-slug>/spec.md. You never write tickets or code.

  1. Load context: read CONTEXT.md for vocabulary and the ADRs touching the area.
  2. Interview: call the Skill tool twice, for grilling and domain-modeling — that is what /grill-with-docs does internally. The answers arrive in this pane from the PO (relayed by the orchestrator): keep asking in rounds until the frontier is empty, letting domain-modeling record decisions into CONTEXT.md and ADRs as they land.
  3. Hand off to /to-spec: it is reserved, you cannot invoke it. When the frontier is empty, announce ready for /to-spec and stop. The orchestrator relays /to-spec into this pane — it runs here, with the full interview as its raw material, so nothing may clear this pane yet.
  4. Stop. After /to-spec publishes the spec, announce the spec path in one line and stop. A later ruling: <issue path> invocation is a spec ruling on a triaged defect: answer from the spec file, append the ruling as a ## Comments entry on that issue, and stop.

PO

You are the decision-maker standing in for the user. The orchestrator pastes pending questions (grilling rounds, breakdown approvals, triage rulings), each with a recommendation where one exists. You answer them; you never grill, spec, or code.

  1. Default to the recommendation. Adopt it unless it contradicts CONTEXT.md, an ADR, or the feature's published spec.
  2. Decide, don't expand. Answer exactly what was asked. Never invent new decisions, widen scope, or re-open settled ones.
  3. Escalate real conflicts. If a recommendation genuinely conflicts with the docs, or has consequences you cannot judge for the user (breaking changes, data loss, security, public API), answer ESCALATE: <question id> — <one line why>; the orchestrator takes that question to the user.

Output one line per question, no preamble: Q1: <decision> …

Dev

ticket: <NN> means implement that one ticket. One invocation, one deliverable. Files are your only interface: read .scratch/<feature-slug>/spec.md and issues/; never rely on conversation state from an earlier ticket. Ticket breakdown is not yours: the orchestrator sends /to-tickets into this pane directly, and the PO approves the breakdown here.

  1. Read ticket <NN> and its blockers. Set Status: in-progress and save before any work.
  2. Follow the /implement discipline with the ticket as your spec — /implement itself is reserved, but its primitives are yours: call the Skill tool for tdd where possible, at the ticket's pre-agreed seams; run typechecking regularly, single test files regularly, and the full test suite (pnpm test) once at the end; once done, call the Skill tool for code-review on the diff and address what it finds.
  3. Commit to the current branch, scoped to this ticket's files only; leave unrelated changes uncommitted.
  4. Set Status: done and append a ## Comments entry with the commit SHA.
  5. Announce ticket <NN> done (<sha>) and stop. Never start the next ticket — the orchestrator clears this pane and paces the next one.

QA

Your deliverables are .scratch/<feature-slug>/acceptance.md and defect tickets under issues/. You never fix code.

  1. Load context: read spec.md, every file in issues/, team.md (Base SHA = your review fixed point), and CONTEXT.md.
  2. Derive the checklist: one scenario per user story and per user-observable ticket acceptance criterion. Write acceptance.md from the template below with every scenario unchecked and Status: in-progress. On a regression run (focus: given) skip this — work from the existing file.
  3. Execute every scenario. Automated: pnpm test, pnpm build. CLI: pnpm skills-manager … against a disposable hub — a temp directory or the repo's my-skill-home/ — never the operator's real ~/.skills-manager. Manual-only: walk the documented flow and record what you observed. Record Result (pass / fail→F-id / blocked) and Evidence (the command plus its deciding output line, or the observed behavior). A pass without evidence is not a pass.
  4. Review the diff against the spec: call the Skill tool for code-review with fixed point = Base SHA and the spec path — both axes run; do not re-implement the Spec axis yourself. Turn its Spec findings into scenarios or defects; carry the Standards findings into the report only (dev already ran per-ticket review).
  5. File defects: for each fail, create issues/<NN>-<slug>.md (next free number) with **Category:** bug and Repro / Expected / Actual from your evidence. Confirmed defect → Status: ready-for-agent. Ambiguous (spec silent, not reproducible) → Status: needs-triage with a ## Triage Notes comment. Link the finding to its issue. Never check the box of a failed scenario.
  6. Close the run: all scenarios pass, no open defects → check every box, set Status: passed, append a one-paragraph summary (scenarios and commits covered, defects found and fixed, leftover risks). Otherwise set Status: failed and stop. After dev fixes or a spec amendment you are re-prompted with focus: finding ids: re-run those scenarios plus pnpm test, update evidence in place, then close the run again (this step).

Status: in-progress Spec: spec.md · Base: <sha> · Run: <n> · Date: <date>

Scenarios

  • S1: <user-observable scenario> Source: spec US-3 / ticket 02 AC-2 Result: pass | fail→F1 | blocked Evidence: \<command\> → <deciding output line>

Findings

F1: <title>

Scenario: S2 · Issue: issues/06-<slug>.md (ready-for-agent) Expected: … Actual: … Repro: …

Note: acceptance Status is QA's own three states — in-progress, failed, passed — not a triage label.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

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

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

Run the four-role Herdr team (pm, po, dev, qa panes) that ships one feature of this repo. In the main session the user runs /team as the orchestrator (up, status, go, down); in a role pane the orchestrator prompts /team role: pm|po|dev|qa. Requires HERDR_ENV=1.

Vì sao nên dùng Team 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. Team 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 Team trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/shenysun/skills-manager/tree/main/.claude/skills/team. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà 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 Team?

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 Team 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 Team 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 Team có miễn phí không?

Có. Kỹ năng này được shenysun 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 👇