python-code-analyz专业Python代码分析与优化,支持语法检查、安全扫描、性能评估、复杂度分析及重构后的优化代码生成。
Install via ClawdBot CLI:
clawdbot install sujian0606-cpu/python-code-analyzGrade 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://api.example.comAI Analysis
The skill's primary function is static code analysis, and the external API call (https://api.example.com) is presented only as an example within demonstration code, not as part of the skill's operational logic. No evidence suggests the skill exfiltrates user code or data to external servers. The 'eval()' mention is flagged as a dangerous function to detect, not to execute.
Audited Apr 16, 2026 · audit v1.0
Generated Sep 30, 2026
团队在 GitHub/GitLab CI 中集成该 Skill,对所有提交的 Python 代码自动执行 P0 级安全扫描,检测硬编码密钥、SQL 注入和裸 except 等问题。审查结果以分级报告形式回写到 PR 评论中,阻止存在高危漏洞的代码合入主干。
金融机构对运行多年的 Python 遗留系统进行安全债务梳理,使用该 Skill 递归扫描整个项目目录,生成 P0/P1 问题清单和修复代码。安全团队据此制定分阶段的漏洞修复路线图,并对每次修复进行回归验证。
在线编程教育平台将代码分析能力嵌入提交判定系统,学生提交作业后立即获得语法检查、问题分级和优化后代码示例。学生通过对比前后代码理解类型提示、异常处理和资源管理等最佳实践。
低代码平台自动生成 Python 后端代码后,调用该 Skill 对生成结果做静态分析与安全校验,确保不出现命令注入、危险函数等风险。校验未通过的生成结果会被标记并提示用户调整配置参数。
数据团队在 Airflow DAG 和 ETL 脚本的发布流程中加入该 Skill 作为质量门禁,检测未设置超时的 HTTP 请求、未关闭的文件句柄和函数内导入问题。通过后才允许部署到生产调度环境,降低夜间任务失败率。
基础分析规则以 MIT 协议开源吸引开发者社区,企业版提供自定义规则集、CI/CD 深度集成、多语言支持和审计报告导出等高级能力。通过社区口碑驱动企业采购,形成开源到商业化的转化漏斗。
将分析引擎封装为云端 API 服务,用户通过 REST 接口上传代码或连接代码仓库进行分析。平台按扫描次数、代码行数或仓库数量分档计费,并提供团队协作看板和趋势报告等增值功能。
在 GitHub Marketplace、GitLab 等平台发布代码分析插件,免费版提供基础 P0/P1 检测,付费版解锁 P2/P3 规则、自动修复 PR 和忽略规则配置等能力。借助平台流量实现低成本的用户获取和按仓库订阅变现。
💬 Integration Tip
该 Skill 以 Markdown 文档形式定义,可直接粘贴代码请求分析,无需安装依赖;若要接入自动化流水线,建议按其 CLI 用法(python3 -m code_analyzer analyze)封装为 CI 步骤,并通过 .code_analyzer.yaml 调整规则严重级别以适配团队规范。
Scored Sep 30, 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.