bookforge-data-organization-refactoringApply the correct data organization refactoring when code smells in data structure design are diagnosed — Primitive Obsession, Data Clumps, Data Class, or ra...
Install via ClawdBot CLI:
clawdbot install quochungto/bookforge-data-organization-refactoringGrade Fair — based on market validation, documentation quality, package completeness, maintenance status, and authenticity signals.
Potentially destructive shell commands in tool definitions
eval (Calls external URL not in known-safe list
https://github.com/bookforge-ai/bookforge-skills/tree/main/books/refactoring/skiAudited Apr 20, 2026 · audit v1.0
Generated May 10, 2026
An e-commerce application has customer address fields (street, city, zip) repeatedly passed as method parameters and stored across multiple classes. Extract them into a reusable Address object to reduce duplication and enable validation formatting behavior.
A medical records system stores systolic and diastolic blood pressure as raw integers in patient records. Encapsulate them into a BloodPressure class that provides methods like isNormal() and compareTo(), improving code clarity and safety.
A banking application uses the literal 0.05 in multiple places to represent an interest rate. Replace it with a symbolic constant INTEREST_RATE, centralizing changes and making the code self-documenting.
A game engine represents 2D coordinates as an array [x, y], leading to index confusion and bugs. Replace Array with Object by creating a Point class with named fields x and y and methods like distanceTo().
A logistics system maintains bidirectional links between Shipment and DeliveryVehicle, but one direction is rarely used, causing memory overhead and update complexities. Change to unidirectional association, keeping only the direction needed.
Offer refactoring services to companies with aging codebases, using this skill to clean up data structures and reduce technical debt, billed hourly or per project.
Conduct workshops teaching teams how to apply data organization refactoring using real-world examples from their industry, generating revenue through per-attendee fees or enterprise contracts.
Build a plugin for IDEs like IntelliJ or VS Code that automatically detects data smells and suggests these refactorings, distributed as a subscription-based premium add-on.
💬 Integration Tip
Plan to incrementally apply refactorings in small, reversible steps with thorough regression testing. Pair with code smell detection tools to prioritize the most impactful changes.
Scored May 10, 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.
Coding style memory that adapts to your preferences, conventions, and patterns for consistent coding.
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.