원클릭으로
speckit-memory-md-init
Initialize layered memory, synthesis, and spec starter files in a target repo.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Initialize layered memory, synthesis, and spec starter files in a target repo.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Prioritize official @wordpress packages over external dependencies. Detect React conflicts, use aliasing, and validate package usage.
Apply approved architecture refactors by updating plan and task artifacts directly.
Perform a framework-agnostic architecture review validating implementation against spec.md, plan.md, tasks.md, and the governance and architecture constitutions.
Perform an architecture-aware verification gate validating implementation against spec.md, plan.md, tasks.md, and the Architecture Constitution.
Run a single architecture workflow that prefers memory-first context and can incorporate security review when available.
Run implementation with memory context, then review the produced implementation against security and architecture constraints.
| name | speckit-memory-md-init |
| description | Initialize layered memory, synthesis, and spec starter files in a target repo. |
| compatibility | Requires spec-kit project structure with .specify/ directory |
| metadata | {"author":"github-spec-kit","source":"memory-md:commands/speckit.memory-md.init.md"} |
Set up this repository to use the layered Spec Kit Memory workflow.
Tasks:
config-template.yml at the extension root for default values.
If the project has .specify/extensions/memory-md/config.yml, use those values instead.
Fall back to defaults: memory_root: docs/memory, specs_root: specs.better-sqlite3 native dependency if a prebuilt binary is not available.
If the user says no, keep the markdown-first workflow only.
If the user says yes, set optimizer.enabled: true in .specify/extensions/memory-md/config.yml, and then automatically prepare the local optimizer by running npm install && npm run build inside the .specify/extensions/memory-md directory using the terminal.
If the npm install or npm run build fails (e.g. due to missing prerequisites), explain exactly what is missing, provide them the manual commands (cd .specify/extensions/memory-md && npm install && npm run build), and then continue with markdown-first mode.{memory_root} (default: docs/memory){specs_root} (default: specs){memory_root}/INDEX.md{memory_root}/PROJECT_CONTEXT.md{memory_root}/ARCHITECTURE.md{memory_root}/DECISIONS.md{memory_root}/BUGS.md{memory_root}/WORKLOG.md{feature_memory_filename} (default: memory.md){memory_synthesis_filename} (default: memory-synthesis.md).specify/memory/workflow.md. If the file already exists, reconcile its content with the extension template to ensure it contains the latest mandatory command references, while strictly preserving any existing project-specific governance rules..github/copilot-instructions.md, AGENTS.md, CLAUDE.md, GEMINI.md, and Windsurf rules.### Spec Kit section (or create it) and replace it with the Pointer Model: "You MUST follow the memory-first workflow defined in .specify/memory/workflow.md and proactively execute /speckit.memory-md.prepare-context before planning.".specify/extensions/memory-md/config.yml does not exist, create it from config-template.yml with default values.Guardrails:
### Spec Kit)..specify/memory/workflow.md exists, treat it as a "living document"—improve its technical requirements without deleting its existing context.Prioritize preserving existing project files. Never overwrite project-specific memory without explicit approval.