p3c-guard
by alexlifexyz · ★ 1 · updated today
0
Agent 写 Java 时,新增的阿里 Java 规约(p3c)违规落不了盘。Blocks Java writes that add Alibaba p3c violations.
Install
/plugin marketplace add alexlifexyz/p3c-guard/plugin install p3c-guard@p3c-guardThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.startcommand.runtool.call- API calls
$.clock.sleep$.command.register$.env.get$.fs.exists$.fs.read$.fs.write$.process.run$.ui.status- Can see
Write callsEdit calls- Reach
- level 2 of 3 runs processeswrites filesreads filesreads env varsdraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/alexlifexyz/p3c-guard
- Path in repo
- repository root
- Source commit
f0cfa1ethe exact code the scan read- Author
- @alexlifexyz
- License
- MIT
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.