✂️
QualityJava

Poshi Shrink

by liferay

Poshi Shrink is a Quality skill for Claude Code, published by liferay in liferay-portal.

2.3K stars3.8K forkson liferay/liferay-portalAdded 2026/07/20Repository updated 2026/08/03
Install in seconds
Install Poshi Shrink
Copy Poshi Shrink into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/liferay/liferay-portal/tree/master/.claude/skills/poshi-shrink ~/.claude/skills/poshi-shrink

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/liferay/liferay-portal.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
.claude/skills/poshi-shrink/SKILL.md in liferay/liferay-portal
Installs to
~/.claude/skills/poshi-shrink
Collection
One of 16 skills cataloged from this repository
Category
Quality1897 skills

What Poshi Shrink does

Shrink a Liferay component's Poshi test suite by merging overlapping tests, reducing test count while maintaining coverage. Ideal when asked to reduce, merge, or clean up Poshi tests.

Poshi Shrink is cataloged under Quality on DirSkills.

Documentation

README

Shrink Poshi Tests

A playbook for shrinking a Liferay component's Poshi test suite before migrating tests to Playwright, Java integration, or the unit layer. Typical outcome: a file with ~27 tests ends up with ~8, in ~24 small reviewable commits.

Preconditions

  • The working tree is clean. Abort and ask the user to commit or stash first when dirty.

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Poshi Shrink

  • What else does liferay publish alongside Poshi Shrink?

    Poshi Shrink is one of 16 skills that DirSkills catalogs from liferay/liferay-portal, the repository it ships in. Its siblings there include Create Pull Request, Format Source and Format Source Add Rule. Each one is a separate skill with its own page in this directory, installs the same way Poshi Shrink does, and is maintained by liferay in that same repository. The rest of the collection is listed on the liferay/liferay-portal page.

  • How does Poshi Shrink compare to other Quality skills?

    Poshi Shrink ranks #546 by stars among the 1897 Quality skills in this catalog. The most-starred ones next to it are Benchmark, Benchmark Optimization Loop and API Design Patterns. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Poshi Shrink against them. Open each page to compare what they document and how they install.