LLM knowledge cutoff compensator — knowledge corrections for breaking changes and API drift. Covers: renamed packages (shadcn-ui→shadcn), changed APIs (z.string().email()→z.email()), new config formats (.eslintrc→eslint.config.js), current model IDs, Apple platform changes. Versions are NOT cached — always verify via package manager. Useful for: install, create, scaffold, upgrade, migrate, latest, version, dependency, shadcn, tailwind, vite, zod, eslint, react, next, svelte, nuxt, django, fastapi, pydantic, ruff, uv, claude, gpt, gemini, openai, anthropic, deepseek, qwen, llama, mistral, kimi, minimax, glm, node, bun, python, typescript, macos, xcode, swift, swiftui, supabase, npm, pip, cargo, package.json, pyproject.toml, requirements.txt.
Knowledge corrections for version-sensitive information that may have drifted since training data.
This skill addresses the gap between LLM training data and current reality. It provides knowledge corrections — pre-loaded fixes for breaking changes, renamed packages, deprecated APIs, and removed CLI commands that training data gets wrong.
Version numbers are never stored in corrections. Always verify versions via the package manager directly.
Corrections = knowledge. Versions = package manager.
npm view, pip index versions)Common pitfalls to avoid:
package.json, pyproject.toml) with unverified versionsScan YAML frontmatter tags in each corrections file to identify which are relevant to the current task.
Read matching corrections files. Check for breaking changes, renamed packages, deprecated APIs, and new patterns.
If package versions are needed, query the package manager directly using the commands below. Never use version numbers from memory.
| Ecosystem | Command |
|-----------|---------|
| npm | npm view {pkg} version |
| Bun | bun pm info {pkg} version |
| Python (PyPI) | pip index versions {pkg} \| head -1 |
| Rust (crates.io) | cargo search {pkg} --limit 1 |
| Go | go list -m -versions {module}@latest |
npm batch:
for pkg in react react-dom typescript tailwindcss vite; do
echo "$pkg|$(npm view "$pkg" version 2>/dev/null)"
done
Python batch:
for pkg in fastapi pydantic sqlalchemy alembic uvicorn; do
ver=$(pip index versions "$pkg" 2>/dev/null | head -1 | sed 's/.*(\(.*\))/\1/')
echo "$pkg|$ver"
done
Corrections provide knowledge that version numbers alone cannot reveal:
shadcn-ui → shadcn (querying old name may still return results)npx shadcn-ui@latest → npx shadcn@latestz.string().email() → z.email() (version number alone doesn't reveal this).eslintrc → eslint.config.js| Situation | Action | |-----------|--------| | Lookup command succeeds | Use the returned version | | Lookup command fails (tool not installed) | Try fallback command from the table above | | All commands fail | State uncertainty clearly, ask user to verify |
Each correction entry in corrections/ files follows this format:
### {Topic} — {YYYY-MM}
- **Wrong (training data)**: {What the model would answer}
- **Correct (current)**: {Actual current state}
- **Impact**: {What goes wrong if outdated info is used}
- **Lookup**: {Package manager verification command}
last_updated date in the YAML frontmattertags array if necessaryWhen a live lookup result differs from training data:
Each corrections file contains YAML frontmatter with tags for keyword routing. Scan frontmatter to find relevant files.
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer