智能代码助手

name: s-skill version: 1.0.0 description: Smart = 智能理解 + 精准回应 - 智能代码助手,深度理解你的代码,精准提供诊断、修复、重构和文档生成建议 ---------------------------------------------------------------------------------------------

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "智能代码助手" with this command: npx skills add hgta23/s

name: s-skill version: 1.0.0 description: Smart = 智能理解 + 精准回应 - 智能代码助手,深度理解你的代码,精准提供诊断、修复、重构和文档生成建议

s-skill - 智能代码助手 🧠

🌟 核心定位

Smart - 专注于智能理解和精准回应,做你最得力的代码伙伴!

🎯 实际功能

1. 智能代码解释器

  • 深度分析代码逻辑
  • 清晰解释复杂算法
  • 识别设计模式
  • 生成代码流程图

2. 智能错误诊断

  • 自动检测潜在Bug
  • 分析错误根因
  • 提供具体修复方案
  • 预防代码隐患

3. 智能重构建议

  • 识别代码坏味道
  • 提供重构方案
  • 优化性能瓶颈
  • 提升代码可维护性

4. 智能文档生成

  • 自动生成函数文档
  • 创建API说明
  • 生成使用示例
  • 保持文档与代码同步

💡 使用示例

代码解释

用户: 帮我解释这段代码在做什么
s-skill: 深入分析后,这段代码实现了一个LRU缓存机制...

错误诊断

用户: 这段代码有什么问题吗?
s-skill: 检测到3个潜在问题:1) 内存泄漏风险... 2) 并发安全问题... 3) 边界条件未处理...

重构建议

用户: 帮我优化这段代码
s-skill: 建议重构方案:1) 提取方法... 2) 使用策略模式... 3) 添加单元测试...

文档生成

用户: 为这个函数生成文档
s-skill: 已生成完整文档,包含:功能说明、参数说明、返回值、使用示例、注意事项...

🔧 核心特性

深度理解

  • AST语法树分析
  • 类型推断
  • 数据流分析
  • 上下文感知

精准回应

  • 具体可执行的建议
  • 代码示例支持
  • 利弊分析
  • 优先级排序

持续学习

  • 积累最佳实践
  • 识别常见模式
  • 优化建议质量
  • 适应用户风格

📈 技术亮点

  1. 语义理解 - 不只是看代码,更理解代码意图
  2. 上下文感知 - 考虑项目整体架构和风格
  3. 可操作建议 - 每个建议都有具体的代码示例
  4. 渐进式优化 - 从小处着手,逐步提升代码质量

🎨 设计理念

  • 实用至上 - 只做真正有用的功能
  • 精准聚焦 - 不贪多,把一件事做到极致
  • 用户友好 - 简单的指令,专业的结果
  • 持续进化 - 根据用户反馈不断优化

Smart Code Assistant - 让你的代码更智能! 🚀

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Gigo Lobster Taster

🦞 GIGO · gigo-lobster-taster: 正式试吃模式:跑完整评测,默认上传云端、生成个人结果页并进入排行榜。 Triggers: 试吃我的龙虾 / 品鉴我的龙虾 / lobster taste / lobster taster.

Registry SourceRecently Updated
General

Invoice Generator

Creates professional invoices in markdown and HTML

Registry SourceRecently Updated
92001kalin
General

backstage companion

Anti-drift protocol script. Ensures parity between docs and system. Triggers: 'bom dia PROJECT' / 'good morning PROJECT' (load project context with health ch...

Registry SourceRecently Updated
General

stratos-storage

Upload and download files to/from Stratos Decentralized Storage (SDS) network. Use when the user wants to store files on Stratos, retrieve files from Stratos, upload to decentralized storage, or download from SDS.

Registry SourceRecently Updated