docs-alignment-maintainer
Docs Alignment Maintainer
Run a deterministic two-pass docs alignment workflow across repositories under a provided workspace root. Detect drift first, then apply only bounded high-confidence fixes when requested.
Inputs
Pass runtime inputs from the calling prompt:
--workspace <path>--exclude <path>(repeatable)- Optional
--exclude-file <path>with one path per line
Defaults are intentionally not hardcoded in the skill body so automation can control scope per run.
Workflow
- Run pass 1 discovery and checks with
scripts/docs_alignment_maintainer.py. - Review unaligned repos and issue categories.
- If safe remediation is desired, run pass 2 with
--apply-fixes. - Re-check touched repos (handled by the script) and inspect remaining issues.
- Report results from Markdown and JSON outputs.
Commands
Audit only:
python3 scripts/docs_alignment_maintainer.py \
--workspace ~/Workspace \
--exclude ~/Workspace/services \
--print-md \
--print-json
Audit and safe fixes:
python3 scripts/docs_alignment_maintainer.py \
--workspace ~/Workspace \
--exclude ~/Workspace/services \
--apply-fixes \
--md-out /tmp/docs-alignment-report.md \
--json-out /tmp/docs-alignment-report.json
Fail the run when unresolved issues remain:
python3 scripts/docs_alignment_maintainer.py \
--workspace ~/Workspace \
--exclude ~/Workspace/services \
--apply-fixes \
--fail-on-issues
Safety Rules
- Never commit changes automatically.
- Edit docs only (for example
README.md,CONTRIBUTING.md,ROADMAP.md,docs/*.md). AGENTS.mdis out-of-scope for this skill and is owned by a dedicated AGENTS maintainer workflow.- Never edit source code, lockfiles, or manifests.
- Apply only bounded replacements and concise quickstart insertion when evidence is explicit.
- Keep diffs minimal and preserve existing formatting style.
Output Contract
The script emits:
- Markdown summary with run context, discovery summary, unaligned repos, fixes applied, remaining issues, modified files, and errors.
- JSON report containing:
run_contextrepos_scannedunaligned_reposfixes_appliedpost_fix_statuserrors
Use JSON for automation pipelines and Markdown for operator review.
Automation Templates
Use $docs-alignment-maintainer inside automation prompts so Codex reliably loads this skill context.
For ready-to-fill Codex App and Codex CLI (codex exec) templates, including guardrails, placeholders, and customization knobs, use:
references/automation-prompts.md
References
- Common checks and discovery rules:
references/checks-common.md - Swift guidance:
references/checks-swift.md - JS/TS guidance:
references/checks-js-ts.md - Python guidance:
references/checks-python.md - Rust guidance:
references/checks-rust.md - Safe-fix policy boundaries:
references/fix-policies.md - Report schema and section contract:
references/output-contract.md - Automation prompt templates:
references/automation-prompts.md
More from gaelic-ghost/productivity-skills
project-workspace-cleaner
Scan workspace repositories for cleanup opportunities using a read-only hygiene audit. Use when users ask to detect build/cache artifact buildup, stale large transient files, and prioritized cleanup chores by repository and directory.
161project-docs-maintainer
Maintain `*-skills` README standards and checklist-style roadmap docs through one canonical maintenance entrypoint. Use when a repo needs profile-aware README maintenance, checklist roadmap validation or migration, or a bounded audit-first doc workflow with Markdown and JSON reporting.
66things-digest-generator
Generate a week-ahead Things planning digest with recent activity, upcoming deadlines, and concrete next actions. Use when users request Things check-ins, weekly planning summaries, or prioritized planning recommendations.
28things-reminders-manager
Manage Things reminders and todo create/update requests with a deterministic MCP workflow that prevents duplicate tasks and date mistakes. Use when users ask to add, reschedule, or correct Things reminders, especially with relative dates or potential update-vs-create ambiguity.
13speak-with-profile
Profile-aware speech workflow for narrated notes, spoken drafts, audio summaries, accessibility reads, and other text-to-speech tasks. Use when one front-door workflow should resolve voice profiles, enforce disclosure, and apply manifest tracking before delegating to built-in `$speech` or a deterministic local CLI path.
12project-roadmap-manager
Create and maintain a repository-root ROADMAP.md as the single source of truth for project milestones and accepted plans. Use when bootstrapping any new project, accepting/completing a plan, defining or updating milestone/version roadmaps, marking milestones as reached/changed/de-scoped, or answering where roadmap and milestone status should be referenced.
12