fec-refactoring-functionsUse when behavior-preserving frontend refactoring focuses on function structure, naming, parameters, shared context, or phase boundaries, and the selected technique needs family-specific mechanics, risks, and JavaScript/TypeScript/React/Vue adaptation.
Install via ClawdBot CLI:
clawdbot install bovinphang/fec-refactoring-functionsGrade Limited — based on market validation, documentation quality, package completeness, maintenance status, and authenticity signals.
Calls external URL not in known-safe list
https://github.com/bovinphang/frontend-craftAudited Sep 29, 2026 · audit v1.0
Generated Sep 29, 2026
An engineering team inherits a React dashboard where one component mixes data fetching, chart configuration, and JSX layout. They apply Extract Function to pull each concern into small named helpers, verifying rendering after each step. The refactoring improves readability without changing any UI behavior.
A Vue 3 migration reveals multiple components with near-identical click and input handlers that drifted over time. Using Introduce Parameter Object and Extract Function, the team unifies the logic into shared composables, preserving the existing event payloads. This reduces bug surface while keeping each component's template unchanged.
A legacy JavaScript codebase is being incrementally typed with TypeScript. Before adding types, developers use Replace Temp with Query and Inline Function to simplify functions that misuse mutable state. Each technique is applied with a diff budget and tests re-run after every step.
A team building a shared React form library notices validation logic embedded in individual field components. They extract pure validation functions and apply Slide Statements to group related logic. This produces framework-agnostic helpers that can be reused in Vue and React apps.
Before halting feature work for a release, a fintech team performs behavior-preserving refactorings on critical transaction UI functions. They use Extract Function and Replace Nested Conditional with Guard Clauses, checking coverage for each touched behavior. The result is a simpler codebase with lower risk for the upcoming release.
A company offers a free CLI and editor plugin that suggests function-level refactorings based on static analysis, with a paid tier for team dashboards, custom rules, and CI integration. The skill package powers the recommendation engine and technique explanations. Revenue comes from per-seat subscriptions for the premium tier.
A consultancy uses this skill package as the backbone of workshops and audits that teach behavior-preserving refactoring in JavaScript/TypeScript and React/Vue codebases. Clients pay for on-site or remote training sessions, codebase assessments, and follow-up coaching. Revenue is project-based and retainer-based.
A platform embeds the refactoring techniques and preservation checkpoints into its code review and CI pipeline. Engineering organizations pay an annual license based on repository count or developer seats to get automated refactoring suggestions, compliance checks, and audit trails. Revenue is annual license and support contracts.
💬 Integration Tip
Integrate into pull request workflows by requiring a diff budget and immediate verification after each technique. Use it alongside test coverage tools to avoid assuming passing tests prove behavior preservation.
Scored Sep 29, 2026
Control desktop applications on Windows — launch, close, focus, resize, move windows, simulate keyboard/mouse input, manage processes, control VSCode, read clipboard, and capture screen info. Use when the user wants to interact with any running program, switch windows, type text, press shortcuts, open files in VSCode, manage running processes, or get system display information.
Conduct rigorous, adversarial code reviews with zero tolerance for mediocrity. Use when users ask to "critically review" my code or a PR, "critique my code", "find issues in my code", or "what's wrong with this code". Identifies security holes, lazy patterns, edge case failures, and bad practices across Python, R, JavaScript/TypeScript, SQL, and front-end code. Scrutinizes error handling, type safety, performance, accessibility, and code quality. Provides structured feedback with severity tiers (Blocking, Required, Suggestions) and specific, actionable recommendations.
Pragmatic coding standards for writing clean, maintainable code — naming, functions, structure, anti-patterns, and pre-edit safety checks. Use when writing new code, refactoring existing code, reviewing code quality, or establishing coding standards.
Claude Code integration for OpenClaw. This skill provides interfaces to: - Query Claude Code documentation from https://code.claude.com/docs - Manage subagents and coding tasks - Execute AI-assisted coding workflows - Access best practices and common workflows Use this skill when users want to: - Get help with coding tasks - Query Claude Code documentation - Manage AI-assisted development workflows - Execute complex programming tasks
Plan, draft, version, and refine written content with enforced versioning and quality audits.
Use when writing tests, creating test strategies, or building automation frameworks. Invoke for unit tests, integration tests, E2E, coverage analysis, performance testing, security testing.