From xwiki
Best practices, rules and XWiki-specific testing framework documentation for writing tests for the XWiki code base.
How this skill is triggered — by the user, by Claude, or both
Slash command
/xwiki:testsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
When **converting** existing tests (JUnit4/JMock → JUnit5/Mockito), use the `convert-tests` skill in addition to this one.
When converting existing tests (JUnit4/JMock → JUnit5/Mockito), use the convert-tests skill in addition to this one.
When writing a test:
-Pquality -Dxwiki.jacoco.instructionRatio=1.00 which should fail but provide the current threshold value that can then be used to replace the current value.Location of XWiki test frameworks (relative to each repo's checkout):
xwiki-commons-tools/xwiki-commons-tool-testxwiki-rendering-testxwiki-platform-core/xwiki-platform-testnpx claudepluginhub xwiki/xwiki-dev-llm --plugin xwikiProvides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.