-
Notifications
You must be signed in to change notification settings - Fork 1
feat: add videojs agent skill #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
50e2576
feat: add videojs agent skill
mihar-22 23f4a95
feat(skill): detect existing shadcn setups before choosing an install…
mihar-22 516ca98
fix(skill): describe Minimal as an aesthetic, not a reduced control set
mihar-22 2a3dba1
docs(skill): give the honest hosting picture in the hosting reference
mihar-22 3960161
fix(skill): apply review findings from the Codex discussion
mihar-22 9e30438
docs(skill): replace perishable details with pointers to the docs
mihar-22 0927d2d
docs(skill): link Mux pricing and docs indexes instead of quoting fig…
mihar-22 f9f8d97
docs(readme): open with the built-at-Mux line as a blockquote
mihar-22 807ff08
docs(skill): start custom UI work from the closest skin's Shadcn install
mihar-22 010c37b
docs(skill): collapse the bundled docs path to one pattern
mihar-22 d255237
feat: add cross-agent plugin packaging
mihar-22 67ca1c6
feat: improve plugin discovery metadata
mihar-22 bdd12f5
docs: use versioned installation instructions
mihar-22 f5aebfa
docs: simplify skills.sh install command
mihar-22 b2089ea
test: smoke-test plugin installation
mihar-22 2fcdc3d
fix: tighten skill packaging guidance
mihar-22 daa96e7
docs(skill): state that the video.js package is Video.js 8
mihar-22 a641508
docs(skill): run agents init before Video.js is installed
mihar-22 e15d2ea
refactor(skill): move the install flow into references/installation.md
mihar-22 f637ffd
fix: trim logo edge fringes and drop the eject mention
mihar-22 ba229b8
fix: give the logo an intrinsic square size
mihar-22 fbae014
fix: restore the original logo and lead with the install section
mihar-22 9bab4c7
docs(skill): clarify Mux source guidance
mihar-22 43c3e6a
docs(skill): avoid redundant latest tags
mihar-22 4054e4d
fix(skill): default to Video.js over native video and tighten install…
mihar-22 342856b
fix(skill): limit native video to short clips with no controls
mihar-22 f7bd33d
fix(skill): count long autoplaying motion as needing controls
mihar-22 e3ea9c4
fix(skill): run agents init through @videojs/cli
mihar-22 0f6d827
chore(plugin): trim manifest keywords
mihar-22 26db625
fix(skill): rely on agents init for app setup detection
mihar-22 dfd9267
docs(skill): select extensions through agents init
mihar-22 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| { | ||
| "name": "videojs", | ||
| "interface": { | ||
| "displayName": "Video.js" | ||
| }, | ||
| "plugins": [ | ||
| { | ||
| "name": "videojs", | ||
| "source": { | ||
| "source": "url", | ||
| "url": "https://github.com/videojs/skills.git" | ||
| }, | ||
| "policy": { | ||
| "installation": "AVAILABLE", | ||
| "authentication": "ON_INSTALL" | ||
| }, | ||
| "category": "Developer Tools" | ||
| } | ||
| ] | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| { | ||
| "$schema": "https://code.claude.com/schemas/marketplace.json", | ||
| "name": "videojs", | ||
| "description": "Official Video.js agent plugins for building customizable, accessible video and audio players.", | ||
| "owner": { | ||
| "name": "Video.js", | ||
| "url": "https://videojs.org" | ||
| }, | ||
| "plugins": [ | ||
| { | ||
| "name": "videojs", | ||
| "displayName": "Video.js", | ||
| "description": "Build customizable, accessible video and audio players with Video.js 10, an open-source library of composable, framework-native components for React and the web.", | ||
| "source": "./", | ||
| "keywords": [ | ||
| "videojs", | ||
| "video.js", | ||
| "video-player", | ||
| "audio-player", | ||
| "media-player", | ||
| "react", | ||
| "web-components", | ||
| "hls", | ||
| "live-streaming", | ||
| "captions", | ||
| "accessibility", | ||
| "shadcn", | ||
| "mux" | ||
| ], | ||
| "category": "Developer Tools", | ||
| "tags": [ | ||
| "video", | ||
| "audio", | ||
| "streaming", | ||
| "accessibility", | ||
| "ui", | ||
| "frontend" | ||
| ] | ||
| } | ||
| ] | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| { | ||
| "name": "videojs", | ||
| "displayName": "Video.js", | ||
| "version": "0.1.0", | ||
| "description": "Build customizable, accessible video and audio players with Video.js 10, an open-source library of composable, framework-native components for React and the web.", | ||
| "author": { | ||
| "name": "Video.js", | ||
| "url": "https://videojs.org" | ||
| }, | ||
| "homepage": "https://videojs.org", | ||
| "repository": "https://github.com/videojs/skills", | ||
| "license": "Apache-2.0", | ||
| "keywords": [ | ||
| "videojs", | ||
| "video.js", | ||
| "video-player", | ||
| "audio-player", | ||
| "media-player", | ||
| "react", | ||
| "web-components", | ||
| "hls", | ||
| "live-streaming", | ||
| "captions", | ||
| "accessibility", | ||
| "shadcn", | ||
| "mux" | ||
| ] | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| { | ||
| "name": "videojs", | ||
| "version": "0.1.0", | ||
| "description": "Build customizable, accessible video and audio players with Video.js 10, an open-source library of composable, framework-native components for React and the web.", | ||
| "author": { | ||
| "name": "Video.js", | ||
| "url": "https://videojs.org" | ||
| }, | ||
| "homepage": "https://videojs.org", | ||
| "repository": "https://github.com/videojs/skills", | ||
| "license": "Apache-2.0", | ||
| "keywords": [ | ||
| "videojs", | ||
| "video.js", | ||
| "video-player", | ||
| "audio-player", | ||
| "media-player", | ||
| "react", | ||
| "web-components", | ||
| "hls", | ||
| "live-streaming", | ||
| "captions", | ||
| "accessibility", | ||
| "shadcn", | ||
| "mux" | ||
| ], | ||
| "skills": "./skills/", | ||
| "interface": { | ||
| "displayName": "Video.js", | ||
| "shortDescription": "Build accessible media players", | ||
| "longDescription": "Build customizable, accessible video and audio players with Video.js 10. Compose framework-native React components or HTML custom elements, start with packaged skins, or own the UI with custom controls. Support native, on-demand, live, audio, and background playback across HLS, DASH, DRM, and hosted media providers, with captions, quality selection, casting, analytics, and more.", | ||
| "developerName": "Video.js", | ||
| "category": "Developer Tools", | ||
| "capabilities": [ | ||
| "Interactive", | ||
| "Write" | ||
| ], | ||
| "websiteURL": "https://videojs.org", | ||
| "defaultPrompt": [ | ||
| "Add an HLS player with captions and a quality menu to this React app.", | ||
| "Build a Video.js 10 player for this Mux playback ID with Mux Data analytics.", | ||
| "Migrate this Video.js 8 player to Video.js 10 without changing its behavior.", | ||
| "Debug why this stream plays in Safari but fails in Chrome." | ||
| ], | ||
| "brandColor": "#F26222", | ||
| "composerIcon": "./logo.svg", | ||
| "logo": "./logo.svg", | ||
| "screenshots": [] | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,40 @@ | ||
| { | ||
| "name": "videojs", | ||
| "owner": { | ||
| "name": "Video.js" | ||
| }, | ||
| "metadata": { | ||
| "description": "Official Video.js agent plugins for building customizable, accessible video and audio players." | ||
| }, | ||
| "plugins": [ | ||
| { | ||
| "name": "videojs", | ||
| "source": "./", | ||
| "description": "Build customizable, accessible video and audio players with Video.js 10, an open-source library of composable, framework-native components for React and the web.", | ||
| "keywords": [ | ||
| "videojs", | ||
| "video.js", | ||
| "video-player", | ||
| "audio-player", | ||
| "media-player", | ||
| "react", | ||
| "web-components", | ||
| "hls", | ||
| "live-streaming", | ||
| "captions", | ||
| "accessibility", | ||
| "shadcn", | ||
| "mux" | ||
| ], | ||
| "category": "Developer Tools", | ||
| "tags": [ | ||
| "video", | ||
| "audio", | ||
| "streaming", | ||
| "accessibility", | ||
| "ui", | ||
| "frontend" | ||
| ] | ||
| } | ||
| ] | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| { | ||
| "name": "videojs", | ||
| "version": "0.1.0", | ||
| "description": "Build customizable, accessible video and audio players with Video.js 10, an open-source library of composable, framework-native components for React and the web.", | ||
| "author": { | ||
| "name": "Video.js", | ||
| "url": "https://videojs.org" | ||
| }, | ||
| "homepage": "https://videojs.org", | ||
| "repository": "https://github.com/videojs/skills", | ||
| "license": "Apache-2.0", | ||
| "keywords": [ | ||
| "videojs", | ||
| "video.js", | ||
| "video-player", | ||
| "audio-player", | ||
| "media-player", | ||
| "react", | ||
| "web-components", | ||
| "hls", | ||
| "live-streaming", | ||
| "captions", | ||
| "accessibility", | ||
| "shadcn", | ||
| "mux" | ||
| ], | ||
| "logo": "logo.svg" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,84 @@ | ||
| name: Validate plugin | ||
|
|
||
| on: | ||
| pull_request: | ||
| push: | ||
| branches: | ||
| - main | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| validate: | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: 22 | ||
|
|
||
| - uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: "3.13" | ||
|
|
||
| - name: Validate repository packaging | ||
| run: node scripts/validate-plugin.mjs | ||
|
|
||
| - name: Validate the portable Agent Plugins manifest | ||
| run: | | ||
| python -m pip install check-jsonschema==0.38.0 | ||
| check-jsonschema \ | ||
| --schemafile https://agent-plugins.org/schemas/1.0.0/plugin.schema.json \ | ||
| plugin.json | ||
|
|
||
| - name: Validate Claude Code packaging | ||
| run: | | ||
| npx --yes @anthropic-ai/claude-code@2.1.266 plugin validate . | ||
| npx --yes @anthropic-ai/claude-code@2.1.266 plugin validate \ | ||
| .claude-plugin/plugin.json | ||
|
|
||
| - name: Smoke-test Claude Code installation | ||
| env: | ||
| CLAUDE_CONFIG_DIR: ${{ runner.temp }}/claude | ||
| run: | | ||
| npx --yes @anthropic-ai/claude-code@2.1.266 plugin marketplace add ./ | ||
| npx --yes @anthropic-ai/claude-code@2.1.266 plugin install \ | ||
| videojs@videojs \ | ||
| --scope user | ||
| npx --yes @anthropic-ai/claude-code@2.1.266 plugin list \ | ||
| --json > "$RUNNER_TEMP/claude-plugins.json" | ||
| jq -e '.[] | select(.id == "videojs@videojs" and .enabled == true)' \ | ||
| "$RUNNER_TEMP/claude-plugins.json" > /dev/null | ||
|
|
||
| - name: Discover the skill with skills.sh | ||
| run: npx --yes skills@1.7.0 add . --list | ||
|
|
||
| - name: Smoke-test Codex installation | ||
| run: | | ||
| # Replace the published URL source with this PR's checkout so the | ||
| # install test never falls through to the repository's main branch. | ||
| marketplace_root="$RUNNER_TEMP/videojs-marketplace" | ||
| install -d \ | ||
| "$marketplace_root/.agents/plugins" \ | ||
| "$marketplace_root/plugins" | ||
| cp -R "$GITHUB_WORKSPACE" "$marketplace_root/plugins/videojs" | ||
| jq '.plugins |= map(if .name == "videojs" then .source = { | ||
| "source": "local", | ||
| "path": "./plugins/videojs" | ||
| } else . end)' \ | ||
| .agents/plugins/marketplace.json \ | ||
| > "$marketplace_root/.agents/plugins/marketplace.json" | ||
| npx --yes @openai/codex@0.154.0 plugin marketplace add \ | ||
| "$marketplace_root" \ | ||
| --json | ||
| npx --yes @openai/codex@0.154.0 plugin add \ | ||
| videojs@videojs \ | ||
| --json | ||
| npx --yes @openai/codex@0.154.0 plugin list \ | ||
| --marketplace videojs \ | ||
| --json > "$RUNNER_TEMP/codex-plugins.json" | ||
| jq -e '.installed[] | select(.name == "videojs")' \ | ||
| "$RUNNER_TEMP/codex-plugins.json" > /dev/null | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.