From cssid-finder
Find the Java getter chain (hierarchyPath) for a Guidewire UI CSS ID in CenterTest. Use when the user says "find getter", "what's the getter", or pastes a CSS ID and asks how to reference it in PC, CC, BC, or AB/CM. Triggers on phrases like "find getter in PC for", "getter in BC for", "AB getter for", or any CSS ID lookup request.
How this skill is triggered — by the user, by Claude, or both
Slash command
/cssid-finder:cssid-finderThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Find the Java getter chain (`hierarchyPath`) for a CSS ID copied from the Guidewire UI during CenterTest development.
Find the Java getter chain (hierarchyPath) for a CSS ID copied from the Guidewire UI during CenterTest development.
Trigger this skill when the user:
AccountActivitiesPage-ActivitesLV-0-subject")hierarchyPath for a UI element in PC, CC, BC, or AB/CMFrom the user's message, identify:
Examples:
AccountFile_Summary-AccountSummaryDashboard-AccountDetailsDetailViewTile-AccountDetailsDetailViewTile_DV-AccountHolder" → app=pcBillingCenterPage-SomeElement" → app=bcABContactDetailPopup-ABContactDetailScreen-ABAddressDetailDV-AddressOwnerInputSet-Address_Description" → app=abDetermine the Python command available on the system (python3 or python) and use it:
PYTHON=$(python3 --version >/dev/null 2>&1 && echo python3 || echo python) && "$PYTHON" "${CLAUDE_PLUGIN_ROOT}/scripts/find_getter.py" <app> "<cssId>"
First run: the script will prompt for the path to the generated project's resources directory and save it to ~/.centertest/cssid-finder.json.
Override path: if the user asks to change the path or you need to point to a different project:
"$PYTHON" "${CLAUDE_PLUGIN_ROOT}/scripts/find_getter.py" --set-path "/path/to/generated/src/main/resources"
Show current path:
"$PYTHON" "${CLAUDE_PLUGIN_ROOT}/scripts/find_getter.py" --show-path
Show the getter chain as a code snippet the developer can paste into their test:
new AccountFile_SummaryPage(getContext()).getAccountHolder()
If not found, show the normalized form that was searched so the user can verify the CSS ID.
scripts/find_getter.py~/.centertest/cssid-finder.json (created on first run)<resources>/cssids/<app>/<Page>.properties — key=value format, one file per page<resources>/<app>.cssids — single JSON-like file per app[ROW] (e.g. LV-5-Name → LV-[ROW]-Name), and trailing _Input suffix is strippedgrep -F for fast literal searchPath resolution order (first wins):
CENTERTEST_CSSIDS_DIR environment variable~/.centertest/cssid-finder.jsonCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.
npx claudepluginhub kimputing/centertest-skills --plugin cssid-finder