用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill bmad-sync-standards命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | bmad-sync-standards |
| description | > Use when this capability is needed. |
Pull a project-specific subset of the central engineering-standards catalog into the project. BMAD skills (create-architecture, create-story, dev-story, code-review) read these from docs/standards/ and treat constraints as binding.
engineering-standards.yml at root.engineering-standards.yml at project root.docs/standards/<domain>/.docs/standards/INDEX.md listing what's synced + summaries..cursor/rules/<domain>.mdc for each domain (Cursor parity).@docs/standards/INDEX.md to CLAUDE.md if not already present.engineering-standards.yml at project root:
catalog: /Users/Sachin/Workspace/engineering-standards # local path OR git URL
version: main # branch/tag/commit (git only)
standards:
- frappe
- python-backend
- redis
- elasticrun-design
If catalog starts with http://, https://, or git@, treat as git URL → clone shallow into .standards-cache/ (gitignored). Otherwise treat as local filesystem path → copy directly.
engineering-standards.yml exists at project root. If not, halt with: "No engineering-standards.yml found. Create one at project root listing the catalog and the domains this project uses."catalog (required), standards (required, list), version (optional).Local path:
cp -r <catalog>/<domain>/ docs/standards/<domain>/ for each listed domain.Git URL:
.standards-cache/ doesn't exist: git clone --depth 1 -b <version> <catalog> .standards-cache/.cd .standards-cache && git fetch && git checkout <version> && git pull..standards-cache/ to .gitignore if missing.docs/standards/docs/standards/ first (clean slate, no stale files).docs/standards/INDEX.md (template below).For each synced domain, write .cursor/rules/standards-<domain>.mdc:
---
description: <Domain> engineering standards (synced from central catalog)
globs:
alwaysApply: true
---
<concatenated content of all .md files in docs/standards/<domain>/>
alwaysApply: true ensures Cursor loads them on every chat.
CLAUDE.md doesn't exist at project root: skip (don't create one).@docs/standards/INDEX.md. If missing, append a section:
## Engineering Standards
@docs/standards/INDEX.md
These rules are binding for all generated code.
Print a table to user:
| Domain | Files synced | Source |
|---|---|---|
| frappe | 10 | catalog/frappe/ |
| python-backend | 4 | catalog/python-backend/ |
| ... | ... | ... |
Plus: cursor rules generated, CLAUDE.md updated/skipped.
# Engineering Standards (synced)
Last synced: <ISO date>
Catalog: <catalog path or URL>
Version: <version>
These standards are binding. BMAD skills (create-architecture, create-story, dev-story, code-review) treat constraints in these files as hard requirements unless explicitly overridden in project-context.md.
## Domains
### frappe
- [Mental Model](frappe/mental-model.md)
- [Doctype Patterns](frappe/doctype-patterns.md)
- ... (auto-list all .md files)
### python-backend
- ...
(repeat per domain)
## Override Rules
If a project rule conflicts with a standard, document the override in `project-context.md` under "Standards Overrides" with the reason. Otherwise, standards win.
docs/standards/ by hand. They get wiped on next sync. Project-specific overrides go in project-context.md..standards-cache/ always gitignored..standards-cache/ to project repo.Source: ElasticRun/dont-b-mad — distributed by TomeVault.