一键导入
reindex
Trigger reindexing of a specific WordPress extension. Use to rebuild the search index for a plugin, theme, or core version.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Trigger reindexing of a specific WordPress extension. Use to rebuild the search index for a plugin, theme, or core version.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Run Go benchmarks and compare results to detect performance regressions. Use before and after performance-related changes.
Run pre-push quality checks (vet + lint + tests with race detector). Use before pushing code.
Run tests with coverage analysis and identify untested code paths. Use to find gaps before releases.
Check and tidy Go module dependencies. Use after adding/removing imports or before releases.
Run go generate to build templ templates and frontend assets. Use after changing templates or CSS/JS.
Run integration tests that require Docker (Postgres, MinIO via testcontainers). Use to validate database and storage behavior.
| name | reindex |
| description | Trigger reindexing of a specific WordPress extension. Use to rebuild the search index for a plugin, theme, or core version. |
| disable-model-invocation | true |
| argument-hint | repo slug |
Trigger reindexing of a specific WordPress plugin, theme, or core version.
/reindex plugins akismet - Reindex the Akismet plugin/reindex themes flavor - Reindex the flavor theme/reindex cores 6.7.1 - Reindex WordPress core 6.7.1Parse arguments
$REPO: Repository type (plugins, themes, or cores)$SLUG: Extension slug (or version for cores)Ensure binary is current
go install ./...
Check if the server is running
curl -s http://localhost:8585/up 2>&1
If server is running, trigger reindex via API:
curl -s -X POST "http://localhost:8585/api/reindex/$REPO/$SLUG" 2>&1
If server is not running, use the index CLI directly:
veloria index --repo=$REPO --slug=$SLUG --zipurl="$ZIP_URL" 2>&1
Report results
## Reindex Results
- Extension: $REPO/$SLUG
- Method: API / CLI
- Status: success / failed
- Details: [output from command]
| Method | When | Notes |
|---|---|---|
API (/api/reindex) | Server running | Handles zip URL lookup, DB update, and hot-swap |
CLI (veloria index) | Server not running | Requires explicit --zipurl, no DB update |
The API method is preferred as it handles the full pipeline including database updates and live index hot-swap.