/xwiki:xwiki-deploy-extensionfrom xwiki
Deploys XWiki extensions (XAR or JAR) to a running XWiki instance via the REST job API. Handles install, uninstall, and hot-reload workflows.
Ships in xwiki. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
To read or change pages or objects on a running XWiki, use xwiki-rest-api; to edit the XAR's pages before building it, xwiki-xar-pages; to shoot a UI fix's "before", xwiki-capture-ui-change.
To deploy an XWiki extension (XAR, JAR), to a running XWiki install, do the following:
0) If the extension is a core extension (i.e. located in webapps/xwiki/WEB-INF/lib) then simply replace the jar with the new one and don't go over the next steps and ask the dev to restart XWiki. Find that directory from the process listening on the port (lsof -nP -iTCP:8080 -sTCP:LISTEN -t, then lsof -a -p <pid> -d cwd -Fn), never by guessing. Build the jar on the instance's branch; for a module that a -legacy module weaves, the jar to replace is the legacy one.
<groupId>:<artifactId> and its version the <version>, both from its pom.xml.installjobrequest.xml in the extension's target dir, exactly like the following one, with the id and version in place of "id here" and "version here":
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<jobRequest xmlns="http://www.xwiki.org">
<id>
<element>extension</element>
<element>provision</element>
<element>796fb04f-b095-4db8-a3ec-fa03f22051f8</element>
</id>
<interactive>false</interactive>
<remote>false</remote>
<verbose>true</verbose>
<property>
<key>extensions</key>
<value>
<list xmlns="" xmlns:ns2="http://www.xwiki.org">
<org.xwiki.extension.ExtensionId>
<id>id here</id>
<version class="org.xwiki.extension.version.internal.DefaultVersion" serialization="custom">
<org.xwiki.extension.version.internal.DefaultVersion>
<string>version here</string>
</org.xwiki.extension.version.internal.DefaultVersion>
</version>
</org.xwiki.extension.ExtensionId>
</list>
</value>
</property>
<property>
<key>extensions.excluded</key>
<value>
<set xmlns="" xmlns:ns2="http://www.xwiki.org"/>
</value>
</property>
<property>
<key>interactive</key>
<value>
<boolean xmlns="" xmlns:ns2="http://www.xwiki.org">false</boolean>
</value>
</property>
<property>
<key>namespaces</key>
<value>
<list xmlns="" xmlns:ns2="http://www.xwiki.org">
<string>wiki:xwiki</string>
</list>
</value>
</property>
</jobRequest>
uninstalljobrequest.xml in the target dir, like installjobrequest.xml but without the extensions.excluded and interactive properties, then run:
curl -i --user "Admin:admin" -X PUT -H "Content-Type: text/xml" "http://localhost:8080/xwiki/rest/jobs?jobType=uninstall&async=false" --upload-file uninstalljobrequest.xml
Then re-run the install curl command, then check it with the browser cache disabled: reinstalled pages are back at version 1.1, and their JSX/SSX URLs (cached 30 days) only change with it, so the browser keeps the old scripts.curl -i --user "Admin:admin" -X PUT -H "Content-Type: text/xml" "http://localhost:8080/xwiki/rest/jobs?jobType=install&async=false" --upload-file installjobrequest.xml$services.extension.installed.getInstalledExtensions() (root and each wiki namespace), not from the files on disk.-SNAPSHOT build silently loses to a published snapshot of the same version: the dependencies resolve from the repositories declared in the extension's POMs before the local Maven repository. Build it under a version no repository has (e.g. X.Y.Z-local-SNAPSHOT) to deploy it. Each rebuild needs a new one (-local2-SNAPSHOT…): reinstalling a version, even after step 3's uninstall, reuses Extension Manager's stored copy.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
38 skills in this plugin
/xwiki-backportBackport any change (bug fix, feature, refactor, or test) to an older branch of an XWiki repo (xwiki-platform / xwiki-commons / xwiki-rendering / xwiki-contrib). Cherry-pick `-x` the source commit(s) into a worktree, ADAPT the result to the older branch (module pom versions, Java level, `@since` tags, data migration versions and skip ranges, style/API divergence), verify it compiles against that branch, and push / open a PR. Use whenever a commit that exists on one branch needs to be applied to an older/maintenance branch. For the `testneeded`-labelled test sweep use xwiki-backport-testneeded (which builds on this skill); for Maven commands use xwiki-build; for PR/commit conventions use xwiki-pull-request; for the versioning/`@since` conventions (the format and what carries `@since`) use xwiki-knowledge./xwiki-backport-testneededBackport the automated test of one JIRA issue labelled `testneeded` to the currently-supported stable branches, adjust its `@since` tags across all branches, and open the PRs. Use when asked to backport the test of a given testneeded issue, or to catch a stable branch up with a recently-added test. (For several issues at once, the user will say so — then apply this per issue.) This is the test-specific layer on top of xwiki-backport (which owns the generic cherry-pick / adapt-to-branch / verify mechanics — including the mandatory pom-version, Java-version and `@since` checks). For Maven use xwiki-build; for PR/commit conventions use xwiki-pull-request; for the `@since` rules use xwiki-knowledge; for querying JIRA (the testneeded sweep) use xwiki-jira.npx claudepluginhub xwiki/xwiki-dev-llm --plugin xwiki