Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/UfoMiao/zcf --skill bmad-init명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
Professional AI programming assistant with structured workflow (Research -> Ideate -> Plan -> Execute -> Optimize -> Review) for developers
专业AI编程助手,提供结构化六阶段开发工作流(研究→构思→计划→执行→优化→评审),适用于专业开发者
Quickly add a new corporate sponsor to ZCF — sponsor list by default, with optional API preset and documentation ad placements
SKILL.md 표시 중
SOC 직업 분류 기준
| name | bmad-init |
| description | 在项目中初始化或更新 BMad-Method (V6) |
| disable-model-invocation | true |
此命令在您的项目中初始化或更新 BMad-Method (V6)。
_bmad/ 目录是否存在,判断 BMad V6 是否已安装.bmad-core 或 .bmad-method 目录)npx bmad-method install --directory . --modules bmm --tools claude-code --communication-language Chinese --document-output-language Chinese --yesnpx bmad-method install --directory . --action quick-update --yes{output_folder} 重命名为 _bmad-output(Beta 已知问题).gitignore(移除 V4 条目,添加 V6 条目)const { execSync } = require('node:child_process')
const fs = require('node:fs')
const path = require('node:path')
// 需要从 .gitignore 清理的旧条目
const LEGACY_GITIGNORE_ENTRIES = [
'.bmad-core',
'.bmad-method',
,
,
]
= [
,
,
]
() {
buggyPath = path.(cwd, )
correctPath = path.(cwd, )
(!fs.(buggyPath))
(!fs.(correctPath)) {
fs.(buggyPath, correctPath)
.()
} {
entries = fs.(buggyPath, { : })
( entry entries) {
src = path.(buggyPath, entry.)
dest = path.(correctPath, entry.)
(!fs.(dest)) {
fs.(src, dest)
.()
}
}
fs.(buggyPath, { : , : })
.()
}
}
() {
gitignorePath = path.(cwd, )
content =
exists =
(fs.(gitignorePath)) {
content = fs.(gitignorePath, )
exists =
}
lines = content.()
changed =
filtered = lines.( {
trimmed = line.()
isLegacy = .(
trimmed === entry || trimmed === entry + || trimmed === + entry
)
(isLegacy) {
.()
changed =
}
!isLegacy
})
newEntries = []
( entry ) {
entryBase = entry.(, )
alreadyExists = filtered.( {
trimmed = line.()
trimmed === entry || trimmed === entryBase || trimmed === + entryBase
})
(!alreadyExists) {
newEntries.(entry)
.()
changed =
}
}
(!changed) {
.()
}
result = filtered.()
(newEntries. > ) {
(result. > && !result.()) {
result +=
}
result +=
result += newEntries.() +
}
fs.(gitignorePath, result, )
.()
}
() {
cwd = process.()
bmadV6Path = path.(cwd, )
legacyCorePath = path.(cwd, )
legacyMethodPath = path.(cwd, )
hasLegacyCore = fs.(legacyCorePath)
hasLegacyMethod = fs.(legacyMethodPath)
(hasLegacyCore || hasLegacyMethod) {
.()
(hasLegacyCore) .()
(hasLegacyMethod) .()
.()
.()
.()
.()
}
hasV6 = fs.(bmadV6Path)
installCmd
(hasV6) {
.()
.()
installCmd = [
,
,
,
,
].()
} {
.()
.()
installCmd = [
,
,
,
,
,
,
,
].()
}
{
.()
.()
(installCmd, {
: ,
: cwd,
:
})
.()
.()
.()
.()
.()
.()
.()
.()
{
fixed = (cwd)
(!fixed) .()
} (err) {
.()
.()
}
.()
.()
.()
.()
.()
.()
{
(cwd)
} (err) {
.()
}
.()
.()
.()
.()
.()
.()
.()
.()
.()
.()
.()
.()
.()
legacyClaudeAgents = path.(cwd, , , , )
legacyClaudeTasks = path.(cwd, , , , )
(fs.(legacyClaudeAgents) || fs.(legacyClaudeTasks)) {
.()
.()
(fs.(legacyClaudeAgents)) .()
(fs.(legacyClaudeTasks)) .()
.()
}
}
(error) {
.(, error.)
.()
.()
.()
.()
.()
.()
.()
.()
.()
.()
.()
.()
}
}
()
只需在 Claude Code 中键入:
/bmad-init
此命令将:
npx bmad-method install --directory . --modules bmm --tools claude-code --communication-language Chinese --document-output-language Chinese --yesnpx bmad-method install --directory . --action quick-update --yes{output_folder} → _bmad-output 安装器 bug.gitignore(清理旧条目,添加 V6 条目)