一键导入
ensure-tracking
Verify and complete all documentation for the current PRP phase before closing context, so the next session can continue seamlessly.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Verify and complete all documentation for the current PRP phase before closing context, so the next session can continue seamlessly.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Safely upgrade this Cortex repo to the latest template: detects on-disk state, reconciles infrastructure, and applies idempotent migrations — preserving your customizations and never overwriting your edits without asking.
Safely upgrade this Cortex workspace to the latest template: detects on-disk state, reconciles infrastructure, and applies idempotent migrations — preserving your customizations and never overwriting your edits without asking.
Maintainer auto-check for the Cortex source repo. Invoke this PROACTIVELY and automatically WHENEVER files under templates/ have been added, edited, deleted, renamed, or restructured — and before committing template changes — to classify the change as ADDITIVE (handled by the runner's reconciliation) or MIGRATION-NEEDED (breaking/structural), and scaffold a migrations/NNN-*.md if one is required. Do not wait to be asked. For use INSIDE the template source repo only; it is never shipped to user projects.
Run a full project health check across context-engineering, the knowledge base, and docs to surface gaps, drift, and inconsistencies.
Validate implementation progress of a PRP against its original requirements, auditing completed, current, and remaining phases.
Validate a generated PRP structure against its source requirements to catch gaps and misalignments before execution begins.
| name | ensure-tracking |
| description | Verify and complete all documentation for the current PRP phase before closing context, so the next session can continue seamlessly. |
| argument-hint | <prp-folder> |
| disable-model-invocation | true |
Verify and complete all documentation for the current phase before closing context. Run this when you feel the agent hasn't properly documented everything.
Purpose: Ensure the next agent session has complete context to continue seamlessly.
Read {$ARGUMENTS}/_STATUS.md to find:
Read {current-phase}/COMPLETED.md and verify it contains:
Fill it in now by reviewing:
Read {current-phase}/FIXES.md and verify:
Fill it in now with the missing details.
Either fix the issue or document why it wasn't fixed.
Read {current-phase}/HANDOFF.md and verify:
Fill it in now.
Read {$ARGUMENTS}/_STATUS.md and verify:
Update it now to reflect phase completion.
Check if knowledge base AND project documentation were updated for this phase.
KB and project doc updates are REQUIRED for EVERY phase (not just final phase):
Skip only if: Phase was purely bug fixes with no new patterns or decisions.
Verify:
knowledge-base/ references this PRP in **Source PRPs:**## Changes Log has an entry with today's date (or recent date)_SUMMARY.md reflects the topicknowledge-base/INDEX.md is up to dateIdentify which project(s) in active-projects/ were modified by this phase.
For each affected project, verify:
AGENTS.md (durable facts only):
Flag as issues:
/update-knowledge-base {PRP path}Offer to run the documentation update now using /update-knowledge-base {PRP path}
KNOWLEDGE BASE:
Topic updated: {topic-name} in {section}
Changes log entry added
Summary regenerated
Index up to date
PROJECT DOCUMENTATION:
{project}/AGENTS.md: Updated with {what} (durable facts only)
Or if missing:
KNOWLEDGE BASE:
No topic references this PRP — run /update-knowledge-base {PRP path}
PROJECT DOCUMENTATION:
{project}/AGENTS.md: Missing new durable patterns or architecture changes
Verify consistency across all files:
Fix them now to ensure single source of truth.
After completing the audit, output:
========================================
TRACKING AUDIT COMPLETE
========================================
Phase: {N} - {Phase Name}
PRP: {$ARGUMENTS}
COMPLETED.md:
Summary filled
Data model changes documented
Files created listed
Files modified listed
Testing instructions provided
FIXES.md:
{N} fixes documented
All fixes resolved (no pending)
Code changes included
HANDOFF.md:
What was built summary
Implementation details
Decisions documented
Files summary complete
Next phase context provided
_STATUS.md:
Points to Phase {N+1}
Quick status updated
Last updated set
Knowledge Base:
Topic(s) updated
Index regenerated
Project Docs:
{project}/AGENTS.md updated (durable facts only, or "No changes needed")
Consistency:
Files match across documents
Fixes summarized in handoff
Status aligned
========================================
READY TO CLOSE CONTEXT
Next session: /continue-prp {$ARGUMENTS}
========================================
========================================
TRACKING AUDIT COMPLETE (WITH FIXES)
========================================
Issues Found and Fixed:
- COMPLETED.md: Added missing files modified section
- FIXES.md: Added code changes for Fix #2
- HANDOFF.md: Added context for next phase
- _STATUS.md: Updated to point to Phase 2
========================================
NOW READY TO CLOSE CONTEXT
Next session: /continue-prp {$ARGUMENTS}
========================================
Before closing context, all must be true:
The next agent will ONLY have access to these files.
They will NOT have:
Everything must be written down. If it's not documented, it didn't happen.