bump-tantivy
Update tantivy to the latest main branch commit, resolve errors, and open a PR.
Install
mkdir -p .claude/skills/bump-tantivy && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/6543" && unzip -o skill.zip -d .claude/skills/bump-tantivy && rm skill.zipInstalls to .claude/skills/bump-tantivy
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Bump tantivy to the latest commit on main branch, fix compilation issues, and open a PRKey capabilities
- →Fetch latest tantivy SHA
- →Update Cargo.toml dependencies
- →Verify compilation with cargo check
- →Format code and update licenses
- →Automate PR creation
How it works
It automates the dependency update process by fetching the latest SHA, updating manifest files, fixing compilation errors, and submitting a pull request.
Inputs & outputs
When to use bump-tantivy
- →Update tantivy to the latest commit
- →Fix compilation issues after dependency bump
- →Prepare a PR for tantivy version update
About this skill
Bump Tantivy
Follow these steps to bump tantivy to its latest version:
Step 1: Check that we are on the main branch
Run: git branch --show-current
If the current branch is not main, abort and ask the user to switch to the main branch first.
Step 2: Ensure main is up to date
Run: git pull origin main
This ensures we're working from the latest code.
Step 3: Get the latest tantivy SHA
Run: gh api repos/quickwit-oss/tantivy/commits/main --jq '.sha'
Extract the first 7 characters as the short SHA.
Step 4: Update Cargo.toml
Edit quickwit/Cargo.toml and update the rev field in the tantivy dependency to the new short SHA.
The line looks like:
tantivy = { git = "https://github.com/quickwit-oss/tantivy/", rev = "XXXXXXX", ... }
Step 5: Run cargo check and fix compilation errors
Run cargo check in the quickwit directory to verify compilation.
If there are compilation errors:
- If the fix is straightforward (simple API changes, renames, etc.), fix them without asking
- If the fix is complex or unclear, ask the user before proceeding
Repeat until cargo check passes.
Step 6: Format code
Run make fmt from the quickwit/ directory to format the code.
Step 7: Update licenses
Run make update-licenses from the quickwit/ directory, then move the generated file:
mv quickwit/LICENSE-3rdparty.csv ./LICENSE-3rdparty.csv
Step 8: Create a new branch
Get the git username: git config user.name | tr ' ' '-' | tr '[:upper:]' '[:lower:]'
Get today's date: date +%Y-%m-%d
Create and checkout a new branch named: {username}/bump-tantivy-{date}
Example: paul/bump-tantivy-2024-03-15
Step 9: Commit changes
Stage all modified files and create a commit with message:
Bump tantivy to {short-sha}
Step 10: Push and open a PR
Push the branch and open a PR using:
gh pr create --title "Bump tantivy to {short-sha}" --body "Updates tantivy dependency to the latest commit on main."
Report the PR URL to the user when complete.
When not to use it
- →When not working on the main branch
Prerequisites
Limitations
- →Requires manual intervention for complex compilation errors
How it compares
It standardizes the tantivy update workflow, including license updates and PR creation, which would otherwise be manual and error-prone.
Compared to similar skills
bump-tantivy side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| bump-tantivy (this skill) | 1 | 6mo | No flags | Intermediate |
| rfx-bootstrap-install | 0 | 6mo | Review | Beginner |
| write-script-rust | 4 | 3mo | No flags | Beginner |
| release-skills | 2 | 3mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by quickwit-oss
View all by quickwit-oss →You might also like
rfx-bootstrap-install
quantbagel
Bootstrap the rfx monorepo for local development. Use when asked to install dependencies, enable hooks, or prepare this repo for an agent to work safely.
write-script-rust
windmill-labs
MUST use when writing Rust scripts.
release-skills
JimLiu
Universal release workflow. Auto-detects version files and changelogs. Supports Node.js, Python, Rust, Claude Plugin, and generic projects. Use when user says "release", "发布", "new version", "bump version", "push", "推送".
noir-sync-update
AztecProtocol
Perform necessary follow-on updates as a result of updating the noir git submodule.
gen-rust
MoonshotAI
Sync Rust implementation with Python changes (exclude UI/login) by reviewing recent changes, mapping modules, porting logic, and updating tests.
search-code
JamieMason
Search for code patterns in Syncpack. Use when finding symbols, implementations, or understanding how code is used. Covers ast-grep for Rust and grep/rg for other cases.