Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
cocoindex-io avatar

Upgrade Examples

  • 1 installs
  • 11.2k repo stars
  • Updated August 4, 2026
  • cocoindex-io/cocoindex

Helps with ai & agent building tasks.

About

upgrade-examples is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted development.

  • upgrade-examples
  • AI & Agent Building
  • AI-coding skill

Upgrade Examples by the numbers

  • 1 all-time installs (skills.sh)
  • Ranked #14,098 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/cocoindex-io/cocoindex --skill upgrade-examples

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1
repo stars11.2k
Last updatedAugust 4, 2026
Repositorycocoindex-io/cocoindex

What it does

Helps with ai & agent building tasks.

Files

SKILL.mdMarkdownGitHub ↗

Upgrade Example Dependencies

Upgrade the cocoindex version in all example pyproject.toml files.

Usage

/upgrade-examples <version>

Example: /upgrade-examples 1.0.0a5

Instructions

To upgrade all example dependencies (replace VERSION with the actual version, e.g., 1.0.0a10):

1. Create a new branch for the changes:

git checkout -b ex-dep-VERSION

2. Run the following command to update all example pyproject.toml files.

Important: Use the literal version string directly in the sed command. Do not use shell variables as quoting issues can cause the version to be omitted.

find examples -name "pyproject.toml" -not -path "*/.venv/*" -exec grep -l "cocoindex" {} \; | xargs sed -i '' 's/cocoindex\([^>]*\)>=[0-9][0-9a-zA-Z.]*/cocoindex\1>=VERSION/g'

3. Verify the changes show the correct version:

grep -r "cocoindex.*>=" examples --include="pyproject.toml" | grep -v ".venv"

4. Commit and push the changes:

git add examples/*/pyproject.toml
git commit -m "chore: upgrade examples deps to cocoindex-VERSION"
git push -u origin ex-dep-VERSION

5. Create a PR using the gh CLI and capture the PR URL from its output:

gh pr create --base v1 --title "chore: upgrade examples deps to cocoindex-VERSION" --body ""

6. Switch back to the previous branch and delete the local branch:

git checkout v1
git branch -d ex-dep-VERSION

7. Report the number of files updated and provide the PR link from the gh pr create output to the user.

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.