원클릭으로
speckit-memory-md-plan-with-memory
Use index-first retrieval to synthesize constraints and gate planning on conflicts.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Use index-first retrieval to synthesize constraints and gate planning on conflicts.
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-plan-with-memory |
| description | Use index-first retrieval to synthesize constraints and gate planning on conflicts. |
| compatibility | Requires spec-kit project structure with .specify/ directory |
| metadata | {"author":"github-spec-kit","source":"memory-md:commands/speckit.memory-md.plan-with-memory.md"} |
Before planning the feature, resolve configuration. If .specify/extensions/memory-md/config.yml exists, read it for memory_root, specs_root, feature_memory_filename, memory_synthesis_filename, require_memory_synthesis_before_plan, optimizer, and retrieval.
Otherwise use defaults: memory_root: docs/memory, specs_root: specs, feature_memory_filename: memory.md, memory_synthesis_filename: memory-synthesis.md, require_memory_synthesis_before_plan: true, and the retrieval defaults below.
If require_memory_synthesis_before_plan is false, skip the synthesis gate but still produce a synthesis when possible.
When .specify/extensions/memory-md/config.yml has optimizer.enabled: true and the CLI is available:
/speckit.memory-md.prepare-context --feature specs/<feature>.specs/<feature>/memory-synthesis.md to identify constraints and decisions.When optimizer.enabled is false, missing, or unavailable, keep using markdown-only, index-first retrieval.
IMPORTANT: You MUST read the following files explicitly using your file-reading tools (absolute or relative paths). Do not rely solely on workspace search or semantic indexers, as these files are often in .gitignore:
{specs_root}/<feature>/{feature_memory_filename} if present.{memory_root}/INDEX.md.{specs_root}/<feature>/{memory_synthesis_filename}.Do not read or paste entire durable memory files unless the index is missing, incomplete, or the user explicitly requests a full audit. Do not load all durable memory files during normal planning when the optimizer is enabled.
Before planning, build internal representations:
accepted-deviations that relax standard rules.Do not dump the entire repository memory into the synthesis. Use configured retrieval limits, defaulting to:
If the budget is exceeded, summarize and prioritize the highest-impact entries instead of loading more memory.
Adapt synthesis based on the Spec Kit phase:
Treat memory as stateful.
active, deprecated, superseded, experimental, accepted-deviation.deprecated or superseded memory.Create or refresh {specs_root}/<feature>/{memory_synthesis_filename} matching exactly this structure and keep it within retrieval.max_synthesis_words:
# Memory Synthesis
## Current Scope
[Brief description of feature scope and affected modules]
## Relevant Decisions
- [Decision] (Reason Included: [X], Status: [Y], Source: [Z])
## Active Architecture Constraints
- [Constraint] (Reason Included: [X], Source: [Z])
## Accepted Deviations
- [Deviation] (Reason Included: [X], Status: Accepted-Deviation)
## Relevant Security Constraints
- [Constraint] (Reason Included: [X], Source: security-constraints.md)
## Related Historical Lessons
- [Lesson] (Reason Included: [X])
## Conflict Warnings
- [Explicit conflicts between old and new memory]
## Retrieval Notes
- [Index entries considered, source sections read, budget status]
Conflict rules:
This command (and its optimizer-aware prepare-context equivalent) is automatically executed by spec-kit-architecture-guard as part of its governed-* workflows. Manual execution is optional and typically only necessary for manual context refreshes outside of a formal governed turn.
Output:
/speckit.memory-md.capture after providing the synthesis. Use the formal capture flow to propose entries and wait for user approval.