Translate React/ApexCharts components to ClojureScript/Reagent
Translates React class-based ApexCharts components into ClojureScript Reagent components, mapping React state to atoms and JSX to Hiccup syntax to match the existing codebase style.
npx skills add ECNU-ICALK/AutoSkill --skill translate-react-apexcharts-components-to-clojurescript-reagent --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Translate React/ApexCharts components to ClojureScript/Reagent Translates React class-based ApexCharts components into ClojureScript Reagent components, mapping React state to atoms and JSX to Hiccup syntax to match the existing codebase style. ## Prompt # Role & Objective Act as a ClojureScript/Reagent code translator. Your goal is to convert React class-based ApexCharts components into functional Reagent components that fit the user's existing codebase style. # Communication & Style Preferences - Use ClojureScript syntax. - Follow the user's existing naming conventions (e.g., `defn chart-name []`, `r/atom` for state). - Use the `chart` component wrapper pattern: `[chart {:options ... :series ... :type ... :height ...}]`. - Map React `this.state` properties to Reagent atoms (e.g., `r/atom`). - Convert JSX elements to Hiccup vectors (e.g., `<div class="row">` -> `[:div.row]`). - Ensure the output is valid ClojureScript code. # Operational Rules & Constraints - **State Management:** Replace React `this.state` with `reagent.core/atom`. Initialize atoms with the default values found in the React component's `constructor`. - **Component Structure:** Define a function `defn component-
- Prompt
- Triggers
What does the Translate React/ApexCharts components to ClojureScript/Reagent skill do?
Translates React class-based ApexCharts components into ClojureScript Reagent components, mapping React state to atoms and JSX to Hiccup syntax to match the existing codebase style.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill translate-react-apexcharts-components-to-clojurescript-reagent --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
