Mstar Roles 标志

Mstar Roles

社区
btspoony
mstar-roles

角色提示词中心及唯一的加载选择依据:优先确认身份的 `references/<role>.md`、由 PM 激活的技能预设,以及 none/指定预设/resume 的选择。Morning Star 的任何角色都必须加载。

Add to TypingMind

概览

发布者btspoony
代码仓库mstar-harness
技能名称mstar-roles
星标数
67
复刻数
4
附带文件
23
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 23 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 btspoony 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Mstar Roles AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/btspoony/mstar-harness/tree/main/skills/mstar-roles
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Mstar Roles,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Mstar Roles。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Mstar Roles 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

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).

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Mstar Roles AI 技能有什么作用?

角色提示词中心及唯一的加载选择依据:优先确认身份的 `references/<role>.md`、由 PM 激活的技能预设,以及 none/指定预设/resume 的选择。Morning Star 的任何角色都必须加载。

为什么在 TypingMind 中使用 Mstar Roles?

因为您只需安装一次,就能搭配任何模型使用。Mstar Roles 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Mstar Roles?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/btspoony/mstar-harness/tree/main/skills/mstar-roles。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Mstar Roles?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Mstar Roles 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Mstar Roles 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Mstar Roles AI 技能免费吗?

是的。btspoony 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇