Skip to content

About

AI coding assistant guidance for building Optimizely Connect Platform apps

Resources

Stars

1 star

Watchers

2 watching

Forks

Latest commit

 

History

19 Commits

Folders and files

Repository files navigation

OCP Skills

Agent Skill Documents for building Optimizely Connect Platform (OCP) apps. Follows the agentskills.io open standard — auto-discovered by Claude Code, GitHub Copilot, and other compatible AI coding assistants.

What's a Skill?

A skill is a set of reference documents that an AI coding assistant reads on demand during your session. AI models are trained on public data with a knowledge cutoff — OCP APIs evolve faster than that. Skills bridge the gap: when you ask an OCP question, the assistant reads the relevant file and answers from current, accurate documentation rather than guessing from stale training data.

Skills

Skill Description
ocp-app-development Building, modifying, and debugging OCP apps
ocp-local-testing Running and testing an OCP app locally before deploying
ocp-node22-runtime-migration Migrating an OCP app from node18 to node22 runtime (SDK 1.x→2.x), with optional path to SDK 3.x
ocp-app-sdk-v3-migration Modernizing an OCP app already on node22: app-sdk 2.x→3.x, native fetch, ESLint v9, Jest→vitest

Installation

Claude Code, GitHub Copilot, and Codex install via their plugin marketplace — all skills come bundled. Cursor and OpenCode use a one-time clone.

Claude Code

/plugin marketplace add optimizely/ocp-skills
/plugin install ocp-skills@ocp-skills

GitHub Copilot

copilot plugin marketplace add optimizely/ocp-skills
copilot plugin install ocp-skills@ocp-skills

Codex

codex plugin marketplace add optimizely/ocp-skills
codex plugin add ocp-skills@ocp-skills

Cursor

git clone https://github.com/optimizely/ocp-skills ~/.cursor/ocp-skills && mkdir -p ~/.cursor/skills && ln -s ~/.cursor/ocp-skills/skills/* ~/.cursor/skills/

OpenCode

git clone https://github.com/optimizely/ocp-skills ~/.config/opencode/ocp-skills && mkdir -p ~/.config/opencode/skills && ln -s ~/.config/opencode/ocp-skills/skills/* ~/.config/opencode/skills/

Verify

Start a session inside your project directory and ask:

I want to build an OCP app. Start with a webhook function that receives events from an external service and tracks them in ODP.

The assistant should load the ocp-app-development skill and give a grounded answer with a correct App.Function class, app.yml entry, and odp.event() call — not a generic guess.

Update

Claude Code and GitHub Copilot update automatically through their plugin marketplace. For Codex, Cursor, and OpenCode, update manually:

Codex:

codex plugin marketplace upgrade ocp-skills
codex plugin add ocp-skills@ocp-skills

Cursor:

cd ~/.cursor/ocp-skills && git pull

OpenCode:

cd ~/.config/opencode/ocp-skills && git pull

Project Structure

Each skill is a directory under skills/ with a SKILL.md entry point and an optional references/ directory of on-demand topic files.

ocp-skills/
└── skills/
    ├── ocp-app-development/              # Building, modifying, debugging OCP apps
    │   ├── SKILL.md
    │   └── references/                   # On-demand topic files (app.yml, lifecycle, SDKs, CLI, cms-ui-extensions, …)
    ├── ocp-local-testing/                # Running and testing an OCP app locally
    │   └── SKILL.md
    ├── ocp-node22-runtime-migration/     # node18 → node22 runtime + SDK 1→2 (optional → 3)
    │   └── SKILL.md
    └── ocp-app-sdk-v3-migration/         # app-sdk 2→3 modernization on node22
        └── SKILL.md

Contributing

Skill documents must stay accurate and under 500 lines per file. When OCP APIs change, update the relevant reference file and open a PR.

Legal notes

License: Copyright © 2026 Optimizely, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use these files except in compliance with the License. A copy of the License is included in the LICENSE file and is available at http://www.apache.org/licenses/LICENSE-2.0. Unless required by applicable law or agreed to in writing, this material is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND.

Trademarks: "Optimizely," "Optimizely Connect Platform," "OCP," and "Opal” are trademarks of Optimizely North America Inc. The Apache 2.0 license does not grant permission to use these names, logos, or brand features. Other names referenced here (including Claude Code, GitHub Copilot, Codex, Cursor, and OpenCode) are the trademarks of their respective owners and are used for identification only; their mention does not imply any endorsement or affiliation.

Support: This repository is provided as a community resource to assist external developers. It is not part of any Optimizely product or paid subscription, and is not covered by any service-level agreement, support commitment, or warranty.

About

AI coding assistant guidance for building Optimizely Connect Platform apps

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Contributors