ワンクリックで
update-docs
Update project documentation after completing work
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Update project documentation after completing work
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Create or manage Architecture Decision Records (ADRs) in docs/decisions/
Use this skill working with Ash Framework or any of its extensions. Always consult this when making any domain changes, features or fixes.
Record a development session summary in the project devlog
Run E2E browser tests via Tidewave browser_eval against the running Phoenix dev server
Inspect LiveView state (assigns, components) via Phoenix.LiveView.Debug in project_eval
Morning briefing — where we left off, what to work on today. Fast, compact report from canonical sources.
| name | update-docs |
| description | Update project documentation after completing work |
Gated workflow to keep docs/ vault organized after completing work. Each gate must pass before proceeding.
docs/README.md)Trust Hierarchy: ADRs > plans/README.md > guides/ > contexts/ (unimplemented only)
SOT for implemented domains: Code + ADRs. Not docs files.
Folder rules:
decisions/ — Architecture decisions (/adr skill)plans/README.md — Project dashboard (status table, priorities, active work)plans/active/ → plans/completed/ when doneguides/ — Operational procedures (mnet-sync, seeding, deployment, etc.)contexts/ — Unimplemented domain designs only (archive when implemented)infrastructure/ — Future investigation docs only (archive when implemented)archive/ — Everything superseded or implementedScan the conversation context and recent git activity to determine what was done.
git diff --stat HEAD~3..HEAD # or appropriate range
git log --oneline -5
Classify the work:
Ask the user: "이 작업에서 다음 중 해당하는 것이 있나요?" and present the checklist. If the user says "just update status" or similar, skip to the relevant gate.
Question: Was an architecture or design decision made during this work?
Signs that an ADR is needed:
If yes → Run /adr [title] first, then continue.
If no → Proceed.
plans/README.md)Read docs/plans/README.md and check:
Show the proposed changes to the user and confirm before applying.
Check if operational procedures were affected:
| If this changed... | Update this guide |
|---|---|
| MNET sync/import | guides/mnet-sync/ (domain-specific file + README) |
| Legal/agreements | guides/legal/agreements.md |
| Seeding process | guides/SEEDING.md |
| Deployment process | guides/deployment.md |
| Stripe Terminal | guides/stripe-terminal.md |
| Test patterns | guides/TESTING_GUIDE.md |
If no guide exists for the changed procedure:
guides/에 만들까요?"guides/mnet-sync/README.md pattern (ADR backlinks, procedures, field mappings)plans/active/ is done → move to plans/completed/plans/active/contexts/ was just fully implemented → move to archive/contexts/infrastructure/ led to implementation → archive or deleteplans/completed/Final verification:
plans/README.md status table — does it match actual implementation state?decisions/README.md index — are all ADR files listed?docs/README.md folder descriptions — still accurate?Run:
# Check for broken internal links to moved files
grep -r "MASTER_PLAN\|contexts/core/members\|contexts/business/inventory" docs/ --include="*.md" -l | grep -v archive/
Fix any broken references found.
Check if @moduledoc, @doc, and Ash attribute description strings are consistent with the changes made. This catches stale terminology after architectural changes (e.g., renaming engines, removing dependencies, changing template syntax).
For each domain touched by the work, grep for outdated terms in lib/ files:
# Example: after removing a dependency or changing an approach
grep -rn "OldTerm\|old_pattern" lib/gs_net/<domain>/ --include="*.ex" | grep -v "test\|_build"
| If this changed... | Grep for stale terms |
|---|---|
| Template engine replaced | Old engine name in moduledocs, attribute descriptions |
| Dependency removed | Old dep name in comments, @doc strings |
| Rendering pipeline changed | Old pipeline terminology (e.g., "HTML rendering" after switch to PDF-only) |
| Action/function renamed | Old function name in @doc cross-references |
| Data format changed | Old format name in attribute descriptions (e.g., "Liquid template" → "Typst markup") |
@moduledoc blocks that describe the old approach@doc strings referencing removed functions or old workflowsdescription strings (shown in API docs and AshAi tool schemas)tools do blocks in domain modules) — these need careful, granular control. Use a dedicated AshAi skill instead.lib/ filesIf any of these changed, update CLAUDE.md:
Keep CLAUDE.md light — one-line rules with links to detailed guides.
docs/guides/<topic>.mdFull guide: \docs/guides/.md``### Section Title
- Rule 1 — one-line actionable instruction
- Rule 2 — one-line actionable instruction
- Rule 3 — one-line actionable instruction
Full guide: `docs/guides/<topic>.md`
Don't bloat CLAUDE.md — it should be concise rules and pointers, not detailed docs.
Review MEMORY.md and individual memory files for staleness. Memory is session-to-session context — not a permanent archive.
Handoff files (*-handoff.md) where all TODOs are done and no remaining work exists:
Memory entries explicitly marked as superseded or replaced by newer entries:
(Superseded by ...) notes in MEMORY.mdFor handoff files that are still active (have remaining TODOs):
## Active Projects)## Completed (archived) or delete)Check if anything from this session should be saved:
Ask the user: "이번 세션에서 기억해야 할 피드백이나 결정이 있나요?"
After all gates pass, report:
Commit docs changes separately from code changes when possible, with message format:
docs: [brief description of what was updated]