mstar-strategy
Morning Star 全局战略方向 —— 创建并维护 `STRATEGY.md`(项目级战略文档),作为 brainstorm/plan 的上游锚点。定义产品愿景、技术方向、不做事项、决策原则。触发:项目初始化、方向性决策变更、或 PM 要求战略对齐时。
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Morning Star 全局战略方向 —— 创建并维护 `STRATEGY.md`(项目级战略文档),作为 brainstorm/plan 的上游锚点。定义产品愿景、技术方向、不做事项、决策原则。触发:项目初始化、方向性决策变更、或 PM 要求战略对齐时。
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Morning Star host adapter (OpenCode, Cursor, Codex, Kimi, ZCode). Use after mstar-harness-core whenever host entry, clarify, dispatch, or plan UX differs by platform - OpenCode question/task-tool subagent invoke, Cursor /pm and CreatePlan/SwitchMode dual-write and Task parallel QC, Codex plugin skills plus Plan/Goal Mode, Kimi Agent/AgentSwarm with built-in subagent types only (coder/explore/plan) and role-in-prompt binding, ZCode Agent/AskUserQuestion/EnterPlanMode with built-in subagent types and role-in-prompt binding, sandboxed tools, and tool discovery. Auto-detect host from session tools; then Read references/<host>.md. Always load after mstar-harness-core.
[Cursor maint] Morning Star 路由与 prompt 迭代评估 —— 维护/回归专用(非日常 PM 编排 runtime)。路径:本仓库 `.cursor/skills/mstar-routing-eval/`。(1) PM 路由回归:`assets/routing-evals.json`;(2) Prompt/规则迭代评估;(3) Routing Eval Report 模板。变更 PM 路由或 harness 门禁、`@prompt-engineer` 改 agents/skills、或显式跑场景集时 Read。
Morning Star (启明星) harness **强制全局入口** —— 信息源优先级、最小交付循环、状态机与 Done 权限、Task category 路由(含 quick 禁豁免)、@explore 边界、长任务纪律、护栏不变量、反模式索引、Morning Star Skill 索引与宿主入口。**任何**非平凡任务开始前必须先 Read 本 skill;再按角色与任务 **按需** Read 其它 `mstar-*` 专题(勿默认通读全部)。`@project-manager` 开轮必读 + `mstar-dispatch-gates` / `mstar-phase-gates` / `mstar-plan-conventions` 等;实现/审查/QA 必读本 skill + `mstar-coding-behavior` 及角色清单(见 `mstar-roles`)。Prepare/派发/Git/residual/QC 细则在专题 skill,不在此重复。
Morning Star 迭代管理 —— Phase 1(默认 interactive direction lock;opt-in autonomous;specs + `<iteration-id>/` package;禁止直写 knowledge)、Autonomous Execute、iteration-close(compound 提升 package → knowledge)、PR 交付、PR merge-ready loop。分支 SSOT:`status.json` + compass frontmatter。
Morning Star plan harness artifacts — `{PLAN_DIR}` main plans and durable review summaries, `{SDD_DIR}/review/` ephemeral QC/QA bundles, `{KNOWLEDGE_DIR}` / `{ITERATION_DIR}` indexes, Done compaction, plus `{HARNESS_DIR}/status.json` and root `residual_findings` (severity SSOT, open/archived lifecycle, `notes.json`). Read when writing plans or QC/QA review bundles, maintaining knowledge/iteration indexes, reading or writing `status.json` / R#, Done compaction, or mapping QC severity to JSON. Required for `@project-manager` on status, residuals, and InReview/QC waves; `@qc-specialist*` before writing review bundle reports; `@qa-engineer` before closing R# when `QA gate: mandatory`. Verdict rules: leaf → `mstar-roles/references/qc-specialist/report-template.md`; PM → `mstar-review-qc`. Paths in `mstar-plan-conventions`.
Morning Star QC orchestration — **SDD mandatory plan QC tri-review** (`{SDD_DIR}/review/qc1.md`…`qc3.md` + consolidated); inline/hotfix single-seat (`qc.md` in review bundle); PM dispatch timing, tri identity gate, residual registration contract, layer boundaries, durable plan summary. Leaf QC execution → **`mstar-roles/references/qc-specialist/`**. Per-task review is **`mstar-sdd`** (L2). Primary reader: **`project-manager`** when dispatching or consolidating QC.
| name | mstar-strategy |
| description | Morning Star 全局战略方向 —— 创建并维护 `STRATEGY.md`(项目级战略文档),作为 brainstorm/plan 的上游锚点。定义产品愿景、技术方向、不做事项、决策原则。触发:项目初始化、方向性决策变更、或 PM 要求战略对齐时。 |
Read mstar-harness-core first. Path symbols → mstar-plan-conventions. On conflict, mstar-harness-core wins.
STRATEGY.md is the project's upstream anchor — a concise declaration of what the project is, where it's going, and what principles guide decisions. It is read as grounding by brainstorm, plan, and ideation phases so strategic choices flow into every feature.
Without a strategy document, decisions are made in isolation — each plan misses the larger context.
SSOT: mstar-plan-conventions/references/artifact-storage-paths.md。STRATEGY.md → <repo-root>/STRATEGY.md(与 .git/、AGENTS.md 同级)。禁止放入 {HARNESS_DIR}、docs/ 或任何子目录。
| Trigger | Example |
|---|---|
| Project initialization | "Create STRATEGY.md for this new project" |
| Directional change | "We're pivoting from monolith to microservices" |
| PM requests alignment | "Check if this plan aligns with our strategy" |
| Periodic review | "Review and update STRATEGY.md" |
A good strategy document is opinionated and concise. It should fit in one screen of reading.
# Strategy
## Vision
<1-2 sentences: what the project aims to become>
## What we build
<Core product/users/use cases>
## What we don't build
<Explicit non-goals — as important as goals>
## Guiding Principles
- <Principle 1>
- <Principle 2>
- <Principle 3>
## Technology Direction
<Key tech choices and rationale>
## Decision Log
<Major past decisions with context — why, not just what>
{KNOWLEDGE_DIR} or {ITERATION_DIR} exist, scan for architectural decisions and patterns.CONCEPTS.md exists, use it to understand domain vocabulary.Ask PM these questions (one at a time):
Write STRATEGY.md at the repo root. Keep it concise — each section should be 1-3 sentences or a short bullet list.
Check if AGENTS.md references STRATEGY.md. If not, propose adding:
- `STRATEGY.md` — project vision and guiding principles
Ask for consent before applying.
| Document | Purpose | Audience |
|---|---|---|
STRATEGY.md | Product/technical direction, principles, decisions | PM, architect, all implementers |
AGENTS.md | Repo maintenance policy, conventions | Contributors and agents |
CONCEPTS.md | Domain vocabulary | Anyone reading/writing project docs |
Plans in {PLAN_DIR}/ | Feature-level implementation plan | Implementers, reviewers |