com um clique
upgrading-stylelint
Upgrades a project’s Stylelint version or configuration
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Upgrades a project’s Stylelint version or configuration
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
| name | upgrading-stylelint |
| description | Upgrades a project’s Stylelint version or configuration |
| license | MIT |
Comprehensive project and dependencies review to identify needed changes to upgrade this project to a new Stylelint version, including stylesheet code changes, and potential opt-in improvements based on any changes in the Stylelint release.
To detect from the context or request from the user if unclear:
node --version, npm info . devDependencies)npm info . devDependencies)npm run.Always fetch latest information from the official Stylelint docs and any package docs if possible.
Combine it with project-specific information:
CONTRIBUTING.md or other docs.Upgrades are sensitive tasks, it’s critical to provide clear information to the user throughout the upgrade tasks, with clear requests for any extra input. And as a comprehensive report at the end.
If the current task mode is to work directly on the project code, commit regularly on a new branch unless otherwise noted by project instructions.
Commit for:
Push if allowed from current permissions or after user confirmation, when:
Options to check that the upgrade works correctly, to use as needed through upgrade steps:
Look for any deprecation warnings coming from Stylelint in particular.
package.json and lockfile)At this stage, if there are multiple Stylelint versions on the upgrade path, make sure that all subsequent work is done in sequence for every one of those versions. For example, upgrading from Stylelint v14 to v16 should involve running through all the steps in this file with v15 as the target; then asking the user to confirm the successful v15 upgrade; then restarting this all from v15 to v16.
upgrade-stylelint-vX)This may need to be done in a different order depending on whether dependency compatibility issues are reported when upgrading to the new Stylelint version.
npm info . devDependencies to confirm the current versions of all of the project’s dependencies ahead of the upgrades.npm install --save-dev stylelint@<version> to install the target Stylelint version, including any other packages relevant to that project.Note any warnings or errors from npm or from the project’s QA tools. Those might indicate further actions needed for the upgrades to be successful. Those might require moving on to the subsequent steps to resolve.
This is crucial for the success of the upgrade. The upgrade of Stylelint or of related packages may include changes to linting rules, which might surface new issues with the project.
--fix lax to attempt automated fixes if any are available.