بنقرة واحدة
update-polaris-configs
Update Workflows and Insights opportunity configuration fixtures
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Update Workflows and Insights opportunity configuration fixtures
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Run affected tests, typecheck, and lint (with autofix) to catch CI failures locally before pushing. Use when CI is failing or before pushing to avoid CI failures. Offers to fix typecheck/test failures and to amend+push when clean.
Create a GitHub PR for the current branch with auto-generated description. Use when the user asks to create a pull request, open a PR, or put up changes for review.
Create a Linear ticket for the current branch on the One Big Team, auto-assigning the appropriate Linear project and team/product labels based on which part of the codebase changed. Use when the user asks to create a Linear ticket, file a Linear issue, or track work in Linear for changes on the current branch.
Render, read, and add component examples in the examples renderer. Files take two forms — colocated `*.examples.tsx` (e.g. `Checkbox.examples.tsx` next to `Checkbox.tsx`) or grouped `examples/*.tsx` (e.g. `Checkbox/examples/Default.tsx`). Covers exact iframe URLs per example, story-id derivation, multi-worktree-aware server discovery, file conventions, and the onboarding gate. Onboarded products (the authoritative validation list — only invoke this skill when the work touches one of these): `apps/staff/`. Verify at runtime with `nx show projects --with-target examples`. Use to render, screenshot, inspect, or extend an example in an onboarded product. For anything outside the onboarded list, this skill does not apply.
Create a Storybook story for a component. Use when the user asks to add a story, write a story, or create a Storybook story for a component.
Go through a PR's review comments one by one, propose solutions, and commit fixes. Use when the user wants to address PR feedback, review comments, or resolve PR review requests.
استنادا إلى تصنيف SOC المهني
| name | update-polaris-configs |
| description | Update Workflows and Insights opportunity configuration fixtures |
| disable-model-invocation | true |
This skill automates updating Workflows and Insights configuration fixtures from downloaded zip files and creates PRs with the changes.
GITHUB_USERNAME=$(gh api user --jq '.login')
Ensure you are on main and up to date, then create a new branch:
git checkout main && git pull
git checkout -b $GITHUB_USERNAME/workflows-insights-configs
Check that ~/Downloads/workflows_configs.zip and ~/Downloads/insights_configs.zip
and that they were both downloaded in the last 24 hours. If not, prompt the user to open
their staging dashboard profile at "https://dashboard-staging.recidiviz.org/profile" and
download the files.
Then unzip them:
unzip ~/Downloads/workflows_configs.zip -d ./apps/staff/tools/fixtures/opportunities
unzip ~/Downloads/insights_configs.zip -d ./libs/datatypes/src/config/InsightsConfig/fixtures
Use the commit skill to commit all changes. Suggest the commit message:
[Workflows][Insights] Update Workflows and Insights configuration fixtures
Use the create-pr skill to create a PR with the changes. Skip step 6 and 9
completely. For step 8, use the PR description "Updating Workflows and Insights configs
as per oncall responsibility.