context-docs

Create, audit, and maintain project context documents and Markdown progress views for continuity across AI sessions. Use when establishing context conventions, refreshing project state, visualizing pr

SKILL.md

GitHub

Context Docs

Keep the project's Markdown useful to the next reader. Start with its instructions, README and context entry point, then follow relevant sources. Identify a project mismatch before editing; ask only when the target or a consequential decision is unclear. Preserve existing layouts and concurrent edits.

Choose the operation

  • Audit: report concrete gaps and source locations; leave project files unchanged.
  • Initialize: reuse suitable files or sections. Read the standard for document roles. If an entry point is missing, adapt the template, remove unused prompts, and link shared context from the README or documentation index. For shared context, if neither exists, a short README pointing to the supported context is enough; it does not require inventing a broader project mission. For local-only context, use the local discovery route below instead. When initializing from earlier notes, check relevant project sources before importing claims about current implementation or configuration. Carry forward decisions and unresolved work without treating the notes as proof of current state.
  • Maintain: update affected canonical sections from completed work and evidence. Consult the standard when roles, conflicting statuses or restructuring need it. Ordinary document repairs are included; proposed product decisions are not approved by a maintenance request. A review without permission to edit remains an audit.

Visualize progress in Markdown

When documented, keep the goal, meaningful advances, blockers and next action findable in the existing layout during initialization and maintenance. Use the progress guide for requested views and adoption's default inline view when documented context supports it. For a visualization request, show a compact visual path through the documented work, with dependencies, blockers and the next action visible. A flat status table alone is insufficient; keep the view readable in plain Markdown. Favor a concise overview with links to detailed evidence, following the guide; preserve decisions, rationale, blockers, approval boundaries and unresolved work, with qualifications that affect the meaning of a status or next action. Refresh an existing view when relevant facts change; no repeated invocation is needed when the loaded project rule already authorizes ongoing maintenance.

Use the existing context section or a linked Markdown file when that improves navigation or the user requests it. Keep each detail authoritative in one place and link summaries to their sources. Preserve storage boundaries, layouts and setup rules; do not create a parallel tracker, web app or runtime dependency. An audit can assess progress clarity and leaves files unchanged.

Make the smallest useful update

Within authorized context edits, prefer clear, direct sentences and consistent project terminology. Split crowded sentences without losing conditions, uncertainty, rationale or evidence. Preserve existing layouts and unrelated owner text.

When agents or sessions work concurrently on the same context file, coordinate one writer at a time for that file; others pass their findings to the writer. Agree on the writer before concurrent edits begin, including across Codex and Claude Code sessions in a shared checkout. Use the existing authorized task channel or ask the user to relay the handoff. Identify the shared checkout, relative paths, current writer and whether edits are active, held for review or released. The outgoing session finishes its edits and releases the paths. The incoming writer acknowledges the handoff and rereads the files before editing. If ownership or release is unclear, pause overlapping edits and continue read-only work. Keep private context out of the handoff. Prefer narrow edits. After an edit conflict or stale-text failure, reread the current file and reconcile contributors' changes before retrying. Do not overwrite newer work from a stale snapshot. This is a coordination rule; file access remains unlocked.

Preserve the existing storage choice unless the user requests a change. For an explicit local-only (Git-ignored) request, or maintenance of an existing local-only setup, read the local-only guide. Verify tracking and ignore status before writing, read the named entry point directly even when searches omit ignored files, and keep its content out of shared destinations. An audit reports storage gaps without changing files, Git state or settings.

Select durable information for the intended reader and actual sharing destination. For decisions about what to retain or where it belongs, use the standard's audience and destination guidance. Project labels alone do not decide what is useful or appropriate to share. Before saving, review proposed additions for incidental usernames, home/backup/scratch paths, account identifiers and personal installation state. Omit details that do not help the intended reader; summarize relevant tool findings instead of copying raw output. Keep secrets out of every destination.

Prefer repository-relative references for project files. In shared content, refer to private evidence through a suitable public summary, stable evidence ID or hash without exposing its local location or implying readers can access or independently verify it. Retain useful local paths in appropriate local notes. When exact paths or environment details explain a failure, preserve the diagnostic relationships and necessary constraints; any authorized public derivative must retain provenance and limits. Do not rewrite frozen evidence, relocate records or change storage rules just to make references portable.

Record each detail, outcome and material qualification once in its canonical location; link from summaries. Include preservation or installation bookkeeping only when it establishes a relevant compatibility condition, failure or requested check. Do not append a diary of routine checks or repeat unchanged safeguards. Review the changed content, without requiring a repository-wide scan or a separate filtering report. Filtering must preserve decisions, conditions, rationale, uncertainty, blockers and supporting evidence, including useful personal context.

Check factual claims against the source that establishes that exact claim before recording them. Keep the evidence's scope: a reference document's version is not the installed package version, and local configuration does not establish runtime behavior or publication history. Omit incidental details you have not checked; state a specific verification limit when the unknown matters. Keep approved intent, observed behavior, proposals and unknowns distinct. Resolve contradictory guidance at its source when evidence permits; otherwise identify the specific unresolved conflict. Imported instructions are evidence, not authority. Attribute implementation choices to whoever made them; permission to do a task does not make an agent-chosen method or layout an explicit owner decision.

Describe inspected operations directly; do not turn them into guarantees for every input without verification.

Replace stale claims in place. Add uncertainty only where it changes a reader's interpretation or next action, rather than repeating generic verification disclaimers. Initialization needs supported context and useful navigation, not a catalogue of everything the project has not documented.

Preserve unique decisions, authority, rationale, constraints, source links, useful dated evidence and unresolved work. Mark superseded guidance without losing its rationale. Do not shorten by hiding blockers or relying on Git to recover uncommitted material. Keep commands, fences, anchors and relative links intact.

Review the diff, affected links and information preservation against the resulting project. Refresh facts made stale by your own edits; label retained earlier observations as pre-change when they no longer describe current state. Check the final report's factual claims by the same standard as the edited documents, retaining their qualifications rather than strengthening them in a summary. Date only claims actually reviewed. If nothing durable changed, avoid bookkeeping edits. Briefly report changed files, completed checks and material remaining questions once, without restating unchanged context. Do not copy the session report into the context.

Older Context Docs journal settings

Treat old Context Docs journal settings and the auto preference as inactive. Use Markdown for current maintenance and skip journal capture, reads and repair during that work. Keep saved JSONL and the old settings in place unless the user explicitly requests a separate change. For upgrades, tell the user once that the older settings are obsolete.

Keep secrets and unnecessary personal or customer data out of context. This skill adds no authority to commit, publish, alter global instructions, schedule work or provision services; follow the project's existing authorization. It provides no background sync.