基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/carrot-foundation/middle-earth --skill rule-bmad命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | rule-bmad |
| description | BMAD tool/output split and per-app artifact convention for Middle Earth |
Apply this rule whenever work touches:
_bmad/**_bmad-output/**apps/*/_bmad-output/**BMAD is how planning, drafting, and shipping work is captured. The split between tool and output is deliberate — read this before touching anything under _bmad/ or _bmad-output/.
Per-machine (installer scaffolding, reinstalled by each dev):
_bmad/* — agents, workflows, expansion packs (bmm, bmb, cis, core, tea), generated config (config.yaml, config.user.toml)..claude/skills/bmad-*/ — skill copies the BMAD installer writes; not authored by hand.Team-shared (the canal of context — this is what is committed):
_bmad/custom/ — exception inside the scaffolding. Team-built customizations land here and survive a reinstall._bmad-output/ (root) — monorepo/infra-wide artifacts only (cross-app brainstorms, charter).apps/<app>/_bmad-output/ — same structure, scoped to one app. App-level work belongs here, never at the root.Inside any _bmad-output/ you get the same five buckets:
project-context.md — living summary; the entrypoint for any human or agent ramping into the scope.brainstorming/ — exploratory sessions (one dated MD per session).planning-artifacts/ — PRDs, briefs, charter, editorial passes.implementation-artifacts/ — stories, plans, dev specs (<epic>-<story>-<slug>.md).research/, notes/ — supporting material._bmad/ is installed on your machine (BMAD installer).apps/<app>/_bmad-output/project-context.md for the app you'll touch (and root _bmad-output/project-context.md if it exists, for the monorepo picture).apps/<app>/_bmad-output/implementation-artifacts/ for the active story before writing code.project-context.md via bmad-generate-project-context if the scope shifted, and commit new artifacts.Middle Earth commitlint enforces scope-enum = config | lib | news-digest | release (see commitlint.config.mjs — this is the source of truth; the prose in CLAUDE.md is inaccurate). There is no bmad or ai scope. Commit BMAD artifacts under the matching app scope when app-scoped (e.g. docs(news-digest): ...), or docs(config) for repo-wide AI/config changes, until/unless a dedicated scope is added.
_bmad/ outside _bmad/custom/ — wiped on the next reinstall.apps/<app>/_bmad-output/, not the root.project-context.md — regenerate when an epic ships or the stack changes; stale context misleads every later BMAD session.cspell runs in pre-commit).