OpenParable
Skip to content
← Back to skills

Docs Maintenance After Work

Documents
docs-maintenance-after-work

Docs Maintenance After Work is an Agent Skill for documents published in the J-Pster/Psters_AI_Workflow repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Run standardized post-implementation documentation maintenance and quality checks.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/J-Pster/Psters_AI_Workflow/blob/HEAD/plugins/psters-ai-workflow/skills/docs-maintenance-after-work/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/docs-maintenance-after-work, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Docs Maintenance After Work

Use this skill after implementation to keep project docs synchronized with reality and prevent drift.

Trigger conditions

  • End of /pwf-work execution.
  • End of /pwf-work-plan phase execution.

Core flow

  1. Run doc-shepherd (always).
  2. Run plan-sync when work maps to an active plan/work-plan context.
  3. Conditionally run specialized doc writers:
    • backend-module-doc-writer
    • frontend-feature-doc-writer
    • lambda-doc-writer
  4. Run pattern-extractor when a reusable pattern emerged.
  5. Apply documentation quality gate.

Agent paths

  • doc-shepherd -> agents/docs/doc-shepherd.md
  • plan-sync -> agents/docs/plan-sync.md
  • backend-module-doc-writer -> agents/docs/backend-module-doc-writer.md
  • frontend-feature-doc-writer -> agents/docs/frontend-feature-doc-writer.md
  • lambda-doc-writer -> agents/docs/lambda-doc-writer.md
  • pattern-extractor -> agents/docs/pattern-extractor.md

Inputs required for doc agents

  • diff — relevant git diff for implementation scope
  • changed_files — modified/created/deleted file list
  • work_summary — short implementation summary

Documentation quality gate

Before claiming completion:

  1. Specificity — real file/symbol references, no vague text.
  2. State clarity — clear implemented vs planned separation.
  3. Operational usefulness — invariants/gotchas/checklists are concrete.
  4. Contract accuracy — APIs/DTOs/entities/flows match current code.
  5. Cross-doc consistency — no contradictions with critical patterns.
  6. Signal over noise — concise and actionable content.

Constraints

  • Never skip docs maintenance on work/work-plan flows.
  • Do not delete protected docs trees.
  • If uncertain, mark assumptions explicitly and suggest follow-up.