Agent skill

docs-sync

Keep documentation in sync with code changes across README, docs sites, API docs, runbooks, and configuration. Use when the user asks to update docs, ensure docs match behavior, or prepare docs for a release/PR.

Stars 123
Forks 12

Install this agent skill to your Project

npx add-skill https://github.com/jMerta/codex-skills/tree/main/docs-sync

SKILL.md

Docs sync

Goal

Update documentation so it matches the current code and is easy for the target audience to follow.

Inputs to ask for (if missing)

  • What changed (feature/bugfix/refactor) and who the docs are for.
  • Which docs surfaces matter: README, /docs, wiki, runbooks, API spec, changelog, onboarding.
  • Any required format/voice (company style guide, "keep it short", etc.).

Workflow (checklist)

  1. Identify what changed
    • Use the diff to locate impacted areas:
      • git diff --name-only
      • git diff
  2. Inventory docs surfaces in the repo
    • Common locations: README.md, docs/, CONTRIBUTING.md, CHANGELOG.md, openapi.*, schema.graphql, adr/, runbooks/.
    • For Spring: check for generated OpenAPI/Swagger docs or endpoint annotations.
    • For Next/TypeScript: check for docs pages, Storybook, or typed API clients.
    • If your repo uses docs/ as the primary doc root, see references/docs-structure.md for a suggested layout.
  3. Decide what needs updating
    • Ensure docs cover:
      • setup and local dev commands
      • required env vars / config keys
      • API contract changes (request/response examples)
      • DB migrations and operational steps
      • behavior changes visible to users
    • If the change is an architectural/behavioral decision, add or update an ADR (use references/adr-template.md).
  4. Apply edits with minimal churn
    • Prefer small, targeted edits over rewrites.
    • Add examples that are copy/paste runnable.
    • Keep headings stable to avoid breaking deep links.
    • Use templates in references/ when helpful.
  5. Verify docs are consistent
    • Run the repo's existing doc checks if present (md lint, docs build, site build).
    • At minimum: ensure code fences match the actual commands and file paths, and env var names match the code.

Deliverable

Provide:

  • The list of docs files updated and why.
  • A short "How to verify" section (commands or manual checks).

Expand your agent's capabilities with these related and highly-rated skills.

jMerta/codex-skills

vps-checkup

SSH into an Ubuntu VPS (Docker) for a read-only health/security/update report (UFW + fail2ban) and propose fixes; apply updates/restarts only with explicit confirmation. Use when the user wants a read-only VPS health/security check.

123 12
Explore
jMerta/codex-skills

ci-fix

Fix GitHub Actions CI failures using GitHub CLI (gh): inspect runs/logs, identify root cause, patch workflows/code, rerun jobs, and summarize verification. Use when GitHub Actions CI is failing or needs diagnosis.

123 12
Explore
jMerta/codex-skills

dependency-upgrader

Upgrade dependencies for Java/Kotlin (Gradle/Maven) and TypeScript/Node projects with minimal risk: plan the bump, apply changes incrementally, run tests/builds, and document breaking changes. Use when the user asks to bump deps, update frameworks, or address CVEs.

123 12
Explore
jMerta/codex-skills

plan-work

Plan work before coding: do repo research, analyze options/risks, and ask clarifying questions before proposing an implementation plan. Use when the user asks for a plan, design/approach, scope breakdown, or implementation steps.

123 12
Explore
jMerta/codex-skills

coding-guidelines-gen

Generate nested AGENTS.md coding guidelines per module (monorepo-aware), detect languages/tooling, ask architecture preferences, and set up missing formatters/linters (Spotless for JVM). Use when the user wants module-scoped AGENTS.md coding guidelines or to set up missing formatters/linters.

123 12
Explore
jMerta/codex-skills

ui-ux-pro-max

Use when designing, building, or refining frontend UI/UX: layouts, components, visual systems, typography, color, and UX patterns for websites, landing pages, dashboards, and product interfaces. Provides searchable styles, palettes, font pairings, charts, and stack best practices (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind).

123 12
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results