Agent skill

Frontend UI Change Strategy

by rongxinzy in rongxinzy/RongxinAI

Analyze and implement narrowly scoped frontend UI changes in the ZhiYuan Agent project.

AGPL-3.0Auto-check passedFrontend & Design

Install Frontend UI Change Strategy

skills CLI
$ npx skills add rongxinzy/RongxinAI --skill frontend-ui-change-strategy -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install rongxinzy/RongxinAI frontend-ui-change-strategy --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/rongxinzy/RongxinAI.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.codex/skills/frontend-ui-change-strategy .claude/skills/frontend-ui-change-strategy && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
frontend-ui-change-strategy
GitHub stars
154
Token cost
~1.6k tokens
SKILL.md length
813 words
Files
2
Skills in repo
94
Repo updated
First seen
Licence
AGPL-3.0

At a glance

Analyze and implement narrowly scoped frontend UI changes in the ZhiYuan Agent project.

  • Works in 6 steps: Read Before Editing → Explain the Current Implementation → Propose a Scoped Strategy → …
  • A user requests a visual
  • SKILL.md covers Design Skill Routing, Required Workflow, ZhiYuan Agent UI Guardrails and Final Handoff
  • Calls git, npm and go

What it does

Frontend UI Change Strategy is an agent skill from rongxinzy/RongxinAI. Analyze and implement narrowly scoped frontend UI changes in the ZhiYuan Agent project. Use when a user requests a visual or layout adjustment, especially when they require code to be read first, a modification strategy to be proposed, and implementation to wait for explicit approval.

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It sits in Frontend & Design, covering Frontend development. The repository describes itself as: An all-in-one local AI Agent workspace with a fully self-developed stack. The licence is AGPL-3.0.

When your agent uses it

  • A user requests a visual
  • Layout adjustment
  • Especially when they require code to be read first
  • A modification strategy to be proposed

Example prompts

  • “/frontend-ui-change-strategy”

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Read Before Editing
  2. Explain the Current Implementation
  3. Propose a Scoped Strategy
  4. Wait for Explicit Approval
  5. Implement the Approved Strategy
  6. Verify

What it can do on your machine

Read from SKILL.md and the folder at commit 9c64865. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • npm
    • go

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git and npm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Frontend UI Change Strategy loads about 1.6k tokens when it runs. Until then it costs about 78 tokens; SKILL.md has 813 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~78
When it runs · the whole SKILL.md, loaded when a task matches
~1.6k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from rongxinzy/RongxinAI at commit 9c64865, republished under its AGPL-3.0 licence (© rongxinzy). 813 words, ~1,570 tokens.

Download SKILL.mdSave it as .claude/skills/frontend-ui-change-strategy/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
frontend-ui-change-strategy
description
Analyze and implement narrowly scoped frontend UI changes in the ZhiYuan Agent project. Use when a user requests a visual or layout adjustment, especially when they require code to be read first, a modification strategy to be proposed, and implementation to wait for explicit approval.

Frontend UI Change Strategy

Use this skill for existing ZhiYuan Agent frontend pages and components. Follow the repository's AGENTS.md and DESIGN.md rules, preserve unrelated worktree changes, and keep visual changes narrowly scoped.

Design Skill Routing

Use this skill as the project-specific entry point, then route to the optional visual skills by page type:

  • For Work, Chat, Settings, MCP, Skills, local inference, and other product surfaces, follow DESIGN.md, the shared UI components, and rongxinai-ui-adapter. The marketing-page rules in the taste skills are not global defaults.
  • For landing pages, marketing pages, portfolios, brand surfaces, or redesigns, read design-taste-frontend before forming the design read and scoped strategy.
  • When the brief explicitly requests premium visual treatment or complex motion, also read high-end-visual-design and use it as a reference for direction and choreography.
  • Both optional skills are advisory. Resolve conflicts in this order: AGENTS.md / DESIGN.md, project UI skills, design-taste-frontend, then high-end-visual-design.
  • Do not install a font, icon library, animation library, or other dependency solely because an optional skill mentions it. Follow the repository's dependency approval rules.

Required Workflow

1. Read Before Editing

Before changing code:

  • Read AGENTS.md and DESIGN.md when the task concerns ZhiYuan Agent UI.
  • Inspect the page entry point, relevant parent layout, target component, shared UI components, i18n keys, and tests.
  • Use rg to locate visible copy, state, event handlers, and style classes.
  • Check git status --short and inspect existing diffs for files that may be modified by the user.
  • If an image or screenshot is supplied, map the highlighted visual region to the smallest responsible DOM element and class.

Do not edit during this phase.

2. Explain the Current Implementation

Report:

  • The exact file and approximate line containing the target UI.
  • The relevant DOM hierarchy and layout relationships.
  • The state, event, or component behavior that must remain unchanged.
  • The class, token, or shared component responsible for the current visual behavior.
  • Any responsive or dark-mode implications.

Distinguish confirmed code facts from visual inference.

3. Propose a Scoped Strategy

Give a concrete patch strategy before implementation:

  • Name the exact class, prop, wrapper, or component to change.
  • Prefer a one-file, minimal-diff adjustment when the target is local.
  • Reuse existing shadcn/ui or ai-elements components; do not create replacement buttons, selects, tabs, dialogs, or tooltips.
  • Preserve i18n, callbacks, state, IPC, pagination, and data flow unless the request explicitly changes behavior.
  • Use semantic theme tokens and existing Tailwind scale values. Avoid hardcoded colors, arbitrary spacing, and unrelated refactors.
  • Account for responsive wrapping, focus-visible, disabled, hover, and dark-mode behavior.
  • State whether tests or visual verification should be added or run.

For ambiguous visual requests, present the recommended interpretation and briefly name the main alternative. Do not silently change interaction patterns when the request only asks for styling or position.

4. Wait for Explicit Approval

Stop after the strategy and wait for approval. Treat direct confirmations such as 批准, 执行, 实施, 部署该修改, ok, or go ahead as approval.

Do not edit merely because the user described a target. Do not treat a request for analysis or strategy as approval.

Show full SKILL.md (314 more words)Show less
5. Implement the Approved Strategy

After approval:

  • Announce the exact files and limited scope before editing.
  • Use apply_patch for manual edits.
  • Work with existing user changes; never reset, checkout, or overwrite unrelated modifications.
  • Keep visible strings in src/renderer/services/i18n.ts with both Chinese and English keys.
  • Use existing constants for discriminants and selectors when values are compared or reused.
  • Keep code formatting consistent with the repository.
  • Add concise comments that explain non-obvious reasoning, state transitions, or constraints introduced by the change; do not narrate self-evident code.
6. Verify

Run the narrowest relevant verification first:

  • git diff --check
  • The co-located Vitest test for the changed component or module.
  • npm run lint and npm run build when the change is broad enough to justify them.
  • For UI changes, inspect the affected flow manually or use the project's browser/dev server tooling when available. Check desktop and narrow layouts, light and dark themes, and focus/disabled states when relevant.

Report passed checks and any verification that could not be run. Do not claim visual verification without actually performing it.

ZhiYuan Agent UI Guardrails

  • Follow DESIGN.md: semantic tokens, system fonts, approved type scale and weights, standard spacing, 1px borders, restrained shadows, and short opacity/transform transitions.
  • Prefer bg-background, bg-card, bg-muted, text-foreground, text-muted-foreground, border-border, and project --zy-* tokens over literal colors.
  • Prefer existing FluidTabs, shadcn Select, Button, Card, Dialog, Tooltip, and related components where already used by the page.
  • Use cn() for conditional classes and lucide-react for icons.
  • Keep the primary action visible; do not hide essential controls behind hover-only affordances.
  • Preserve stable dimensions and avoid layout shifts when loading, filtering, paginating, or switching views.
  • Do not add a new animation when an existing shared animation or a simple transition expresses the change.

Final Handoff

Keep the final response concise. Include the changed file and behavior, verification results, and any remaining limitation. Mention pre-existing worktree changes only when they affect interpretation of the diff.

© rongxinzy, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in .codex/skills/frontend-ui-change-strategy of rongxinzy/RongxinAI.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit 9c64865

Compare with similar skills

Frontend UI Change Strategy next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Frontend UI Change Strategy compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Frontend UI Change Strategy this skillrongxinzy/RongxinAI154—~1.6kAutomated safety check: PassAGPL-3.0
React Router Developmentremix-run/react-router57k1 repos~1.5kAutomated safety check: PassMIT
React UI State PatternsChrisWiles/claude-code-showcase6.1k8 repos~1.6kAutomated safety check: PassNone
GSAP in Vue, Nuxt and Sveltegreensock/gsap-skills16k3 repos~2.6kAutomated safety check: PassMIT
Svelte Core Best Practicesrilldata/rill2.9k4 repos~1.8kAutomated safety check: PassApache-2.0
Vuetify Playgroundvuetifyjs/vuetify41k—~730Automated safety check: PassCustom licence

Similar skills

  • React Router Development

    remix-run/react-router

    Guides work on React Router apps by first identifying whether the app uses Framework, Data or Declarative mode, then loading the matching reference and the installed package docs.

    57k GitHub starsUsed in 1 repo~1.5k tokens
    Frontend & DesignAuto-check passed
  • React UI State Patterns

    ChrisWiles/claude-code-showcase

    Sets patterns for React interfaces: when to show loading spinners or skeletons, how to surface errors, how to disable buttons during async work and how to handle empty lists.

    6.1k GitHub starsUsed in 8 repos~1.6k tokens
    Frontend & DesignAuto-check passed
  • GSAP in Vue, Nuxt and Svelte

    greensock/gsap-skills

    Shows how to use GSAP in Vue, Nuxt, Svelte and other lifecycle-based frameworks: create after mount, scope selectors to the component, and revert on unmount.

    16k GitHub starsUsed in 3 repos~2.6k tokens
    Frontend & DesignAuto-check passed
  • Rules for writing idiomatic Svelte 5 code: when to reach for runes like state, derived and effect, and how to handle props, attachments and bindings.

    2.9k GitHub starsUsed in 4 repos~1.8k tokens
    Frontend & DesignAuto-check passed
  • Vuetify Playground

    vuetifyjs/vuetify

    Maintains the Vuetify repo's local Playground.vue so contributors get a realistic reproduction and a short demo they can paste into a pull request description.

    41k GitHub stars~730 tokensUpdated today
    Frontend & DesignAuto-check passed
  • Starts the right Tabler dev server, keeps it from clashing with builds and verifies changes in the browser before a page or component is handed back.

    42k GitHub stars~1.2k tokensUpdated yesterday
    Frontend & DesignAuto-check passed

More from rongxinzy/RongxinAI

All 94 skills in this repo
  • SaaS Metrics Coach

    rongxinzy/RongxinAI

    SaaS financial health advisor. An agent skill from rongxinzy/RongxinAI.

    154 GitHub starsUsed in 2 repos~1.3k tokens
    Auto-check passed
  • Churn Prevention

    rongxinzy/RongxinAI

    Reduce voluntary and involuntary churn through cancel flow design, save offers, exit surveys, and dunning sequences.

    154 GitHub starsUsed in 3 repos~2.6k tokens
    Auto-check passed
  • Presentation Studio

    rongxinzy/RongxinAI

    The only skill for creating a new PowerPoint deck. An agent skill from rongxinzy/RongxinAI.

    154 GitHub stars~2.1k tokensUpdated yesterday
    Auto-check passed
  • Zhiyuan Expert Manager

    rongxinzy/RongxinAI

    ZhiYuan Agent expert package lifecycle manager for the pi engine.

    154 GitHub stars~1.9k tokensUpdated yesterday
    Auto-check passed
  • Ziwei Doushu

    rongxinzy/RongxinAI

    Professional Ziwei Doushu consultation skill with an offline calculation engine.

    154 GitHub stars~746 tokensUpdated yesterday
    Auto-check passed
  • Lark Mail

    rongxinzy/RongxinAI

    飞书邮箱:Use when user mentions 起草邮件、写邮件、草稿、发送/回复/转发邮件、查阅邮件、看邮件、搜索邮件、邮件文件夹、邮件标签、邮件联系人、监听新邮件、邮件收信规则等;use for mail/email intent only.

    154 GitHub starsUsed in 3 repos~4.1k tokens
    Auto-check: warnings

Questions about Frontend UI Change Strategy

What does Frontend UI Change Strategy do?

Analyze and implement narrowly scoped frontend UI changes in the ZhiYuan Agent project. Frontend UI Change Strategy is an agent skill from rongxinzy/RongxinAI. Analyze and implement narrowly scoped frontend UI changes in the ZhiYuan Agent project.

When should I use Frontend UI Change Strategy?

Frontend UI Change Strategy fits situations like: A user requests a visual; layout adjustment; especially when they require code to be read first; A modification strategy to be proposed.

How do I install Frontend UI Change Strategy in Claude Code?

Run `npx skills add rongxinzy/RongxinAI --skill frontend-ui-change-strategy -a claude-code`. Or copy the skill folder (.codex/skills/frontend-ui-change-strategy in rongxinzy/RongxinAI) into .claude/skills/frontend-ui-change-strategy in your project. Claude Code loads it when a task matches its description.

How do I install Frontend UI Change Strategy in Codex?

Run `npx skills add rongxinzy/RongxinAI --skill frontend-ui-change-strategy -a codex`. Or copy the skill folder (.codex/skills/frontend-ui-change-strategy in rongxinzy/RongxinAI) into .agents/skills/frontend-ui-change-strategy in your project. Codex loads it when a task matches its description.

Can I use Frontend UI Change Strategy in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add rongxinzy/RongxinAI --skill frontend-ui-change-strategy -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/frontend-ui-change-strategy, .gemini/skills/frontend-ui-change-strategy, .github/skills/frontend-ui-change-strategy and .opencode/skills/frontend-ui-change-strategy in your project.

What does Frontend UI Change Strategy need to run?

Going by SKILL.md and its folder, Frontend UI Change Strategy needs the command-line tools its instructions call (git, npm and go).

Does Frontend UI Change Strategy access the network?

SKILL.md contains no URLs. Its commands use git and npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Frontend UI Change Strategy safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Frontend UI Change Strategy use?

Frontend UI Change Strategy is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Frontend UI Change Strategy use?

About 1.6k tokens (SKILL.md is roughly 6.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Frontend UI Change Strategy?

Skills that share tags, products or a category with Frontend UI Change Strategy: React Router Development (remix-run/react-router, 57k stars), React UI State Patterns (ChrisWiles/claude-code-showcase, 6.1k stars), GSAP in Vue, Nuxt and Svelte (greensock/gsap-skills, 16k stars) and Svelte Core Best Practices (rilldata/rill, 2.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Frontend UI Change Strategy?

rongxinzy (a GitHub organization) maintains it in rongxinzy/RongxinAI, which has 154 GitHub stars. The repository holds 94 skills in this directory. The repository was last updated on October 10, 2026.

Source: rongxinzy/RongxinAI on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.