documentation-maintenance

A documentation-maintenance guide for keeping skills, documentation, and coding-agent instructions aligned with application changes.

In plain words
What is it for?
Use it to identify which documentation or agent files need updates after code changes, and to maintain domain mappings and related guidance.
Why use it?
It helps prevent written guidance from becoming outdated when code or related documentation changes.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/abilenduke/copilot-developer/documentation-maintenance
Any agent
npx skills add ABilenduke/copilot-developer --skill documentation-maintenance
Clone the repo
git clone --depth 1 https://github.com/ABilenduke/copilot-developer

Made for: Claude Code, Codex.

Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,524 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00056 $0.03524
Opus 5 $0.00028 $0.01762
Sonnet 5 $0.00011 $0.00705
Haiku 4.5 $0.00006 $0.00352

Measured yesterday against content hash 276ae46781da, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

documentation-maintenance scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/documentation-maintenance/SKILL.md · 239 lines

How it starts

The opening of the file, as written. The whole thing — 239 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Documentation Maintenance

When to Apply

Activate this skill when:

  • The doc-sync-hint PostToolUse hook flags related skills or docs after a code change
  • You are directly creating or editing files in .claude/skills/, .claude/agents/, or docs/
  • The user asks you to update documentation, skills, or agents
  • You notice that existing skill or agent guidance no longer matches actual code patterns
  • A new domain area needs a dedicated agent, or an existing agent's domain knowledge is outdated

File-to-Domain Mapping

This table shows which skills, docs, and agents relate to each application code area. The doc-sync-hint.sh hook uses the same mapping for skills and docs (note: the hook only triggers on application code changes, not on documentation files — those are covered by the Story Document Mapping table below).

Code path pattern Skills Docs Agents
app/Models/{Article,Category,Tag,ArticleInternalLink,ArticleRevision,KeywordRanking}.php, app/Enums/{ArticleStatus,ContentType}.php content-publishing docs/architecture.md, docs/generated/schema.md content-manager
app/Http/Controllers/{Article,Category}Controller* content-publishing docs/generated/routes.md content-manager
app/Ai/Agents/*.php, app/Ai/AgentResolver.php, app/Ai/Agents/Concerns/*.php ai-agent-patterns docs/architecture.md campaign-orchestrator, content-manager
resources/js/composables/useArticleAiChat.ts content-publishing, inertia-vue-development docs/architecture.md frontend-developer
app/Models/{Campaign,CampaignTopic}* content-publishing docs/generated/schema.md campaign-orchestrator
app/Models/{AffiliateLink,AffiliateClick,AffiliateProgram,AffiliateConversion,AdPlacement}*, app/Enums/{CommissionType,ConversionStatus}.php affiliate-tracking docs/generated/schema.md monetization-specialist
app/Http/Controllers/AffiliateRedirectController* affiliate-tracking docs/generated/routes.md monetization-specialist
app/Models/ArticleAnalytics* analytics-dashboard docs/generated/schema.md analytics-engineer
app/Http/Middleware/EnsureUserIsAdmin.php, routes/admin.php docs/architecture.md
app/Http/Controllers/Admin/*.php analytics-dashboard docs/generated/routes.md analytics-engineer
resources/js/Layouts/AdminLayout.vue, resources/js/components/admin/*.vue inertia-vue-development docs/architecture.md frontend-developer
resources/js/Pages/Admin/*.vue, resources/js/Pages/Admin/**/*.vue analytics-dashboard, inertia-vue-development docs/generated/routes.md analytics-engineer, frontend-developer
app/Services/ExternalApi/**, app/Contracts/ExternalApi/*, app/Enums/{ApiProvider,ApiConnectionStatus,WebhookStatus}.php, config/external-apis.php, app/Models/{ApiConnection,Webhook}.php, app/Providers/ExternalApiServiceProvider.php queue-job-patterns docs/generated/schema.md, docs/generated/jobs.md social-media-manager, laravel-specialist
app/Jobs/*.php, app/Jobs/**/*.php queue-job-patterns docs/generated/jobs.md laravel-specialist
config/queue.php, config/horizon.php, app/Providers/HorizonServiceProvider.php queue-job-patterns docs/architecture.md, docs/generated/jobs.md laravel-specialist
resources/js/**/*.vue inertia-vue-development frontend-developer
resources/js/Pages/**/*.vue (public-facing) inertia-vue-development frontend-developer, seo-specialist
tests/**/*.php pest-testing
database/migrations/*.php docs/generated/schema.md
routes/{web,console}.php docs/generated/routes.md
app/Features/*.php inertia-vue-development
app/Models/SocialAccount*, app/Http/Controllers/Social* docs/generated/schema.md social-media-manager
app/Models/NewsletterSubscriber.php, app/Enums/{SubscriberStatus,SubscriptionSource}.php, app/Http/Controllers/NewsletterController.php, app/Mail/Newsletter*.php, app/Events/Newsletter*.php, app/Listeners/Send*Email.php docs/generated/schema.md, docs/generated/routes.md
app/Models/SocialIdentity.php, app/Enums/AuthProvider.php, app/Http/Controllers/Auth/*, app/Actions/Fortify/*, app/Providers/FortifyServiceProvider.php, app/Http/Responses/*, config/fortify.php, routes/auth.php docs/generated/schema.md, docs/generated/routes.md frontend-developer
.claude/skills/* (excluding skill-builder/ itself) skill-builder

Read the full file on GitHub · 239 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 239 lines · 56 tokens per session scan A 276ae46781da

Subscribe to this mod's changes

documentation-maintenance is a skill published in the GitHub repository ABilenduke/copilot-developer (4 stars, last pushed 6mo ago), licensed MIT. It adds 56 tokens to every session and 3,524 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

babysit-pr

Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…

openai/codex · 114 tokens

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…

openai/codex · 113 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens