Logo Mstar Roles

Mstar Roles

Cộng đồng
btspoony
mstar-roles

Trung tâm prompt vai trò và cơ quan duy nhất quyết định tải/chọn: `references/<role>.md` theo thứ tự ưu tiên danh tính, preset skill do PM kích hoạt, quyết định none/preset có tên/resume. Luôn tải cho mọi vai trò Morning Star.

Add to TypingMind

Tổng quan

Nhà phát hànhbtspoony
Kho mãmstar-harness
Tên kỹ năngmstar-roles
Sao
67
Bản fork
4
Tệp đi kèm
23
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ộ.

  • 23 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 btspoony 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 Mstar Roles 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/btspoony/mstar-harness/tree/main/skills/mstar-roles
  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/btspoony/mstar-harness.git /tmp/mstar-harness
mkdir -p .claude/skills
cp -r /tmp/mstar-harness/skills/mstar-roles .claude/skills/mstar-roles
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 Mstar Roles 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 Mstar Roles 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 Mstar Roles 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.

Load Order

This hub is the single load-selection authority for Morning Star roles (Spec A2): mstar-harness-core stays the lifecycle/authorization semantic authority and the global entry whenever it is loaded, but this hub owns the selection decision — core does not maintain a second mandatory-role table. When a Morning Star role starts work in a session:

  1. Read this mstar-roles skill; resolve role mapping and parameter tables below. This hub bootstrap does not require mstar-harness-core first.
  2. Read the corresponding references/<role>.md file — identity-first: mission, scope, and NEVER rules come before any skill list. Non-PM roles also read the linked minimal leaf boundary (references/_shared/leaf-executor-core.md — role-owned, always loads with the reference).
  3. Apply the Assignment Skill presets: decision — explicit none ⇒ no optional topic preset (identity + assignment + role-owned methods only); omitted on a substantive implementation / QC / QA round ⇒ the role's standard preset; explicit named preset ⇒ that role's supported members; omitted on a trivial route ⇒ identity only. Role-owned QC/QA methods and assigned evidence obligations load regardless of preset. none never grants delegation and never waives gates. Unknown preset or missing required identity ⇒ return Needs Context / Blocked — never infer project-manager.
  4. Whenever mstar-harness-core is loaded by that decision (PM required reads, standard routes, direct lifecycle-topic invocation) it remains the global entry (state machine, gates, routing); if any conflict appears, mstar-harness-core remains the authoritative source for lifecycle, gates, routing, and invariants.
  5. Resume: retain loaded identity/contract only when the source hashes are unchanged; read changed / phase-required material; never reinterpret none as permission.
  6. Expand placeholders from role parameters before execution.

The table below summarizes each role's preset menu; when a role file's preset section differs, follow the role file for that session.

Exception: project-manager is the core orchestrator and keeps required reading (not a preset, never preset-gated) — see references/project-manager.md.

Role Reference Mapping

Agent idReference fileParameterized slots
project-managerreferences/project-manager.md—
product-managerreferences/product-manager.md—
architectreferences/architect.md—
code-reviewerreferences/code-reviewer.md—
fullstack-devreferences/fullstack-dev-shared.mdrole_id, track
fullstack-dev-2references/fullstack-dev-shared.mdrole_id, track
frontend-devreferences/frontend-dev.md—
qa-engineerreferences/qa-engineer.md—
qc-specialistreferences/qc-specialist-shared.mdrole_id, reviewer_index, focus, report_suffix
qc-specialist-2references/qc-specialist-shared.mdrole_id, reviewer_index, focus, report_suffix
qc-specialist-3references/qc-specialist-shared.mdrole_id, reviewer_index, focus, report_suffix
ops-engineerreferences/ops-engineer.md—
writing-specialistreferences/writing-specialist.md—
prompt-engineerreferences/prompt-engineer.md—

Role → skill presets (PM-activated)

PM-owned activation; the omission / none / named-preset / resume / unknown-preset rule is defined once in § Load Order above — this table only summarizes each role's preset menu (role refs own their named member lists). Role-owned files (e.g. references/qc-specialist/, references/qa-engineer/acceptance-gate.md) are excluded from presets; they always load with the reference.

RolePreset menu
project-managermstar-dispatch-gates, mstar-phase-gates, mstar-conventions, mstar-roles ref; + references/project-manager/qa-trigger-matrix.md for QA gate tiers; + mstar-review-qc before QC; + mstar-branch-worktree / mstar-artifacts as the round requires; + mstar-skill-authoring for skill work; + mstar-iteration for iteration lifecycle (start/drive/close); + mstar-pr-loop for the explicitly requested PR quality-gate loop, or when iteration Phase 1 records pr_merge_policy: reviewed-auto as that iteration's Phase 5 review path; + mstar-strategy for strategic alignment; + mstar-use-cli when the round runs or interprets CLI commands; + mstar-compound / mstar-compound-refresh pre-loaded by mstar-iteration § iteration-close
fullstack-dev*, frontend-devmstar-coding-behavior, mstar-dispatch-gates, mstar-branch-worktree (if repo writes); plan path symbols from mstar-conventions (minimal); mstar-design-md when implementing styled UI; mstar-design-system when the round converges an existing implementation onto a baseline; mstar-use-cli when the round runs or interprets CLI commands
qc-specialist*Presets: mstar-branch-worktree, mstar-artifacts (review bundle paths); mstar-design-md when reviewing UI; mstar-design-system when judging implementation-vs-baseline differences; mstar-use-cli when the round runs or interprets CLI commands. Role-owned (never gated): references/qc-specialist/ workflow/checklist/template (+ lenses on demand)
qa-engineerPresets: mstar-branch-worktree, mstar-artifacts (closing R#); mstar-design-md when verifying visual output; mstar-design-system when the round compares the build against a baseline; mstar-use-cli when the round runs or interprets CLI commands. Role-owned (never gated): references/qa-engineer/acceptance-gate.md
architectmstar-phase-gates (Prepare), mstar-artifacts (knowledge/specs); mstar-design-md (creator + design intent); mstar-strategy (STRATEGY.md creation/maintenance); mstar-use-cli when the round runs or interprets CLI commands
product-managermstar-phase-gates (Prepare), mstar-artifacts (knowledge/specs); mstar-design-md (creator + design intent); mstar-strategy (STRATEGY.md creation/maintenance)
code-reviewermstar-sdd (per-task review mode); mstar-audit (audit mode: full workflow); mstar-conventions (paths); mstar-use-cli when the round runs or interprets CLI commands
ops-engineermstar-coding-behavior, mstar-branch-worktree; mstar-use-cli when the round runs or interprets CLI commands
prompt-engineerAll topic skills when editing harness text; mstar-use-cli when the round runs or interprets CLI commands

Use skill names (not absolute filesystem paths) in role references.

Role references/*.md files include explicit NEVER sections (anti-recursion, tool misuse, Git discipline). Treat those bullets as hard gates alongside mstar-harness-core; do not treat them as optional style tips.

Parameter Table (SSOT)

Dev track (fullstack-dev family)

role_idtrackMeaning
fullstack-devprimaryBackend-led primary implementation track
fullstack-dev-2parallel_secondarySecond implementation track for parallel independent modules

QC reviewer (qc-specialist* family)

Job: Independent code review on the plan branch diff (logic, security, contracts, maintainability, reliability). Not test execution — suites/builds belong to implementer (L1) and qa-engineer (L4). See mstar-review-qc/references/review-responsibility-boundaries.md.

Default (SDD): plan QC tri-review — qc-specialist / qc-specialist-2 / qc-specialist-3 → {SDD_DIR}/review/qc1.md…qc3.md + qc-consolidated.md when Execution mode: sdd.

Exception (inline / hotfix): single-seat → {SDD_DIR}/review/qc.md (QC mode: single).

role_idreviewer_indexfocusreport_suffix
qc-specialist1Architecture coherence and maintainability riskqc1 → {SDD_DIR}/review/qc1.md
qc-specialist-22Security and correctness riskqc2 → {SDD_DIR}/review/qc2.md
qc-specialist-33Performance and reliability riskqc3 → {SDD_DIR}/review/qc3.md

PM consolidated (tri mode): {SDD_DIR}/review/qc-consolidated.md (same folder; no <plan-id> basename prefix) + durable main-plan summary. Naming SSOT: mstar-artifacts/references/plan-files-and-reports.md.

Engine check (when available): run mstar roles validate (or import validateRoleMapping / lintLoadOrder from @mstar-harness/engine in a host hook) to validate the mapping and parameter tables above against the on-disk references/*.md layout (shared families included) and lint load-order declarations: mstar-* topics declare core-first with only exact-identity exemptions; this hub's bootstrap declares the § Load Order decision matrix. On fail -> do not proceed; fix and re-run. Skill text below remains authoritative when the runtime is absent.

Maintenance Rules

  • Edit behavior in references/*.md.
  • Edit role family parameters in this file.
  • Keep shared-family roles (fullstack-dev*, qc-specialist*) on one shared reference file.
  • Role references stay identity-first: mission / responsibilities / NEVER rules before any skill list; topic-skill loads live only in the Skill Preset (PM-Activated) section.
  • Add new roles by updating mapping, parameters (if needed), and adding corresponding agents/*.md shell.

Workflow

加载顺序:Read 本 skill(角色映射 + 参数表;本 skill 即加载选择权威)→ 解析对应 references/<role>.md(身份优先:mission / NEVER / responsibilities 在前)+ 非 PM 角色读取其链接的 leaf 边界 → 按 § Load Order 的 Skill presets: 决策加载专题 skill(解释权只在 § Load Order;角色 ref 只列成员名单)。映射 / 参数表与磁盘 references/*.md 布局不符时先修再继续。

Evidence

Correct structural evidence = mstar roles validate reports zero mapping and load-order violations: lifecycle topics declare core-first, and the hub declares identity-first / none / standard / role-owned methods / unknown-preset decisions. Reference files match the mapping; shared families use one reference. This validation does not establish model compliance or waive lifecycle authority.

References

  • 角色正文 → references/<role>.md(本 skill 内;leaf QC / QA 等子目录见 references/qc-specialist/、references/qa-engineer/)

  • 全局角色 → mstar-harness-core 加载矩阵与专题 skill 索引

  • Explicit independent E2E/browser/device requests → mstar-e2e (PM orchestrates; ops-engineer executes; routine QA does not trigger it).

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 Mstar Roles làm được gì?

Trung tâm prompt vai trò và cơ quan duy nhất quyết định tải/chọn: `references/<role>.md` theo thứ tự ưu tiên danh tính, preset skill do PM kích hoạt, quyết định none/preset có tên/resume. Luôn tải cho mọi vai trò Morning Star.

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

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/btspoony/mstar-harness/tree/main/skills/mstar-roles. 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 Mstar Roles?

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

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