← all plugins

Elegant Opencode

by @grvpanchal · plugin · 18 skills

Elegant Opencode from grvpanchal/elegant-opencode.

Install the whole plugin (CLI)
npx skillmds add grvpanchal/ui-atom npx skillmds add grvpanchal/ui-theme npx skillmds add grvpanchal/server-api npx skillmds add grvpanchal/state-ajax npx skillmds add grvpanchal/state-crud npx skillmds add grvpanchal/state-saga npx skillmds add grvpanchal/server-page npx skillmds add grvpanchal/state-store npx skillmds add grvpanchal/ui-molecule npx skillmds add grvpanchal/ui-organism npx skillmds add grvpanchal/ui-skeleton npx skillmds add grvpanchal/ui-template npx skillmds add grvpanchal/state-actions npx skillmds add grvpanchal/state-reducer npx skillmds add grvpanchal/state-selectors npx skillmds add grvpanchal/server-app-shell npx skillmds add grvpanchal/server-container npx skillmds add grvpanchal/state-middleware
⬇ Download

Skills in this plugin

  1. ui-atom · grvpanchal
    Atomic-design guidance for UI Atoms — the smallest single-purpose building blocks (buttons, inputs, icons, labels). Use when authoring or reviewing components under ui/atoms, components/atoms, or when deciding whether a component belongs at the atom level.
    0
    repo stars
  2. ui-theme · grvpanchal
    Design-token systems — semantic CSS custom properties for colours, spacing, typography, and shadows, with light/dark theme switching via `[data-theme]` overrides. Use when setting up a token catalogue, auditing components for hardcoded colours/magic numbers, or adding dark-mode support via token swaps.
    0
    repo stars
  3. server-api · grvpanchal
    API service-layer patterns — axios/fetch client with interceptors, domain-scoped service objects (UserService, ProductService), auth-token refresh, request cancellation, and error normalisation. Use when adding or reviewing HTTP call sites, organising services under api/ or services/, or centralising cross-cutting request concerns.
    0
    repo stars
  4. state-ajax · grvpanchal
    Async data-fetching patterns — Fetch vs Axios, service-layer organisation, AbortController cancellation, and integration with Redux Toolkit's createAsyncThunk for pending/fulfilled/rejected state transitions. Use when writing or reviewing HTTP call sites, standardising loading/error handling, or wiring request cancellation in effects.
    0
    repo stars
  5. state-crud · grvpanchal
    CRUD patterns for state slices — consistent `domain/create|read|update|delete` action naming, request/success/failure triples per operation, and normalised `{ byId, allIds }` entity shapes for O(1) lookups. Use when designing a new entity slice, standardising action-type names, or refactoring array-shaped state.
    0
    repo stars
  6. state-saga · grvpanchal
    Redux-Saga (generator-based) middleware for async side effects — yields declarative effects (call/put/select/takeLatest/delay) instead of imperative async code, watcher-per-slice composition, optimistic updates with rollback. Use when authoring per-slice operations.js, the rootSagas composer, or reviewing saga workers.
    0
    repo stars
  7. server-page · grvpanchal
    Page components — the thin data-fetching layer that binds a route to a template, invoking getServerSideProps/getStaticProps and passing props down. Use when creating a new route, choosing SSR vs SSG vs ISR for a page, or reviewing whether a page is doing template-level work it shouldn't.
    0
    repo stars
  8. state-store · grvpanchal
    Redux store wiring for the chota-react-saga template — single createStore, combineReducers per domain, applyMiddleware(sagaMiddleware), composeWithDevTools, and a one-line `sagaMiddleware.run(rootSaga)` at boot. Use when scaffolding the root store or auditing how slices and middleware compose.
    0
    repo stars
  9. ui-molecule · grvpanchal
    Atomic-design guidance for Molecules — functional groups of atoms (SearchBar = input + button + icon; FormField = label + input + error) with a single cohesive purpose. Use when authoring or reviewing components under ui/molecules, composing atoms, or deciding atom vs molecule vs organism.
    0
    repo stars
  10. ui-organism · grvpanchal
    Atomic-design guidance for Organisms — complex feature-level sections (Header, ProductGrid, CommentSection) that compose molecules, connect to state, handle loading/error/empty states, and own responsive layout decisions. Use when authoring components under ui/organisms or deciding molecule vs organism boundaries.
    0
    repo stars
  11. ui-skeleton · grvpanchal
    Skeleton loading placeholders — gray-shape stand-ins that mirror final content dimensions, use subtle shimmer/pulse animation, and prevent layout shift. Use when replacing generic spinners with content-shaped placeholders, reducing perceived latency on slow routes, or preventing CLS on image-heavy cards.
    0
    repo stars
  12. ui-template · grvpanchal
    Atomic-design guidance for Templates — page-level wireframes that arrange organisms into layout slots (hero/main/sidebar/footer) without fetching data. Use when authoring components under ui/templates, defining reusable page skeletons, or keeping layout decisions out of pages and organisms.
    0
    repo stars
  13. state-actions · grvpanchal
    Plain-object Redux actions for the chota-react-saga template — three-phase async triples (REQUEST / SUCCESS / ERROR) per CRUD verb, single-phase actions for sync ops, UPPER_SNAKE type constants, and explicit hand-written action creators (no createAsyncThunk).
    0
    repo stars
  14. state-reducer · grvpanchal
    Pure switch/case reducers for the chota-react-saga template — initial-state file, three-phase async cases per CRUD verb, optimistic mutations with `previousState<Items>` rollback, fall-through SUCCESS/ERROR for toggle and delete.
    0
    repo stars
  15. state-selectors · grvpanchal
    Selector functions for the chota-react-saga template — colocated with each slice, return derived view-data from the saga state shape (isLoading/isContentLoading/isActionLoading/error/<items>/<current>), filter/sort projections that combine slices (e.g. visibleTodos × selectedFilter).
    0
    repo stars
  16. server-app-shell · grvpanchal
    App Shell architecture — the cached HTML/CSS/JS skeleton (header, nav, footer) served instantly via Service Worker while dynamic content streams in. Use when building PWAs, wiring service-worker caches, inlining critical CSS, or adding offline fallbacks and skeleton loading states.
    0
    repo stars
  17. server-container · grvpanchal
    Container/presentational component split — "smart" containers connect to the store, fetch data, and orchestrate loading/error/empty states; "dumb" children just render props. Use when extracting data logic from views, introducing custom hooks, or reviewing `*Container` components.
    0
    repo stars
  18. state-middleware · grvpanchal
    Redux middleware — the `store => next => action => {}` pipeline for side effects, logging, analytics, and async (thunk/saga). Use when writing custom middleware, wiring async thunks, ordering middleware in configureStore, or keeping side effects out of reducers.
    0
    repo stars