ワンクリックで
speckit-memory-md-audit
Audit memory quality, index integrity, freshness, and synthesis hygiene.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Audit memory quality, index integrity, freshness, and synthesis hygiene.
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-audit |
| description | Audit memory quality, index integrity, freshness, and synthesis hygiene. |
| compatibility | Requires spec-kit project structure with .specify/ directory |
| metadata | {"author":"github-spec-kit","source":"memory-md:commands/speckit.memory-md.audit.md"} |
You are running a high-integrity audit of the project's durable and feature memory for memory-hub.
Scope note: When the optimizer is enabled,
npx speckit-memory audit-memoryvalidates SQLite cache integrity only (stale hashes, orphaned rows, missing files, synthesis word budget). It does not evaluate content quality. Full content-quality checks (stale decisions, contradictions, leakage, noise) are performed by this AI command only — they require reading the markdown files and applying the rubric below.
Validate the quality, accuracy, and density of memory artifacts ({memory_root}/*.md and {specs_root}/<feature>/memory*.md). Identify stale, contradictory, or low-signal entries that degrade the project's long-term intelligence.
Audit is intentionally expensive and may read all memory files. Normal synthesis must not; it should use {memory_root}/INDEX.md and selected source sections only. IMPORTANT: You MUST read these 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.
When the optimizer is enabled and available, run cd .specify/extensions/memory-md && npx speckit-memory audit-memory to validate the SQLite cache, then fall back to markdown-only audit checks if the cache is unavailable.
Check for:
{memory_root}/INDEX.md points to valid source entries and stays compact.{specs_root}/ but have leaked into {memory_root}/.{memory_synthesis_filename} is out of sync with selected memory.{memory_synthesis_filename} exceeds configured retrieval.max_synthesis_words.| ID | File | Severity | Issue | Recommendation |
|---|---|---|---|---|
| M1 | DECISIONS.md | CRITICAL | Stale decision on [X] | Remove/Update to reflect [Y] |
specs/.{memory_synthesis_filename} to reflect current implementation.audit-memory may be expensive because it validates the entire cache.
PROJECT_CONTEXT.md for stable product and domain context.ARCHITECTURE.md for system shape and boundaries.DECISIONS.md for explicit tradeoffs and chosen direction.BUGS.md for recurring failure modes and prevention.WORKLOG.md for concise high-value milestone notes.INDEX.md for compact routing metadata only.