con un clic
ag-update
Update AG Grid and/or AG Charts to a newer version
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Update AG Grid and/or AG Charts to a newer version
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
Test skill that asks nothing and just states a fact. Use when asked to run the state-a-fact skill.
Apply the project's API rate-limit configuration. Use when asked to apply or update the API rate limit.
Test skill that prints progress lines and then asks one question. Use when asked to run the narrate-then-ask skill.
Test skill that asks three questions in order. Use when asked to run the ask-three-questions skill.
Test skill. Asks the user one question then confirms. Use when asked to run the single-question skill.
Test skill that asks only for a name. Use when asked to run the ask-name-only skill.
| name | ag-update |
| description | Update AG Grid and/or AG Charts to a newer version |
Tell the user "Welcome to the AG Update skill. Let's start by gathering some context on your application"
VERSION.md in this skill folder. Fetch the latest: https://raw.githubusercontent.com/ag-grid/skills/main/skills/ag-update/VERSION.md.npx skills update ag-grid/skills. Ask the user if they'd like to continue with this old skill version, suggesting they type "continue" to do so.npx skills update ag-grid/skills before resuming. Stop. The skill invocation is now finished. Regardless of the user response, do not follow any of the other instructions in this file.AG_UPDATE_*.md in the current directoryAG_UPDATE_*.md filesThis section populates the AG_UPDATE_SCOPE.md file
determine-scope.md. If you have access to sub-agents, give that file path to a sub-agent and ask it to report the results to you. Otherwise follow the steps yourself. If this skill was invoked with instructions to upgrade specific projects, pass that to the sub agent.npm view ag-grid-community version and/or npm view ag-charts-community version## Projects to update record the projects and dependencies in exactly the same 2-level markdown list format as it was generated in, removing any projects that the user indicated that they did not want to update. Under ## Target versions record the target version of grid and/or charts to update to.The earliest supported major version to migrate from is 25 for grid and 8 for charts. If the application uses earlier versions, stop the skill execution and tell the user why (it is because this skill only has change information going back to these versions).
This stage populates the AG_UPDATE_CHANGES.md file
determine-changes.md. If you have access to sub-agents, give that file path to a sub-agent and it will write the results to AG_UPDATE_CHANGES.md. Otherwise follow the steps yourself. Pass the sub-agent the path to AG_UPDATE_SCOPE.mdFor behaviour changes there is a choice about whether to do nothing and accept the change, or apply a mitigation to restore the old behaviour. The user must make this decision.
# Validation with the text content "All changes marked "BEHAVIOUR" are optional changes that the user has decided to apply. Double-check, using a sub-agent if available, that they have all been applied because tests/typechecking may not fail if the change has not been applied."Tell the user that the file is now ready to apply and give them the path to AG_UPDATE_CHANGES.md.
Show this text verbatim:
For best results we suggest that you start a new agent session or clear the context of this one, and prompt your agent to plan an update based on the changes listed in AG_UPDATE_CHANGES.md.
This skill is under active development, please report issues to https://github.com/ag-grid/skills/issues or report your results and share ideas at https://github.com/ag-grid/skills/discussions