optimization-sdk-sync
Skill by contentful
Syncs the Contentful Optimization SDK's public API, behavior, and guidance into runtime-specific references for the contentful-personalization skill. It is aimed at maintainers who keep that skill current with upstream changes.
Install optimization-sdk-sync
Built from the published package, never by AI.
git clone --depth 1 https://github.com/contentful/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/local-skills/skills/optimization-sdk-sync ~/.claude/skills/optimization-sdk-syncRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/contentful/skills /tmp/skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/skills/local-skills/skills/optimization-sdk-sync ~/.gemini/antigravity-cli/skills/optimization-sdk-syncAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install optimization-sdk-sync in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
optimization-sdk-sync is an agent skill that updates modern @contentful/optimization guidance in the contentful-personalization skill from a verified upstream revision. It reads the public Optimization repository, resolves the requested ref to an immutable commit SHA, and runs the repository's knowledge and guide checks before writing anything. It compiles the results into short reference files for shared concepts, React Web, Next.js App Router and Pages Router, browser Web, Node.js, and React Native. It records provenance in a manifest.
The skill is written for maintainers and for agents that need accurate, runtime-specific SDK guidance. It uses public exports and types as the authority for API shapes, and treats legacy @ninetailed/* guidance as preserved unless upstream evidence requires a fix. It does not commit, push, or open pull requests unless asked.
Written from the project's SKILL.md and checked against it.
What it can do
- Resolve upstream revisionResolves a requested ref, defaulting to main, to a full immutable commit SHA in a detached checkout.
- Run upstream validationRuns the repository's knowledge and guide checks and records each result as passed, failed, or blocked.
- Compute the deltaCompares the previous upstream SHA with the new one to prioritize which facts, blueprints, and packages to review.
- Compile runtime referencesWrites overview, shared, and runtime-specific reference files for the contentful-personalization skill.
- Update consumer routingRoutes modern SDK topics to the right reference and keeps legacy paths on legacy references.
- Record provenanceUpdates a manifest with the SHA, validation results, generated paths, and consulted upstream sources.
What you need
- Git access to the public Optimization repository over HTTPS
- pnpm for the upstream and build commands
- Python 3 for the skill validation scripts
- npx for the skills list check
Try asking
- Sync the Optimization SDK guidance to the latest main commit
- Check whether the React Web reference is stale against upstream
- Validate that the contentful-personalization skill matches a given SHA
Good to know
- Does not synthesize iOS or Android guidance until upstream provides the needed facts and declarations.
- Stops authoritative writes if upstream knowledge or guide checks do not both pass.
- Does not commit, push, or open a pull request unless the user asks.
- Leaves the managed cache untouched if its origin differs or it has local changes.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: local-skills/skills/optimization-sdk-sync/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to optimization-sdk-sync
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
optimization-sdk-sync: common questions
Does this skill change the Optimization SDK itself?
No. It reads the upstream repository and updates the reference files and manifest in the contentful-personalization skill. The source says it never mutates a local source repository.
Which runtimes does it cover?
It supports shared concepts, React Web, Next.js App Router, Next.js Pages Router, browser Web, Node.js, and React Native. iOS and Android are excluded until upstream provides equivalent material.
Where does the cloned repository go?
The default cache is at .docs/optimization-sdk-sync/repository. The source says this cache is repo-local working state and is not committed or distributed.
How do I install optimization-sdk-sync?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is optimization-sdk-sync free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is optimization-sdk-sync safe to use?
It scores 61 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to optimization-sdk-sync?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
