check-docs-seo
Skill61 starsChanged 2 months agoMITView on GitHub
Check whether documentation needs updating after code changes. Automatically invoked at git commit time via the PostToolUse hook. Can also be invoked manually at any time. Run scripts/check_docs_seo.py to detect missing SEO keywords, positioning terms, plugin manifest keyword drift, SKILL.md identity violations, and tool-count drift: The checker covers documentation SEO, plugin manifest keyword sync (.claude-plugin/marketplace.json + integrations/*/plugin.json + package.json must include the required keyword subset), SKILL.md byte-identity (Claude Code source ↔ OpenCode plugin mirror), and tool-count consistency (auto-detected from src/kwin_mcp/server.py).
In this repository2 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- release-notesSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 3 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 3
Check whether documentation needs updating after code changes.
- Very specific: line 17
Run scripts/check_docs_seo.py to detect missing SEO keywords, positioning terms, plugin manifest keyword drift, SKILL.md identity …
- Very specific: line 27
If check_docs_seo.py reports SKILL.md drift or version mismatches, run the dedicated sync script.
- Very specific: line 34
After repair, re-run check_docs_seo.py to confirm cleanliness.
- Distinctive: line 43
If issues are detected, determine the trigger labels by checking which files were changed in the current commit (or staged changes):
- Very specific: line 51
Read .claude/positioning.yml (canonical source of truth)
- Distinctive: line 54
Update only the output targets for active trigger labels
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Docs SEO Consistency Check
Check whether documentation needs updating after code changes.
Usage
/check-docs-seoAutomatically invoked at git commit time via the PostToolUse hook. Can also be invoked manually at any time.
Instructions
Step 1: Run the consistency checker
Run scripts/check_docs_seo.py to detect missing SEO keywords, positioning terms, plugin manifest keyword drift, SKILL.md identity violations, and tool-count drift:
python3 scripts/check_docs_seo.pyThe checker covers documentation SEO, plugin manifest keyword sync (.claude-plugin/marketplace.json + integrations/*/plugin.json + package.json must include the required keyword subset), SKILL.md byte-identity (Claude Code source ↔ OpenCode plugin mirror), and tool-count consistency (auto-detected from src/kwin_mcp/server.py).
Step 1.5: Run the plugin version + SKILL sync checker
If check_docs_seo.py reports SKILL.md drift or version mismatches, run the dedicated sync script. It is idempotent and can either repair (no flag) or just verify (--check):
python3 scripts/sync_plugin_version.py --check # CI mode, no writes
python3 scripts/sync_plugin_version.py # writer modeAfter repair, re-run check_docs_seo.py to confirm cleanliness.
Step 2: Evaluate the result
- All checks passed: Report no-op and stop. No documentation changes needed.
- Issues detected: The script reports which files are missing which terms. Continue to Step 3.
Step 3: Invoke the docs-seo agent
If issues are detected, determine the trigger labels by checking which files were changed in the current commit (or staged changes):
git diff --name-only HEAD~1 HEADThen use the @docs-seo agent with the changed files and trigger labels as context. The agent follows its Evaluation Workflow (defined in .claude/agents/docs-seo.md) to:
- Read
.claude/positioning.yml(canonical source of truth) - Assemble the input set for each active trigger label
- Detect gaps in documentation files
- Update only the output targets for active trigger labels
- Report no-op for any scope where no changes are needed
Step 4: Report
Summarize what was checked and what was changed (or that no changes were needed).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

