Agent Plugins Marketplace
All plugins

codeguard

v0.3.2+codex.20260918

Cross-language code lint enforcement for AI coding assistants (ZCode, Claude Code, Codex CLI, Kimi Code): Java, Rust, TypeScript, Python. PostToolUse hook auto-runs the native linter on every AI-written file and blocks on failure in strict mode.

Codex50 Skills1 MCP serverstdio

By Full Stack Skills / PartMe.AILicense: Apache-2.00 GitHub starsUpdated 5 days ago

Directory evidence

Runtimes
Codex
Parsed components
51 skill or MCP entries
Source updated
Sep 18, 2026
Manifest status
Canonical path parsed

The directory validates manifest shape and source location. It does not execute the plugin or provide a security endorsement. Review the indexing methodology

Install codeguard for Codex

Installs for the current user
codex plugin marketplace add partme-ai/partme-codeguard-plugin
codex plugin marketplace upgrade partme-ai-codeguard
codex plugin add codeguard@partme-ai-codeguard

Paste and run these commands in a terminal with Codex. They add and refresh the partme-ai-codeguard catalog, then install this plugin.

Compatibility: the page URL and API slug “codeguard” remain stable.

  • Codex: codeguard@agent-plugin-marketplacecodeguard@partme-ai-codeguard

The installer fetches third-party code from the source repository shown on this page. This directory validates manifest structure and source location, but does not perform a security audit; review the manifest, components, and source before installing.

Get the source manually
git clone https://github.com/partme-ai/partme-codeguard-plugin

Clone the source repository, then follow its setup instructions to add the plugin to a compatible client. The repository root is the plugin root.

Plugin files

codeguard/
├── .codex-plugin/plugin.json
├── skills/codeguard-ansible/SKILL.md
├── skills/codeguard-arkts/SKILL.md
├── skills/codeguard-astro/SKILL.md
├── skills/codeguard-c/SKILL.md
├── skills/codeguard-cfml/SKILL.md
├── skills/codeguard-check/SKILL.md
├── skills/codeguard-clojure/SKILL.md
├── skills/codeguard-cobol/SKILL.md
├── skills/codeguard-cpp/SKILL.md
├── skills/codeguard-crystal/SKILL.md
├── skills/codeguard-csharp/SKILL.md
├── skills/codeguard-css/SKILL.md
├── skills/codeguard-cuda/SKILL.md
├── skills/codeguard-cve/SKILL.md
├── skills/codeguard-dart/SKILL.md
├── skills/codeguard-detect/SKILL.md
├── skills/codeguard-dockerfile/SKILL.md
├── skills/codeguard-elixir/SKILL.md
├── skills/codeguard-elm/SKILL.md
├── skills/codeguard-erlang/SKILL.md
├── skills/codeguard-fix/SKILL.md
├── skills/codeguard-fsharp/SKILL.md
├── skills/codeguard-git-branch/SKILL.md
├── skills/codeguard-git-commit/SKILL.md
├── skills/codeguard-go/SKILL.md
├── skills/codeguard-graphql/SKILL.md
├── skills/codeguard-groovy/SKILL.md
├── skills/codeguard-haskell/SKILL.md
├── skills/codeguard-html/SKILL.md
├── skills/codeguard-init/SKILL.md
├── skills/codeguard-java/SKILL.md
├── skills/codeguard-julia/SKILL.md
├── skills/codeguard-kotlin/SKILL.md
├── skills/codeguard-liquid/SKILL.md
├── skills/codeguard-lua/SKILL.md
├── skills/codeguard-luau/SKILL.md
├── skills/codeguard-markdown/SKILL.md
├── skills/codeguard-metal/SKILL.md
├── skills/codeguard-nim/SKILL.md
├── skills/codeguard-nix/SKILL.md
├── skills/codeguard-objc/SKILL.md
├── skills/codeguard-ocaml/SKILL.md
├── skills/codeguard-pascal/SKILL.md
├── skills/codeguard-perl/SKILL.md
├── skills/codeguard-php/SKILL.md
├── skills/codeguard-powershell/SKILL.md
├── skills/codeguard-protobuf/SKILL.md
├── skills/codeguard-python/SKILL.md
├── skills/codeguard-r/SKILL.md
├── skills/codeguard-ruby/SKILL.md
└── .mcp.json

Included Skills50

codeguard-ansibleskills/codeguard-ansible/SKILL.md

Ansible 代码规范检查:lint 门禁(`ansible-lint`)与格式化(`ansible-lint --fix`)。 Use when users write or review Ansible code, hit ansible lint failures, or ask about Ansible style rules. Route framework/library questions to the official Ansible docs.

codeguard-arktsskills/codeguard-arkts/SKILL.md

ArkTS (HarmonyOS) 代码规范检查(Planned):扩展名已识别(`.ets`),linter 集成在路线图(目标 V0.5)。 钩子当前安全跳过。触发:用户提到 ArkTS (HarmonyOS) 规范或 arkts 文件检查时,说明现状与计划工具。

codeguard-astroskills/codeguard-astro/SKILL.md

Astro 代码规范检查(Planned):扩展名已识别(`.astro`),linter 集成在路线图(目标 V0.4)。 钩子当前安全跳过。触发:用户提到 Astro 规范或 astro 文件检查时,说明现状与计划工具。

codeguard-cskills/codeguard-c/SKILL.md

C 代码规范检查(Planned):扩展名已识别(`.c` `.h`),linter 集成在路线图(目标 V0.4)。 钩子当前安全跳过。触发:用户提到 C 规范或 c 文件检查时,说明现状与计划工具。

codeguard-cfmlskills/codeguard-cfml/SKILL.md

CFML (ColdFusion) 代码规范检查(Planned):扩展名已识别(`.cfc` `.cfm` `.cfs`),linter 集成在路线图(目标 V0.5)。 钩子当前安全跳过。触发:用户提到 CFML (ColdFusion) 规范或 cfml 文件检查时,说明现状与计划工具。

codeguard-checkskills/codeguard-check/SKILL.md

codeguard check 命令:跑项目全量 lint 门禁并输出报告。检测语言 → 按语言跑 linter → 汇总通过/失败。Use when users say "check", "跑检查", "lint 报告", or before commit. Route fixing to codeguard-fix; CVE scanning to codeguard-cve.

codeguard-clojureskills/codeguard-clojure/SKILL.md

Clojure 代码规范检查(Planned):扩展名已识别(`.clj` `.cljs` `.cljc` `.edn`),linter 集成在路线图(目标 V0.5)。 钩子当前安全跳过。触发:用户提到 Clojure 规范或 clojure 文件检查时,说明现状与计划工具。

codeguard-cobolskills/codeguard-cobol/SKILL.md

COBOL 代码规范检查(Planned):扩展名已识别(`.cbl` `.cob` `.cpy`),linter 集成在路线图(目标 V0.5)。 钩子当前安全跳过。触发:用户提到 COBOL 规范或 cobol 文件检查时,说明现状与计划工具。

codeguard-cppskills/codeguard-cpp/SKILL.md

C++ 代码规范检查(Planned):扩展名已识别(`.cpp` `.hpp` `.cc`),linter 集成在路线图(目标 V0.4)。 钩子当前安全跳过。触发:用户提到 C++ 规范或 cpp 文件检查时,说明现状与计划工具。

codeguard-crystalskills/codeguard-crystal/SKILL.md

Crystal 代码规范检查(Planned):扩展名已识别(`.cr`),linter 集成在路线图(目标 V0.5)。 钩子当前安全跳过。触发:用户提到 Crystal 规范或 crystal 文件检查时,说明现状与计划工具。

codeguard-csharpskills/codeguard-csharp/SKILL.md

C# 代码规范:dotnet format 强制 + .editorconfig 风格。需要 .NET SDK 6+。 触发:用户说"C# 规范"、"dotnet format"、"editorconfig"。

codeguard-cssskills/codeguard-css/SKILL.md

CSS / SCSS / Sass / LESS 规范:stylelint recommended + 自动修复。 Use when users write or review .css/.scss/.less files, hit stylelint errors, or ask about CSS conventions. Route framework-specific styling (Tailwind/Modules) to their docs.

codeguard-cudaskills/codeguard-cuda/SKILL.md

CUDA 代码规范检查(Planned):扩展名已识别(`.cu` `.cuh`),linter 集成在路线图(目标 V0.5)。 钩子当前安全跳过。触发:用户提到 CUDA 规范或 cuda 文件检查时,说明现状与计划工具。

codeguard-cveskills/codeguard-cve/SKILL.md

codeguard cve 命令:多生态 CVE 依赖漏洞扫描编排(Maven dependency-check / npm audit / pip-audit / cargo audit),失败阈值可调,npm 支持自动修复。Use when users say "扫漏洞", "CVE", "依赖安全检查", or before release. Route Dockerfile misconfig to codeguard-dockerfile; suppression policy to codeguard-security-code.

codeguard-dartskills/codeguard-dart/SKILL.md

Dart / Flutter 代码规范检查:lint 门禁(`dart analyze`)与格式化(`dart format .`)。 Use when users write or review Dart / Flutter code, hit dart lint failures, or ask about Dart / Flutter style rules. Route framework/library questions to the official Dart / Flutter docs.

codeguard-detectskills/codeguard-detect/SKILL.md

codeguard detect 命令:检测项目语言构成(扩展名扫描 + 项目标记文件),支持 codeguard.json 自定义扩展映射与 exclude 排除。Use when users say "这是什么语言项目", "检测语言", or when initializing governance on a repo.

codeguard-dockerfileskills/codeguard-dockerfile/SKILL.md

Dockerfile 安全风险检查与规范门禁:hadolint 安全规则(root 运行、latest 标签、ADD 风险、 sudo、包管理器缓存)+ trivy config misconfig 规则(digest 未固定、secrets 进镜像层、 HEALTHCHECK 缺失)+ 安全基线(非 root 用户、多阶段构建、最小镜像)。 Use when users write or review Dockerfiles, hit hadolint failures, ask about container security hardening, or before building/publishing images. Route dependency CVEs inside images to codeguard-security-code and base-image selection to trivy/scout reports.

codeguard-elixirskills/codeguard-elixir/SKILL.md

Elixir 代码规范:mix format 格式化 + Credo --strict 静态分析。 Use when users write .ex/.exs files, hit credo warnings, or ask about Elixir idioms and formatting. Route Phoenix/OTP deep questions to official Elixir guides.

codeguard-elmskills/codeguard-elm/SKILL.md

Elm 代码规范检查(Planned):扩展名已识别(`.elm`),linter 集成在路线图(目标 V0.5)。 钩子当前安全跳过。触发:用户提到 Elm 规范或 elm 文件检查时,说明现状与计划工具。

codeguard-erlangskills/codeguard-erlang/SKILL.md

Erlang 代码规范检查(Planned):扩展名已识别(`.erl` `.hrl`),linter 集成在路线图(目标 V0.5)。 钩子当前安全跳过。触发:用户提到 Erlang 规范或 erlang 文件检查时,说明现状与计划工具。

codeguard-fixskills/codeguard-fix/SKILL.md

codeguard fix 命令:自动修复各语言 lint 问题(spotless:apply / cargo fmt / eslint --fix / ruff --fix / gofmt),修复后建议复跑 check。Use when users say "自动修复", "/fix", "格式化修复". Route logic-level violations (unused vars with meaning, complexity) to manual review; do not auto-edit business code.

codeguard-fsharpskills/codeguard-fsharp/SKILL.md

F# 代码规范检查(Planned):扩展名已识别(`.fs` `.fsi` `.fsx`),linter 集成在路线图(目标 V0.5)。 钩子当前安全跳过。触发:用户提到 F# 规范或 fsharp 文件检查时,说明现状与计划工具。

codeguard-git-branchskills/codeguard-git-branch/SKILL.md

Git 分支规范:整合 7 种主流分支策略(Gitflow、Gitflow+、GitLab 分支规范、GitHub Flow、 GitLab Flow、Trunk-Based Development、OneFlow、Release Flow),含模型识别、命名门禁、 合并方向门禁与合并策略(merge/squash/rebase)。 触发场景:AI 帮用户创建/切换/合并分支、规划发版、或用户说"分支规范"、"gitflow"、"建分支"。

codeguard-git-commitskills/codeguard-git-commit/SKILL.md

Commit 日志规范:整合主流风格——Conventional Commits(Angular)、Gitmoji、Udacity, 含正则门禁、commitlint 工具与示例。AI 代写提交信息必须遵守。 触发场景:AI 帮用户写 commit message、执行 git commit、或用户说"提交规范"、"commit 规范"。

codeguard-goskills/codeguard-go/SKILL.md

Go 代码规范:go vet 基线 + golangci-lint 聚合 + gofmt 强制。禁止忽略 error 返回值。 触发:用户说"Go 规范"、"go vet"、"golangci-lint"、"gofmt"。

codeguard-graphqlskills/codeguard-graphql/SKILL.md

GraphQL 代码规范检查(Planned):扩展名已识别(`.graphql` `.gql`),linter 集成在路线图(目标 V0.4)。 钩子当前安全跳过。触发:用户提到 GraphQL 规范或 graphql 文件检查时,说明现状与计划工具。

codeguard-groovyskills/codeguard-groovy/SKILL.md

Groovy 代码规范检查(Planned):扩展名已识别(`.groovy`),linter 集成在路线图(目标 V0.5)。 钩子当前安全跳过。触发:用户提到 Groovy 规范或 groovy 文件检查时,说明现状与计划工具。

codeguard-haskellskills/codeguard-haskell/SKILL.md

Haskell 代码规范检查(Planned):扩展名已识别(`.hs` `.lhs`),linter 集成在路线图(目标 V0.5)。 钩子当前安全跳过。触发:用户提到 Haskell 规范或 haskell 文件检查时,说明现状与计划工具。

codeguard-htmlskills/codeguard-html/SKILL.md

HTML 代码规范检查:lint 门禁(`npx htmlhint`)与格式化(`prettier --write`)。 Use when users write or review HTML code, hit html lint failures, or ask about HTML style rules. Route framework/library questions to the official HTML docs.

codeguard-initskills/codeguard-init/SKILL.md

一键把 codeguard 接入当前仓库。检测项目语言、拷贝 linter 配置文件、写 .pre-commit-config.yaml、 增量更新 AGENTS.md、生成 GitHub Actions CI 工作流。 触发场景:用户说 "/init"、"接入规范检查"、"给项目加 pre-commit"、"加 CI 检查"。

codeguard-javaskills/codeguard-java/SKILL.md

Apply Java lint gates (javadoc, Checkstyle P3C), diagnose javadoc errors and warnings, enforce Java naming/import/style conventions, and fix style violations via Spotless. Use when users write or review Java, hit mvn javadoc:jar failures, see checkstyle errors, or ask about P3C/Alibaba style rules, javadoc tags, or Java naming conventions. Route deep Java syntax/framework/library questions to the java-skills repository; route commit format to codeguard-git-commit and CVE findings to codeguard-security-code.

codeguard-juliaskills/codeguard-julia/SKILL.md

Julia 代码规范检查(Planned):扩展名已识别(`.jl`),linter 集成在路线图(目标 V0.5)。 钩子当前安全跳过。触发:用户提到 Julia 规范或 julia 文件检查时,说明现状与计划工具。

codeguard-kotlinskills/codeguard-kotlin/SKILL.md

Kotlin 代码规范:detekt 静态分析 + ktlint 格式化(Gradle 插件)。 触发:用户说"Kotlin 规范"、"detekt"、"ktlint"。

codeguard-liquidskills/codeguard-liquid/SKILL.md

Liquid (Shopify) 代码规范检查(Planned):扩展名已识别(`.liquid`),linter 集成在路线图(目标 V0.5)。 钩子当前安全跳过。触发:用户提到 Liquid (Shopify) 规范或 liquid 文件检查时,说明现状与计划工具。

codeguard-luaskills/codeguard-lua/SKILL.md

Lua 代码规范检查(Planned):扩展名已识别(`.lua`),linter 集成在路线图(目标 V0.5)。 钩子当前安全跳过。触发:用户提到 Lua 规范或 lua 文件检查时,说明现状与计划工具。

codeguard-luauskills/codeguard-luau/SKILL.md

Luau 代码规范检查(Planned):扩展名已识别(`.luau`),linter 集成在路线图(目标 V0.5)。 钩子当前安全跳过。触发:用户提到 Luau 规范或 luau 文件检查时,说明现状与计划工具。

codeguard-markdownskills/codeguard-markdown/SKILL.md

Markdown 代码规范检查:lint 门禁(`npx markdownlint-cli2 **/*.md`)与格式化(`markdownlint-cli2 --fix`)。 Use when users write or review Markdown code, hit markdown lint failures, or ask about Markdown style rules. Route framework/library questions to the official Markdown docs.

codeguard-metalskills/codeguard-metal/SKILL.md

Metal 代码规范检查(Planned):扩展名已识别(`.metal`),linter 集成在路线图(目标 V0.5)。 钩子当前安全跳过。触发:用户提到 Metal 规范或 metal 文件检查时,说明现状与计划工具。

codeguard-nimskills/codeguard-nim/SKILL.md

Nim 代码规范检查(Planned):扩展名已识别(`.nim`),linter 集成在路线图(目标 V0.5)。 钩子当前安全跳过。触发:用户提到 Nim 规范或 nim 文件检查时,说明现状与计划工具。

codeguard-nixskills/codeguard-nix/SKILL.md

Nix 代码规范检查:lint 门禁(`deadnix`)与格式化(`nixpkgs-fmt`)。 Use when users write or review Nix code, hit nix lint failures, or ask about Nix style rules. Route framework/library questions to the official Nix docs.

codeguard-objcskills/codeguard-objc/SKILL.md

Objective-C 代码规范检查(Planned):扩展名已识别(`.m` `.mm`),linter 集成在路线图(目标 V0.4)。 钩子当前安全跳过。触发:用户提到 Objective-C 规范或 objc 文件检查时,说明现状与计划工具。

codeguard-ocamlskills/codeguard-ocaml/SKILL.md

OCaml 代码规范检查(Planned):扩展名已识别(`.ml` `.mli`),linter 集成在路线图(目标 V0.5)。 钩子当前安全跳过。触发:用户提到 OCaml 规范或 ocaml 文件检查时,说明现状与计划工具。

codeguard-pascalskills/codeguard-pascal/SKILL.md

Pascal / Delphi 代码规范检查(Planned):扩展名已识别(`.pas` `.dpr` `.dpk` `.lpr`),linter 集成在路线图(目标 V0.5)。 钩子当前安全跳过。触发:用户提到 Pascal / Delphi 规范或 pascal 文件检查时,说明现状与计划工具。

codeguard-perlskills/codeguard-perl/SKILL.md

Perl 代码规范检查(Planned):扩展名已识别(`.pl` `.pm` `.t`),linter 集成在路线图(目标 V0.5)。 钩子当前安全跳过。触发:用户提到 Perl 规范或 perl 文件检查时,说明现状与计划工具。

codeguard-phpskills/codeguard-php/SKILL.md

PHP 代码规范:php -l 语法门禁 + PHP-CS-Fixer PSR-12 自动修复 + PHPStan 静态分析。 触发:用户说"PHP 规范"、"PSR-12"、"php-cs-fixer"、"phpstan"。

codeguard-powershellskills/codeguard-powershell/SKILL.md

PowerShell 代码规范检查(Planned):扩展名已识别(`.ps1` `.psm1`),linter 集成在路线图(目标 V0.5)。 钩子当前安全跳过。触发:用户提到 PowerShell 规范或 powershell 文件检查时,说明现状与计划工具。

codeguard-protobufskills/codeguard-protobuf/SKILL.md

Protobuf 代码规范检查:lint 门禁(`buf lint`)与格式化(`buf format`)。 Use when users write or review Protobuf code, hit protobuf lint failures, or ask about Protobuf style rules. Route framework/library questions to the official Protobuf docs.

codeguard-pythonskills/codeguard-python/SKILL.md

Python 代码规范:ruff(极速,drop-in 替代 flake8 + isort + pyupgrade + flake8-bugbear)。 触发:用户说"ruff"、"python 规范"、"flake8"、"lint"。

codeguard-rskills/codeguard-r/SKILL.md

R 代码规范检查(Planned):扩展名已识别(`.r`),linter 集成在路线图(目标 V0.5)。 钩子当前安全跳过。触发:用户提到 R 规范或 r 文件检查时,说明现状与计划工具。

codeguard-rubyskills/codeguard-ruby/SKILL.md

Ruby 代码规范:RuboCop 强制(单引号、行宽 160、method 长度 20)。 触发:用户说"Ruby 规范"、"RuboCop"。

MCP servers1

codeguard_linterstdio
command
python3
args
${ZCODE_PLUGIN_ROOT}/scripts/run_check.py --mcp

Plugin manifests1

.codex-plugin/plugin.json
{
  "name": "codeguard",
  "version": "0.3.2+codex.20260918",
  "description": "Cross-language code lint enforcement for AI coding assistants (ZCode, Claude Code, Codex CLI, Kimi Code): Java, Rust, TypeScript, Python. PostToolUse hook auto-runs the native linter on every AI-written file and blocks on failure in strict mode.",
  "author": {
    "name": "Full Stack Skills / PartMe.AI",
    "url": "https://github.com/partme-ai"
  },
  "homepage": "https://github.com/partme-ai/partme-codeguard-plugin",
  "repository": "https://github.com/partme-ai/partme-codeguard-plugin",
  "license": "Apache-2.0",
  "keywords": [
    "java",
    "rust",
    "typescript",
    "python",
    "javadoc",
    "checkstyle",
    "clippy",
    "eslint",
    "ruff",
    "pre-commit"
  ],
  "skills": "./skills/",
  "mcpServers": "./.mcp.json",
  "interface": {
    "displayName": "代码规范守卫",
    "shortDescription": "Make AI-written code pass lint on first try",
    "longDescription": "Detects project languages, runs the appropriate linter (mvn javadoc+checkstyle, cargo clippy+fmt, npx eslint, ruff check) on every file the AI writes or edits, and blocks further writes when lints fail. Ships ready-to-use .pre-commit-config.yaml templates and AGENTS.md snippets for one-line project bootstrap. Supports ZCode, Claude Code, Codex CLI, and Kimi Code through their respective plugin manifests.",
    "developerName": "Full Stack Skills / PartMe.AI",
    "category": "Developer Tools",
    "capabilities": [
      "Read",
      "Write"
    ],
    "websiteURL": "https://github.com/partme-ai/partme-codeguard-plugin",
    "privacyPolicyURL": "https://github.com/partme-ai/partme-codeguard-plugin/blob/main/PRIVACY.md",
    "termsOfServiceURL": "https://github.com/partme-ai/partme-codeguard-plugin/blob/main/TERMS.md",
    "defaultPrompt": [
      "Run /check on the current project and fix what fails",
      "Initialize codeguard on this repository with /init",
      "Run Java javadoc + checkstyle on the current project"
    ],
    "brandColor": "#2563EB",
    "composerIcon": "./assets/composer-icon.png",
    "logo": "./assets/official-logo.png",
    "logoDark": "./assets/official-logo.png",
    "screenshots": []
  }
}

If you maintain this plugin, link to this source-backed listing from your README so users can review its manifest and indexed components.

[codeguard on Agent Plugins Marketplace](https://pluginsmp.com/plugins/codeguard)