ai-instructions: Skill for Cursor

.cursor/skills/review-and-sync-docs/SKILL.md

review-and-sync-docs is a skill for Cursor from lsampaioweb/ai-instructions. It costs 78 tokens per session (529 once invoked), scanned A, original, MIT.

A documentation-maintenance helper that synchronizes Markdown files with current code and configuration behavior. Markdown is the plain-text format commonly used for README files and project guides.

In plain words
What is it for?
Use it to update READMEs and other Markdown after changes, repair stale instructions or links, and review a selected scope or feature area.
Why use it?
It helps find documentation that became incorrect after code or setup changes while preventing unsupported details from being added.

Skill for Cursor

Written for Cursor: installed under .cursor/.

This is lsampaioweb/ai-instructions's own configuration. It tells Cursor how to work on ai-instructions itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ai-instructions configures →

Reuse

Borrowing it

Nothing to install: this file belongs to lsampaioweb/ai-instructions. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/lsampaioweb/ai-instructions/main/.cursor/skills/review-and-sync-docs/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/lsampaioweb/ai-instructions

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for review-and-sync-docs

README.md
[![agentmods](https://agentmods.dev/badge/skills/lsampaioweb/ai-instructions/review-and-sync-docs/github.svg)](https://agentmods.dev/skills/lsampaioweb/ai-instructions/review-and-sync-docs)
Your own site
<a href="https://agentmods.dev/skills/lsampaioweb/ai-instructions/review-and-sync-docs"><img src="https://agentmods.dev/badge/skills/lsampaioweb/ai-instructions/review-and-sync-docs/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for review-and-sync-docs

Your own site · 80×15
<a href="https://agentmods.dev/skills/lsampaioweb/ai-instructions/review-and-sync-docs"><img src="https://agentmods.dev/badge/skills/lsampaioweb/ai-instructions/review-and-sync-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 529 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00078 $0.00529
Opus 5.5 $0.00031 $0.00212
Sonnet 5.5 $0.00016 $0.00106
Haiku 4.5 $0.00008 $0.00053

Measured 1mo ago against content hash 87cc071e6999, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

review-and-sync-docs 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 1mo ago.

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.

.cursor/skills/review-and-sync-docs/SKILL.md · 59 lines

What it actually says

Markdown Documentation Sync

Arguments

  • Optional scope, folder path, or feature-area filter.
  • Omit the filter to sync from uncommitted changes, then recent commits.

1. Define the Scope

  1. Resolve the target scope from the user-provided arguments when present.
  2. Fallback Scan: If scope is omitted, inspect git status, unstaged changes with git diff, staged changes with git diff --cached, and the contents of untracked files listed by git status. Then evaluate commits made after the latest commit whose subject starts with docs:; if no such baseline exists, evaluate the latest 10 commits.
  3. Correlate code and configuration deltas with impacted Markdown targets.

2. Resolution Rules

  • What to update: Update *.md only when code or configuration changes alter documented onboarding, execution, or architecture behavior.
  • Match the existing style: Follow the current formatting, heading style, and list conventions.
  • Content corrections: Repair stale instructions, outdated keys, and deprecated paths.
  • Reference corrections: Resolve broken links and replace obsolete examples.

3. Safety Guards

  • Execution Boundary: Apply Markdown edits only after the read-only plan is presented and the user explicitly confirms.
  • Fabrication Guard: Never invent features, parameters, properties, or runtime behavior absent from the codebase.
  • Uncertainty Gate: If a documentation update cannot be verified with available code context, stop and ask focused questions before editing.

4. Review Plan Layout

Use this exact markdown schema:

Scope

  • Target:
  • Mode: <read-only | apply-after-confirmation>

Result

  • Summary:

Evidence

  • Synced files: <none | path1; path2>
  • Structural updates: <none | item1; item2>
  • Verification points: <none | item1; item2>

Next Action

  • <single minimal next step or none>

Verdict

  • READY | NEEDS FIXES | BLOCKED
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. 1mo ago Changed 87cc071e6999
  2. 1mo ago Changed · +11 lines · +25 tokens per session 87db15fe2713
  3. 2mo ago First seen · 48 lines · 53 tokens per session scan A 614f75f1a535

Subscribe to this mod's changes

review-and-sync-docs is a skill published in the GitHub repository lsampaioweb/ai-instructions (1 stars, last pushed 5d ago), licensed MIT. It adds 78 tokens to every session and 529 once invoked, about $0.0003 per session on Opus 5.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

review-and-sync-docs compared with skills from other repositories

review-and-sync-docs next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
review-and-sync-docslsampaioweb/ai-instructionsSkill15d agoMITA78Cursor
imagegenopenai/codexSkill133kyesterdayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99kyesterdayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k4d agoMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill313k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill143ktodayMITA103Claude Code