← Back to Skills Marketplace
603
Downloads
0
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install p3c-code-quality
Description
执行代码质量检查测试,基于阿里巴巴 P3C 规范对代码进行全面检查,包括命名规范、异常处理、并发安全、数据库规范、OOP 规范、安全规约和单元测试规范。Invoke when user needs to verify code quality against P3C standards.
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install p3c-code-quality - After installation, invoke the skill by name or use
/p3c-code-quality - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is p3c-code-quality?
执行代码质量检查测试,基于阿里巴巴 P3C 规范对代码进行全面检查,包括命名规范、异常处理、并发安全、数据库规范、OOP 规范、安全规约和单元测试规范。Invoke when user needs to verify code quality against P3C standards. It is an AI Agent Skill for Claude Code / OpenClaw, with 603 downloads so far.
How do I install p3c-code-quality?
Run "/install p3c-code-quality" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is p3c-code-quality free?
Yes, p3c-code-quality is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does p3c-code-quality support?
p3c-code-quality is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created p3c-code-quality?
It is built and maintained by ohalo (@ohalo); the current version is v1.0.0.
More Skills