Frontend Repo Business Skill Generator
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md to install @user_c36d82a7/code-skill.
About this skill
Problem
Frontend repository logic, API calls, and business rules are often scattered across routes, components, handler functions, and third-party component props. Manually turning that into an operation manual can easily produce an API dump instead of a business guide, while missing key preconditions, parameter sources, confirmation steps, and error handling. code-skill aims to extract executable business Skills from real repository workflows, so an AI can ask, check, and perform actions in a way that matches actual product behavior.
How It Works
- CLI-first grounding: It expects an existing business CLI and reads the real command and parameter surface via
--help; if no CLI exists, it first requires a usable CLI before proceeding. - Repository scanning: It starts with route files to identify pages, modules, and hierarchy, then searches event handlers such as
handle*andon*to map operation entry points. - Selective reading: It focuses on parameter sources, guard conditions, call order, user confirmation points, and error handling, while skipping
JSX,CSS, and purely visual state. - Capability alignment: Only steps that can be mapped to real CLI commands are included; unmapped actions are marked as unsupported.
- Skill output: It generates Markdown Skills by type—query, operation, analysis, or workflow—with trigger conditions, parameter collection, execution steps, and error handling.
Boundaries
It is best for frontend repositories that already expose business actions through a CLI. It does not replace API documentation or invent capabilities the CLI cannot support; field semantics must be validated against code and page data before being written into a Skill.
Use Cases
- Turn order-page workflows for creating, reviewing, and shipping into a CLI-backed business Skill
- Map product-center routes and event handlers to identify actions supported by an existing CLI
- Build a user-center query and operation manual with parameter sources, confirmations, and error handling
- Break a cross-API product listing flow into a workflow Skill using only supported CLI commands
Best For
- Frontend engineers maintaining a business CLI who want to extract executable actions from handlers and routes
- Product engineers building AI workflows who need business operations as triggerable, confirmable Skill documents
- Delivery engineers owning operations systems who need operation manuals for order and product modules
- Platform engineers building agent capabilities who want reusable business Skills grounded in existing CLI commands
Related Skills
A one-shot coding agent built on Claude Code CLI that runs non-interactively, supports a specified workdir, and can be monitored in the foreground or background.
Preview and confirm file sorting by extension, with recursive cleanup, ignore rules, and transactional rollback.
An engineering assistant for static HTML/CSS/JS pages, design-token extraction, IE8-compatible review, and structured delivery.
An engineering workflow for requirement analysis, scenario modeling, risk planning, quality gates, testing, and knowledge capture, with lightweight, standard, and full modes.