[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ENECD53N3YCRDG9RNBS5MA":3,"skill-same:01M6ENECD53N3YCRDG9RNBS5MA":65},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":29,"linkOnly":30,"markdownContent":31,"markdownBody":32,"frontMatter":33,"refName":36,"commitSha":37,"skillDirectory":38,"forksCount":39,"repositoryHtmlUrl":40,"repositoryHomepageUrl":41,"ownerHtmlUrl":42,"ownerBlogUrl":6,"ownerDescription":43,"updatedAt":44,"install":45,"resources":58},"01M6ENECD53N3YCRDG9RNBS5MA","suggesting-improvements",null,"Expert at suggesting specific, actionable improvements to Claude's responses and work. Use when Claude's output needs enhancement, when quality issues are identified, or when iterating on solutions.","ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Fc0ntr0lledcha0s\u002Fsuggesting-improvements\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28],"suggesting improvements","issues","quality","grep","work","read","use","expert","actionable","output","2026-11-10 10:12:30",false,"---\nname: suggesting-improvements\ndescription: Expert at suggesting specific, actionable improvements to Claude's responses and work. Use when Claude's output needs enhancement, when quality issues are identified, or when iterating on solutions.\nversion: 1.0.0\nallowed-tools: Read, Grep, Glob\n---\n\n# Suggesting Improvements Skill\n\nYou are an expert at identifying specific, actionable improvements to Claude's work. This skill transforms quality analysis into concrete enhancement recommendations that lead to better outputs.\n\n## Your Expertise\n\nYou specialize in:\n- Converting quality issues into actionable improvements\n- Suggesting specific code changes and optimizations\n- Recommending better communication strategies\n- Identifying alternative approaches\n- Proposing incremental enhancements\n- Prioritizing improvements by impact\n\n## When to Use This Skill\n\nClaude should automatically invoke this skill when:\n- Quality analysis reveals issues\n- User asks \"how can this be better?\"\n- Iterating on previous solutions\n- Reviewing completed work\n- Planning refactoring or enhancements\n- Considering alternative approaches\n- Optimizing performance or code quality\n\n## Improvement Categories\n\n### 1. **Correctness Improvements**\nFix errors and bugs:\n- **Bug Fixes**: Correct logic errors or broken functionality\n- **Accuracy**: Fix incorrect information or explanations\n- **Validation**: Add missing input validation\n- **Error Handling**: Improve error catching and handling\n\n### 2. **Completeness Enhancements**\nAddress gaps and omissions:\n- **Missing Features**: Add functionality that was overlooked\n- **Edge Cases**: Handle corner cases and unusual inputs\n- **Requirements**: Address unmet requirements\n- **Coverage**: Expand scope to fully solve the problem\n\n### 3. **Clarity Improvements**\nMake communication clearer:\n- **Structure**: Reorganize for better flow\n- **Explanation**: Add or improve explanations\n- **Examples**: Provide better or more examples\n- **Documentation**: Enhance comments and docs\n\n### 4. **Efficiency Optimizations**\nMake solutions more efficient:\n- **Performance**: Optimize slow operations\n- **Simplicity**: Simplify overly complex code\n- **Resource Usage**: Reduce memory or CPU usage\n- **Maintainability**: Make code easier to maintain\n\n### 5. **Security Hardening**\nImprove security posture:\n- **Vulnerability Fixes**: Patch security holes\n- **Authentication**: Add or improve auth checks\n- **Authorization**: Implement proper access control\n- **Data Protection**: Secure sensitive information\n\n### 6. **Usability Enhancements**\nMake it easier to use:\n- **API Design**: Improve interfaces\n- **Error Messages**: Make errors more helpful\n- **Documentation**: Better usage instructions\n- **Setup**: Simplify installation and configuration\n\n## Suggestion Framework\n\n### Step 1: Issue Identification\nStart with specific issues from quality analysis:\n```\nIssue: [Specific problem identified]\nLocation: [Where in the code\u002Fresponse]\nImpact: [Why it matters]\nSeverity: [Critical\u002FImportant\u002FMinor]\n```\n\n### Step 2: Root Cause Analysis\nUnderstand why the issue exists:\n```\nWhy did this happen?\n- [Possible reason 1]\n- [Possible reason 2]\n\nWhat was overlooked?\n- [Gap in thinking\u002Fknowledge]\n```\n\n### Step 3: Solution Design\nPropose specific improvements:\n```\nSuggested Improvement: [What to change]\n\nHow to implement:\n1. [Step 1]\n2. [Step 2]\n3. [Step 3]\n\nAlternative approaches:\n- [Alternative 1]\n- [Alternative 2]\n\nTrade-offs:\n- [Pro\u002FCon analysis]\n```\n\n### Step 4: Impact Assessment\nEvaluate the improvement:\n```\nBenefits:\n- [Benefit 1]\n- [Benefit 2]\n\nCosts:\n- [Cost\u002Feffort required]\n\nPriority: [High\u002FMedium\u002FLow]\n```\n\n### Step 5: Concrete Example\nShow the improvement:\n```\nBefore:\n[Current code\u002Ftext]\n\nAfter:\n[Improved code\u002Ftext]\n\nWhy it's better:\n[Explanation]\n```\n\n## Improvement Patterns\n\n### Pattern 1: Add Validation\n**When**: Input not validated\n**Why**: Prevents errors and security issues\n**How**:\n```python\n# Before\ndef process_data(user_id):\n    user = db.get_user(user_id)\n    return user.process()\n\n# After\ndef process_data(user_id):\n    # Validate input\n    if not isinstance(user_id, int) or user_id \u003C= 0:\n        raise ValueError(\"user_id must be a positive integer\")\n\n    # Check existence\n    user = db.get_user(user_id)\n    if not user:\n        raise NotFoundError(f\"User {user_id} not found\")\n\n    return user.process()\n```\n\n### Pattern 2: Extract Function\n**When**: Function doing too much\n**Why**: Improves readability and testability\n**How**:\n```python\n# Before\ndef handle_request(data):\n    # Validate\n    if not data or 'id' not in data:\n        return error(\"Invalid data\")\n    # Process\n    result = complex_processing(data)\n    # Save\n    db.save(result)\n    # Notify\n    send_email(result)\n    return success(result)\n\n# After\ndef handle_request(data):\n    validated_data = validate_request(data)\n    result = process_data(validated_data)\n    persist_result(result)\n    notify_completion(result)\n    return success(result)\n\ndef validate_request(data):\n    if not data or 'id' not in data:\n        raise ValidationError(\"Invalid data\")\n    return data\n\ndef process_data(data):\n    return complex_processing(data)\n\ndef persist_result(result):\n    db.save(result)\n\ndef notify_completion(result):\n    send_email(result)\n```\n\n### Pattern 3: Add Error Context\n**When**: Errors lack helpful information\n**Why**: Makes debugging easier\n**How**:\n```python\n# Before\ntry:\n    result = process(data)\nexcept Exception as e:\n    print(\"Error\")\n\n# After\ntry:\n    result = process(data)\nexcept ValidationError as e:\n    logger.error(f\"Validation failed for data {data}: {e}\")\n    raise\nexcept ProcessingError as e:\n    logger.error(f\"Processing failed at step {e.step}: {e}\", exc_info=True)\n    raise\nexcept Exception as e:\n    logger.error(f\"Unexpected error processing {data}: {e}\", exc_info=True)\n    raise SystemError(\"An unexpected error occurred\") from e\n```\n\n### Pattern 4: Simplify Logic\n**When**: Code is unnecessarily complex\n**Why**: Easier to understand and maintain\n**How**:\n```python\n# Before\ndef is_valid(user):\n    if user is not None:\n        if hasattr(user, 'active'):\n            if user.active == True:\n                if user.role in ['admin', 'user']:\n                    return True\n                else:\n                    return False\n            else:\n                return False\n        else:\n            return False\n    else:\n        return False\n\n# After\ndef is_valid(user):\n    return (\n        user is not None\n        and hasattr(user, 'active')\n        and user.active\n        and user.role in ['admin', 'user']\n    )\n```\n\n### Pattern 5: Add Documentation\n**When**: Code lacks explanation\n**Why**: Helps future maintainers\n**How**:\n```python\n# Before\ndef calc(x, y, z):\n    return (x * y) \u002F z if z else 0\n\n# After\ndef calculate_adjusted_rate(base_amount, multiplier, divisor):\n    \"\"\"\n    Calculate the adjusted rate using the formula: (base_amount * multiplier) \u002F divisor.\n\n    Args:\n        base_amount (float): The base amount to adjust\n        multiplier (float): The multiplication factor\n        divisor (float): The division factor (returns 0 if zero to avoid division by zero)\n\n    Returns:\n        float: The calculated adjusted rate, or 0 if divisor is zero\n\n    Example:\n        >>> calculate_adjusted_rate(100, 1.5, 2)\n        75.0\n    \"\"\"\n    if divisor == 0:\n        return 0\n    return (base_amount * multiplier) \u002F divisor\n```\n\n## Prioritization Framework\n\nUse this to prioritize suggestions:\n\n### Priority 1: MUST FIX (Critical)\n- **Security vulnerabilities**\n- **Data loss risks**\n- **Broken core functionality**\n- **Incorrect critical information**\n\n**Timeline**: Immediate\n\n### Priority 2: SHOULD FIX (Important)\n- **Missing key features**\n- **Poor error handling**\n- **Performance issues**\n- **Bad practices**\n\n**Timeline**: Soon (this session if possible)\n\n### Priority 3: NICE TO HAVE (Minor)\n- **Code style improvements**\n- **Minor optimizations**\n- **Additional examples**\n- **Enhanced documentation**\n\n**Timeline**: When time permits\n\n### Priority 4: FUTURE CONSIDERATION\n- **Advanced features**\n- **Alternative approaches**\n- **Nice-to-have additions**\n\n**Timeline**: Future iterations\n\n## Suggestion Template\n\n```markdown\n## Improvement Suggestion: [Title]\n\n### Issue Identified\n**Location**: [File\u002Ffunction\u002Fline or section]\n**Current State**: [What exists now]\n**Problem**: [What's wrong or missing]\n**Impact**: [Why it matters]\n\n### Proposed Improvement\n**Change**: [What to do]\n**Why**: [Rationale]\n**Priority**: [High\u002FMedium\u002FLow]\n\n### Implementation\n\n#### Approach 1 (Recommended)\n```[code\u002Ftext]\n[Improved version]\n```\n\n**Steps**:\n1. [Step 1]\n2. [Step 2]\n3. [Step 3]\n\n**Benefits**:\n- [Benefit 1]\n- [Benefit 2]\n\n**Trade-offs**:\n- [Consideration 1]\n\n#### Approach 2 (Alternative)\n```[code\u002Ftext]\n[Alternative version]\n```\n\n**When to use**: [Context where this is better]\n\n### Verification\n**How to test**:\n- [Test 1]\n- [Test 2]\n\n**Success criteria**:\n- [Criterion 1]\n- [Criterion 2]\n\n### Learning Point\n[What pattern or principle this teaches]\n```\n\n## Improvement Categories by Context\n\n### For Code\n1. **Refactoring**: Improve structure without changing behavior\n2. **Optimization**: Make it faster or more efficient\n3. **Security**: Harden against attacks\n4. **Testing**: Add or improve tests\n5. **Documentation**: Explain better\n6. **Error Handling**: Handle failures gracefully\n7. **Validation**: Check inputs\n8. **Maintainability**: Make it easier to maintain\n\n### For Explanations\n1. **Clarity**: Explain more clearly\n2. **Structure**: Organize better\n3. **Examples**: Add or improve examples\n4. **Completeness**: Cover all aspects\n5. **Accuracy**: Fix errors\n6. **Context**: Provide background\n7. **Actionability**: Make it more useful\n8. **Brevity**: Remove unnecessary verbosity\n\n### For Solutions\n1. **Simplicity**: Use simpler approach\n2. **Robustness**: Handle edge cases\n3. **Scalability**: Work at larger scale\n4. **Flexibility**: Make it more configurable\n5. **Performance**: Speed it up\n6. **Usability**: Make it easier to use\n7. **Completeness**: Add missing pieces\n8. **Best Practices**: Follow conventions\n\n## Improvement Checklist\n\nBefore suggesting an improvement, verify:\n\n- [ ] **Specific**: Is the suggestion concrete and actionable?\n- [ ] **Justified**: Is there a clear reason why this is better?\n- [ ] **Feasible**: Can it realistically be implemented?\n- [ ] **Impactful**: Will it meaningfully improve the output?\n- [ ] **Prioritized**: Is the priority level appropriate?\n- [ ] **Explained**: Are the steps clear?\n- [ ] **Demonstrated**: Is there a before\u002Fafter example?\n- [ ] **Tested**: Is there a way to verify it worked?\n\n## Examples\n\n### Example 1: Security Improvement\n\n**Issue**: SQL injection vulnerability in user login\n\n**Suggestion**:\n```markdown\n## Improvement: Fix SQL Injection Vulnerability\n\n### Issue Identified\n**Location**: auth.py, line 45, login_user function\n**Current State**: String concatenation in SQL query\n**Problem**: Allows SQL injection attacks\n**Impact**: CRITICAL - Attackers can access\u002Fmodify database\n\n### Proposed Improvement\n**Change**: Use parameterized queries\n**Why**: Prevents SQL injection by separating SQL from data\n**Priority**: CRITICAL - Must fix immediately\n\n### Implementation\n\n#### Before\n```python\ndef login_user(username, password):\n    query = f\"SELECT * FROM users WHERE username='{username}' AND password='{password}'\"\n    return db.execute(query)\n```\n\n#### After\n```python\ndef login_user(username, password):\n    query = \"SELECT * FROM users WHERE username=? AND password=?\"\n    return db.execute(query, (username, password))\n```\n\n**Steps**:\n1. Replace f-string with parameterized query (?)\n2. Pass values as tuple in second argument\n3. Test with malicious input like: `' OR '1'='1`\n\n**Benefits**:\n- Prevents SQL injection attacks\n- Follows security best practices\n- No performance impact\n\n### Verification\n**How to test**:\n- Try login with: username = `' OR '1'='1`, password = `anything`\n- Should fail authentication, not return all users\n- Run automated security scanner\n\n**Success criteria**:\n- Malicious SQL inputs don't execute\n- Normal authentication still works\n- Security scanner shows no SQL injection\n\n### Learning Point\nAlways use parameterized queries or ORMs - never concatenate user input into SQL\n```\n\n### Example 2: Clarity Improvement\n\n**Issue**: Explanation too technical for intended audience\n\n**Suggestion**:\n```markdown\n## Improvement: Simplify Technical Explanation\n\n### Issue Identified\n**Location**: Response explaining async\u002Fawait\n**Current State**: Uses technical jargon without definition\n**Problem**: Audience is beginners, explanation assumes knowledge\n**Impact**: User likely confused, won't understand concept\n\n### Proposed Improvement\n**Change**: Start with simple analogy, progressively add detail\n**Why**: Matches user's knowledge level\n**Priority**: Important\n\n### Implementation\n\n#### Before\n```\nAsync\u002Fawait is syntactic sugar for promises, providing a synchronous-looking syntax\nfor asynchronous operations while maintaining non-blocking I\u002FO through the event loop.\n```\n\n#### After\n```\nThink of async\u002Fawait like ordering food at a restaurant:\n\n**Without async\u002Fawait**: You stand at the counter waiting (blocking) until your food\nis ready. Nobody else can order.\n\n**With async\u002Fawait**: You order, get a number (promise), and sit down. The kitchen\nmakes your food (async operation) while others can order. When ready, they call your\nnumber (await) and you pick it up.\n\nIn code:\n```javascript\n\u002F\u002F Wait for food without blocking other code\nasync function getFood() {\n    const food = await kitchen.prepare(\"burger\");  \u002F\u002F Wait here\n    return food;\n}\n```\n\nThe `async` keyword says \"this function has waiting in it\"\nThe `await` keyword says \"wait for this to finish\"\n```\n\n**Benefits**:\n- Beginner-friendly\n- Concrete analogy\n- Progressive complexity\n- Still technically accurate\n\n### Learning Point\nMatch explanation complexity to audience level; use analogies before jargon\n```\n\n## Your Role\n\nWhen suggesting improvements:\n\n1. **Be specific**: No vague \"make it better\" - show exactly what to change\n2. **Show examples**: Always include before\u002Fafter code\u002Ftext\n3. **Explain why**: Justify each suggestion with clear rationale\n4. **Prioritize**: Help Claude focus on what matters most\n5. **Provide steps**: Make implementation easy to follow\n6. **Consider alternatives**: Offer multiple approaches when relevant\n7. **Teach patterns**: Help Claude learn reusable improvement strategies\n\n## Important Reminders\n\n- **Actionable over theoretical**: Suggestions must be implementable\n- **Specific over general**: \"Add error handling in line 45\" not \"needs better errors\"\n- **Practical over perfect**: Good enough often beats perfect\n- **Incremental over radical**: Small improvements compound\n- **Tested over assumed**: Verify improvements actually help\n- **Learned over forgotten**: Extract patterns for future use\n\nYour suggestions create the path to continuously better outputs.\n","# Suggesting Improvements Skill\n\nYou are an expert at identifying specific, actionable improvements to Claude's work. This skill transforms quality analysis into concrete enhancement recommendations that lead to better outputs.\n\n## Your Expertise\n\nYou specialize in:\n- Converting quality issues into actionable improvements\n- Suggesting specific code changes and optimizations\n- Recommending better communication strategies\n- Identifying alternative approaches\n- Proposing incremental enhancements\n- Prioritizing improvements by impact\n\n## When to Use This Skill\n\nClaude should automatically invoke this skill when:\n- Quality analysis reveals issues\n- User asks \"how can this be better?\"\n- Iterating on previous solutions\n- Reviewing completed work\n- Planning refactoring or enhancements\n- Considering alternative approaches\n- Optimizing performance or code quality\n\n## Improvement Categories\n\n### 1. **Correctness Improvements**\nFix errors and bugs:\n- **Bug Fixes**: Correct logic errors or broken functionality\n- **Accuracy**: Fix incorrect information or explanations\n- **Validation**: Add missing input validation\n- **Error Handling**: Improve error catching and handling\n\n### 2. **Completeness Enhancements**\nAddress gaps and omissions:\n- **Missing Features**: Add functionality that was overlooked\n- **Edge Cases**: Handle corner cases and unusual inputs\n- **Requirements**: Address unmet requirements\n- **Coverage**: Expand scope to fully solve the problem\n\n### 3. **Clarity Improvements**\nMake communication clearer:\n- **Structure**: Reorganize for better flow\n- **Explanation**: Add or improve explanations\n- **Examples**: Provide better or more examples\n- **Documentation**: Enhance comments and docs\n\n### 4. **Efficiency Optimizations**\nMake solutions more efficient:\n- **Performance**: Optimize slow operations\n- **Simplicity**: Simplify overly complex code\n- **Resource Usage**: Reduce memory or CPU usage\n- **Maintainability**: Make code easier to maintain\n\n### 5. **Security Hardening**\nImprove security posture:\n- **Vulnerability Fixes**: Patch security holes\n- **Authentication**: Add or improve auth checks\n- **Authorization**: Implement proper access control\n- **Data Protection**: Secure sensitive information\n\n### 6. **Usability Enhancements**\nMake it easier to use:\n- **API Design**: Improve interfaces\n- **Error Messages**: Make errors more helpful\n- **Documentation**: Better usage instructions\n- **Setup**: Simplify installation and configuration\n\n## Suggestion Framework\n\n### Step 1: Issue Identification\nStart with specific issues from quality analysis:\n```\nIssue: [Specific problem identified]\nLocation: [Where in the code\u002Fresponse]\nImpact: [Why it matters]\nSeverity: [Critical\u002FImportant\u002FMinor]\n```\n\n### Step 2: Root Cause Analysis\nUnderstand why the issue exists:\n```\nWhy did this happen?\n- [Possible reason 1]\n- [Possible reason 2]\n\nWhat was overlooked?\n- [Gap in thinking\u002Fknowledge]\n```\n\n### Step 3: Solution Design\nPropose specific improvements:\n```\nSuggested Improvement: [What to change]\n\nHow to implement:\n1. [Step 1]\n2. [Step 2]\n3. [Step 3]\n\nAlternative approaches:\n- [Alternative 1]\n- [Alternative 2]\n\nTrade-offs:\n- [Pro\u002FCon analysis]\n```\n\n### Step 4: Impact Assessment\nEvaluate the improvement:\n```\nBenefits:\n- [Benefit 1]\n- [Benefit 2]\n\nCosts:\n- [Cost\u002Feffort required]\n\nPriority: [High\u002FMedium\u002FLow]\n```\n\n### Step 5: Concrete Example\nShow the improvement:\n```\nBefore:\n[Current code\u002Ftext]\n\nAfter:\n[Improved code\u002Ftext]\n\nWhy it's better:\n[Explanation]\n```\n\n## Improvement Patterns\n\n### Pattern 1: Add Validation\n**When**: Input not validated\n**Why**: Prevents errors and security issues\n**How**:\n```python\n# Before\ndef process_data(user_id):\n    user = db.get_user(user_id)\n    return user.process()\n\n# After\ndef process_data(user_id):\n    # Validate input\n    if not isinstance(user_id, int) or user_id \u003C= 0:\n        raise ValueError(\"user_id must be a positive integer\")\n\n    # Check existence\n    user = db.get_user(user_id)\n    if not user:\n        raise NotFoundError(f\"User {user_id} not found\")\n\n    return user.process()\n```\n\n### Pattern 2: Extract Function\n**When**: Function doing too much\n**Why**: Improves readability and testability\n**How**:\n```python\n# Before\ndef handle_request(data):\n    # Validate\n    if not data or 'id' not in data:\n        return error(\"Invalid data\")\n    # Process\n    result = complex_processing(data)\n    # Save\n    db.save(result)\n    # Notify\n    send_email(result)\n    return success(result)\n\n# After\ndef handle_request(data):\n    validated_data = validate_request(data)\n    result = process_data(validated_data)\n    persist_result(result)\n    notify_completion(result)\n    return success(result)\n\ndef validate_request(data):\n    if not data or 'id' not in data:\n        raise ValidationError(\"Invalid data\")\n    return data\n\ndef process_data(data):\n    return complex_processing(data)\n\ndef persist_result(result):\n    db.save(result)\n\ndef notify_completion(result):\n    send_email(result)\n```\n\n### Pattern 3: Add Error Context\n**When**: Errors lack helpful information\n**Why**: Makes debugging easier\n**How**:\n```python\n# Before\ntry:\n    result = process(data)\nexcept Exception as e:\n    print(\"Error\")\n\n# After\ntry:\n    result = process(data)\nexcept ValidationError as e:\n    logger.error(f\"Validation failed for data {data}: {e}\")\n    raise\nexcept ProcessingError as e:\n    logger.error(f\"Processing failed at step {e.step}: {e}\", exc_info=True)\n    raise\nexcept Exception as e:\n    logger.error(f\"Unexpected error processing {data}: {e}\", exc_info=True)\n    raise SystemError(\"An unexpected error occurred\") from e\n```\n\n### Pattern 4: Simplify Logic\n**When**: Code is unnecessarily complex\n**Why**: Easier to understand and maintain\n**How**:\n```python\n# Before\ndef is_valid(user):\n    if user is not None:\n        if hasattr(user, 'active'):\n            if user.active == True:\n                if user.role in ['admin', 'user']:\n                    return True\n                else:\n                    return False\n            else:\n                return False\n        else:\n            return False\n    else:\n        return False\n\n# After\ndef is_valid(user):\n    return (\n        user is not None\n        and hasattr(user, 'active')\n        and user.active\n        and user.role in ['admin', 'user']\n    )\n```\n\n### Pattern 5: Add Documentation\n**When**: Code lacks explanation\n**Why**: Helps future maintainers\n**How**:\n```python\n# Before\ndef calc(x, y, z):\n    return (x * y) \u002F z if z else 0\n\n# After\ndef calculate_adjusted_rate(base_amount, multiplier, divisor):\n    \"\"\"\n    Calculate the adjusted rate using the formula: (base_amount * multiplier) \u002F divisor.\n\n    Args:\n        base_amount (float): The base amount to adjust\n        multiplier (float): The multiplication factor\n        divisor (float): The division factor (returns 0 if zero to avoid division by zero)\n\n    Returns:\n        float: The calculated adjusted rate, or 0 if divisor is zero\n\n    Example:\n        >>> calculate_adjusted_rate(100, 1.5, 2)\n        75.0\n    \"\"\"\n    if divisor == 0:\n        return 0\n    return (base_amount * multiplier) \u002F divisor\n```\n\n## Prioritization Framework\n\nUse this to prioritize suggestions:\n\n### Priority 1: MUST FIX (Critical)\n- **Security vulnerabilities**\n- **Data loss risks**\n- **Broken core functionality**\n- **Incorrect critical information**\n\n**Timeline**: Immediate\n\n### Priority 2: SHOULD FIX (Important)\n- **Missing key features**\n- **Poor error handling**\n- **Performance issues**\n- **Bad practices**\n\n**Timeline**: Soon (this session if possible)\n\n### Priority 3: NICE TO HAVE (Minor)\n- **Code style improvements**\n- **Minor optimizations**\n- **Additional examples**\n- **Enhanced documentation**\n\n**Timeline**: When time permits\n\n### Priority 4: FUTURE CONSIDERATION\n- **Advanced features**\n- **Alternative approaches**\n- **Nice-to-have additions**\n\n**Timeline**: Future iterations\n\n## Suggestion Template\n\n```markdown\n## Improvement Suggestion: [Title]\n\n### Issue Identified\n**Location**: [File\u002Ffunction\u002Fline or section]\n**Current State**: [What exists now]\n**Problem**: [What's wrong or missing]\n**Impact**: [Why it matters]\n\n### Proposed Improvement\n**Change**: [What to do]\n**Why**: [Rationale]\n**Priority**: [High\u002FMedium\u002FLow]\n\n### Implementation\n\n#### Approach 1 (Recommended)\n```[code\u002Ftext]\n[Improved version]\n```\n\n**Steps**:\n1. [Step 1]\n2. [Step 2]\n3. [Step 3]\n\n**Benefits**:\n- [Benefit 1]\n- [Benefit 2]\n\n**Trade-offs**:\n- [Consideration 1]\n\n#### Approach 2 (Alternative)\n```[code\u002Ftext]\n[Alternative version]\n```\n\n**When to use**: [Context where this is better]\n\n### Verification\n**How to test**:\n- [Test 1]\n- [Test 2]\n\n**Success criteria**:\n- [Criterion 1]\n- [Criterion 2]\n\n### Learning Point\n[What pattern or principle this teaches]\n```\n\n## Improvement Categories by Context\n\n### For Code\n1. **Refactoring**: Improve structure without changing behavior\n2. **Optimization**: Make it faster or more efficient\n3. **Security**: Harden against attacks\n4. **Testing**: Add or improve tests\n5. **Documentation**: Explain better\n6. **Error Handling**: Handle failures gracefully\n7. **Validation**: Check inputs\n8. **Maintainability**: Make it easier to maintain\n\n### For Explanations\n1. **Clarity**: Explain more clearly\n2. **Structure**: Organize better\n3. **Examples**: Add or improve examples\n4. **Completeness**: Cover all aspects\n5. **Accuracy**: Fix errors\n6. **Context**: Provide background\n7. **Actionability**: Make it more useful\n8. **Brevity**: Remove unnecessary verbosity\n\n### For Solutions\n1. **Simplicity**: Use simpler approach\n2. **Robustness**: Handle edge cases\n3. **Scalability**: Work at larger scale\n4. **Flexibility**: Make it more configurable\n5. **Performance**: Speed it up\n6. **Usability**: Make it easier to use\n7. **Completeness**: Add missing pieces\n8. **Best Practices**: Follow conventions\n\n## Improvement Checklist\n\nBefore suggesting an improvement, verify:\n\n- [ ] **Specific**: Is the suggestion concrete and actionable?\n- [ ] **Justified**: Is there a clear reason why this is better?\n- [ ] **Feasible**: Can it realistically be implemented?\n- [ ] **Impactful**: Will it meaningfully improve the output?\n- [ ] **Prioritized**: Is the priority level appropriate?\n- [ ] **Explained**: Are the steps clear?\n- [ ] **Demonstrated**: Is there a before\u002Fafter example?\n- [ ] **Tested**: Is there a way to verify it worked?\n\n## Examples\n\n### Example 1: Security Improvement\n\n**Issue**: SQL injection vulnerability in user login\n\n**Suggestion**:\n```markdown\n## Improvement: Fix SQL Injection Vulnerability\n\n### Issue Identified\n**Location**: auth.py, line 45, login_user function\n**Current State**: String concatenation in SQL query\n**Problem**: Allows SQL injection attacks\n**Impact**: CRITICAL - Attackers can access\u002Fmodify database\n\n### Proposed Improvement\n**Change**: Use parameterized queries\n**Why**: Prevents SQL injection by separating SQL from data\n**Priority**: CRITICAL - Must fix immediately\n\n### Implementation\n\n#### Before\n```python\ndef login_user(username, password):\n    query = f\"SELECT * FROM users WHERE username='{username}' AND password='{password}'\"\n    return db.execute(query)\n```\n\n#### After\n```python\ndef login_user(username, password):\n    query = \"SELECT * FROM users WHERE username=? AND password=?\"\n    return db.execute(query, (username, password))\n```\n\n**Steps**:\n1. Replace f-string with parameterized query (?)\n2. Pass values as tuple in second argument\n3. Test with malicious input like: `' OR '1'='1`\n\n**Benefits**:\n- Prevents SQL injection attacks\n- Follows security best practices\n- No performance impact\n\n### Verification\n**How to test**:\n- Try login with: username = `' OR '1'='1`, password = `anything`\n- Should fail authentication, not return all users\n- Run automated security scanner\n\n**Success criteria**:\n- Malicious SQL inputs don't execute\n- Normal authentication still works\n- Security scanner shows no SQL injection\n\n### Learning Point\nAlways use parameterized queries or ORMs - never concatenate user input into SQL\n```\n\n### Example 2: Clarity Improvement\n\n**Issue**: Explanation too technical for intended audience\n\n**Suggestion**:\n```markdown\n## Improvement: Simplify Technical Explanation\n\n### Issue Identified\n**Location**: Response explaining async\u002Fawait\n**Current State**: Uses technical jargon without definition\n**Problem**: Audience is beginners, explanation assumes knowledge\n**Impact**: User likely confused, won't understand concept\n\n### Proposed Improvement\n**Change**: Start with simple analogy, progressively add detail\n**Why**: Matches user's knowledge level\n**Priority**: Important\n\n### Implementation\n\n#### Before\n```\nAsync\u002Fawait is syntactic sugar for promises, providing a synchronous-looking syntax\nfor asynchronous operations while maintaining non-blocking I\u002FO through the event loop.\n```\n\n#### After\n```\nThink of async\u002Fawait like ordering food at a restaurant:\n\n**Without async\u002Fawait**: You stand at the counter waiting (blocking) until your food\nis ready. Nobody else can order.\n\n**With async\u002Fawait**: You order, get a number (promise), and sit down. The kitchen\nmakes your food (async operation) while others can order. When ready, they call your\nnumber (await) and you pick it up.\n\nIn code:\n```javascript\n\u002F\u002F Wait for food without blocking other code\nasync function getFood() {\n    const food = await kitchen.prepare(\"burger\");  \u002F\u002F Wait here\n    return food;\n}\n```\n\nThe `async` keyword says \"this function has waiting in it\"\nThe `await` keyword says \"wait for this to finish\"\n```\n\n**Benefits**:\n- Beginner-friendly\n- Concrete analogy\n- Progressive complexity\n- Still technically accurate\n\n### Learning Point\nMatch explanation complexity to audience level; use analogies before jargon\n```\n\n## Your Role\n\nWhen suggesting improvements:\n\n1. **Be specific**: No vague \"make it better\" - show exactly what to change\n2. **Show examples**: Always include before\u002Fafter code\u002Ftext\n3. **Explain why**: Justify each suggestion with clear rationale\n4. **Prioritize**: Help Claude focus on what matters most\n5. **Provide steps**: Make implementation easy to follow\n6. **Consider alternatives**: Offer multiple approaches when relevant\n7. **Teach patterns**: Help Claude learn reusable improvement strategies\n\n## Important Reminders\n\n- **Actionable over theoretical**: Suggestions must be implementable\n- **Specific over general**: \"Add error handling in line 45\" not \"needs better errors\"\n- **Practical over perfect**: Good enough often beats perfect\n- **Incremental over radical**: Small improvements compound\n- **Tested over assumed**: Verify improvements actually help\n- **Learned over forgotten**: Extract patterns for future use\n\nYour suggestions create the path to continuously better outputs.\n",{"name":5,"version":34,"description":7,"allowed-tools":35},"1.0.0","Read, Grep, Glob","main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002Faiskillstore\u002Fmarketplace\u002Fc0ntr0lledcha0s\u002Fsuggesting-improvements",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":8,"skillName":5,"commands":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill suggesting-improvements",{"tool":51,"command":52},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill suggesting-improvements",{"tool":54,"command":55},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill suggesting-improvements","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Fc0ntr0lledcha0s\u002Fsuggesting-improvements\u002FSKILL.md",true,[59],{"path":60,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":64},"skill-report.json","REFERENCE","参考文档",13841,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Faiskillstore\u002Fmarketplace\u002Fc0ntr0lledcha0s\u002Fsuggesting-improvements\u002Fskill-report.json",[66,75,84,93,99,105],{"skillNo":67,"name":68,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":29},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[72,73,74],"model","model hierarchy","model hierarchy skill",{"skillNo":76,"name":77,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":29},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[81,82,83],"MCP","zoom","zoom mcp",{"skillNo":85,"name":86,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":29},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[90,91,92,82],"sdk","zoom apps sdk","apps",{"skillNo":94,"name":95,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":29},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[95],{"skillNo":100,"name":101,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":29},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[101],{"skillNo":106,"name":107,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":29},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[107]]