docs-up
Audit code changes on the current branch and update docs/ + .claude/rules/ to stay in sync. Run before /pr.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Audit code changes on the current branch and update docs/ + .claude/rules/ to stay in sync. Run before /pr.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Run the LangSmith evaluation suite and display pass/fail results
Add a new LangChain tool to the Medox ReAct agent. Use when creating a new tool file, registering it in the graph, and writing its test.
Create a git commit with Medox conventions (co-author, conventional type/scope). Invoke manually with /commit — do NOT trigger automatically.
Create or update a GitHub pull request following Medox conventions (author spicode-bot, reviewer spideystreet). Invoke manually with /pr — do NOT trigger automatically.
Fetch and display the full status of the current PR — CI checks, GitHub Actions runs, reviews, and code comments — using GitHub MCP tools. Invoke manually with /pr-status.
Rebuild ChromaDB Gold layer indexes after source data changes. Invoke manually — deletes and recreates collections, do NOT trigger automatically.
| name | docs-up |
| description | Audit code changes on the current branch and update docs/ + .claude/rules/ to stay in sync. Run before /pr. |
Audit all code changes on the current branch vs main, then update documentation files to reflect those changes.
git diff main...HEAD --name-only
Categorize changed files into impact zones:
| Changed path pattern | Docs impact |
|---|---|
src/medox/agent/tools/ | docs/agent/tools.mdx, .claude/rules/agent.md |
src/medox/agent/nodes/ | docs/agent/overview.mdx, docs/agent/guardrails.mdx |
src/medox/agent/graph_agent.py | docs/agent/overview.mdx |
src/medox/pipeline/assets/ | docs/pipeline/overview.mdx, .claude/rules/pipeline.md |
src/medox/pipeline/io/ | docs/pipeline/silver.mdx, docs/pipeline/bronze.mdx |
dbt/models/silver/ | docs/dbt/overview.mdx, docs/pipeline/silver.mdx, .claude/rules/dbt.md |
dbt/models/sources.yml | docs/dbt/overview.mdx, docs/pipeline/silver.mdx |
tests/e2e/prompts.yaml | no docs change needed |
tests/ (other) | no docs change needed |
scripts/ | docs/development/setup.mdx (if new script) |
For each doc file identified above:
For each stale doc:
Also check .claude/rules/ files:
agent.md — tools table, node listpipeline.md — asset graph, key files tabledbt.md — current Silver models listAfter all edits, output a summary:
Docs synced:
- docs/agent/tools.mdx — updated check_interactions section
- docs/pipeline/overview.mdx — added new asset
- (no changes needed for docs/dbt/overview.mdx)
If no docs need updating, report: "All docs are up to date."
docs/introduction.mdx or docs/quickstart.mdx unless the overall architecture changed/pr