← 返回 Skills 市场
ohalo

p3c-code-quality

作者 ohalo · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
603
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install p3c-code-quality
功能描述
执行代码质量检查测试,基于阿里巴巴 P3C 规范对代码进行全面检查,包括命名规范、异常处理、并发安全、数据库规范、OOP 规范、安全规约和单元测试规范。Invoke when user needs to verify code quality against P3C standards.
安全使用建议
This skill appears to do what it says, but before enabling it: (1) confirm the platform/environment actually provides the referenced Trae IDE tools (Glob/Read/SearchCodebase/GetDiagnostics/Grep/Write); (2) review the implementations and permissions of the child sub-skills it will invoke — they could request additional access or credentials; (3) when running, supply only the specific code path you intend scanned (avoid root or directories containing secrets) and avoid untrusted user-supplied strings for business names/file paths to prevent surprising file writes; (4) if you plan to allow autonomous invocation, ensure these child skills are trusted because aggregation skills inherit whatever their children do.
功能分析
Type: OpenClaw Skill Name: p3c-code-quality Version: 1.0.0 The p3c-code-quality skill is a legitimate tool designed to perform code quality audits based on the Alibaba P3C Java coding standards. It uses standard IDE built-in tools like Glob, Read, Grep, and Write to analyze local Java source code for naming conventions, security vulnerabilities (e.g., SQL injection), and concurrency issues, ultimately generating a Markdown report in a local directory. No indicators of data exfiltration, malicious execution, or harmful prompt injection were found in SKILL.md or _meta.json.
能力评估
Purpose & Capability
Name/description (P3C Java code-quality checks) align with the runtime instructions: locate .java files, read code, run diagnostics/grep, aggregate findings and write a report. No unrelated credentials, binaries, or install steps are requested.
Instruction Scope
Instructions are narrowly focused on scanning Java sources and generating reports. Two things to note: (1) it instructs calling several child sub-skills (p3c-coding-style, p3c-security-rules, etc.) — those sub-skills are not included here and their behavior/permissions should be reviewed; (2) the skill uses generic file-read tools (Glob/Read/SearchCodebase) that will access whatever path the user supplies, so the user should avoid pointing it at sensitive system directories or secrets.
Install Mechanism
Instruction-only skill with no install spec and no code files — lowest install risk. It relies on platform-built-in tools (Trae IDE tools) rather than downloading code.
Credentials
No environment variables, credentials, or config paths are requested. The scope of file access is limited to the user-specified code path, which is appropriate for a code-quality checker.
Persistence & Privilege
always:false and no installation or altered system-wide settings. The skill does not request persistent privileges or modify other skills' configs.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install p3c-code-quality
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /p3c-code-quality 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of p3c-code-quality skill. - Provides comprehensive code quality checks based on Alibaba P3C standards (2022 version), covering naming conventions, exception handling, concurrency, database rules, OOP practices, security, and unit testing. - Aggregates multiple specialized sub-skills to perform detailed inspections across all major Java code quality areas. - Utilizes Trae IDE built-in tools (Glob, Read, Grep, SearchCodebase, GetDiagnostics, Write) for scanning, analyzing, and reporting problems. - Generates detailed Markdown reports with categorized issue severity, improvement suggestions, and quality ratings. - Supports flexible input for file or directory paths, business context, and interface/module names to customize reports.
元数据
Slug p3c-code-quality
版本 1.0.0
许可证 MIT-0
累计安装 2
当前安装数 2
历史版本数 1
常见问题

p3c-code-quality 是什么?

执行代码质量检查测试,基于阿里巴巴 P3C 规范对代码进行全面检查,包括命名规范、异常处理、并发安全、数据库规范、OOP 规范、安全规约和单元测试规范。Invoke when user needs to verify code quality against P3C standards. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 603 次。

如何安装 p3c-code-quality?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install p3c-code-quality」即可一键安装,无需额外配置。

p3c-code-quality 是免费的吗?

是的,p3c-code-quality 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

p3c-code-quality 支持哪些平台?

p3c-code-quality 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 p3c-code-quality?

由 ohalo(@ohalo)开发并维护,当前版本 v1.0.0。

💬 留言讨论