codeguard
v0.5.3+codex.20260919Cross-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.
By Full Stack Skills / PartMe.AILicense: Apache-2.00 GitHub starsUpdated 4 days ago
Directory evidence
- Runtimes
- Codex
- Parsed components
- 50 skill or MCP entries
- Source updated
- Sep 19, 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 →
Get the plugin
git clone https://github.com/full-stack-plugins/codeguard-pluginClone the source repository, then follow its setup instructions to add the plugin to a compatible client. The repository root is the plugin root.
Compatibility: the page URL and API slug “codeguard-2” remain stable.
- Codex: Legacy selector
codeguard-2@agent-plugin-marketplaceremains documented for migration; install from source for this runtime.
This plugin's manifest name conflicts with another source for the same runtime. The source remains indexed, but this directory does not generate mismatched -2/-3 install commands.
Plugin files
├── .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
Included Skills50
使用 Codeguard 对 Ansible 项目识别但不冒充已执行代码规范门禁;当用户要求 lint、格式检查、自动修复、提交前质量验证,或出现 ansible-lint 相关失败时使用。先确认仓库配置和工具可用性,区分通过、失败、无法验证与 planned,修复后必须复跑。
使用 Codeguard 对 ArkTS (HarmonyOS) 项目识别但不冒充已执行代码规范门禁;当用户要求 lint、格式检查、自动修复、提交前质量验证,或出现 尚未接入的检查链 相关失败时使用。先确认仓库配置和工具可用性,区分通过、失败、无法验证与 planned,修复后必须复跑。
使用 Codeguard 对 Astro 项目执行并诊断代码规范门禁;当用户要求 lint、格式检查、自动修复、提交前质量验证,或出现 npx --no-install eslint . 相关失败时使用。先确认仓库配置和工具可用性,区分通过、失败、无法验证与 planned,修复后必须复跑。
使用 Codeguard 对 C 项目执行并诊断代码规范门禁;当用户要求 lint、格式检查、自动修复、提交前质量验证,或出现 clang-tidy --quiet '{file}' 相关失败时使用。先确认仓库配置和工具可用性,区分通过、失败、无法验证与 planned,修复后必须复跑。
使用 Codeguard 对 CFML (ColdFusion) 项目执行并诊断代码规范门禁;当用户要求 lint、格式检查、自动修复、提交前质量验证,或出现 cflint '{file}' 相关失败时使用。先确认仓库配置和工具可用性,区分通过、失败、无法验证与 planned,修复后必须复跑。
对 Codeguard 支持的仓库执行只读 lint 门禁并解释结果;当用户说 check、跑检查、lint 报告、提交前检查,或 CI 的 Codeguard 检查失败时使用。必须区分 PASS、FAIL、UNVERIFIED 与 PLANNED。
使用 Codeguard 对 Clojure 项目执行并诊断代码规范门禁;当用户要求 lint、格式检查、自动修复、提交前质量验证,或出现 clj-kondo --lint src 相关失败时使用。先确认仓库配置和工具可用性,区分通过、失败、无法验证与 planned,修复后必须复跑。
使用 Codeguard 对 COBOL 项目识别但不冒充已执行代码规范门禁;当用户要求 lint、格式检查、自动修复、提交前质量验证,或出现 尚未接入的检查链 相关失败时使用。先确认仓库配置和工具可用性,区分通过、失败、无法验证与 planned,修复后必须复跑。
使用 Codeguard 对 C++ 项目执行并诊断代码规范门禁;当用户要求 lint、格式检查、自动修复、提交前质量验证,或出现 clang-tidy --quiet '{file}' 相关失败时使用。先确认仓库配置和工具可用性,区分通过、失败、无法验证与 planned,修复后必须复跑。
使用 Codeguard 对 Crystal 项目执行并诊断代码规范门禁;当用户要求 lint、格式检查、自动修复、提交前质量验证,或出现 ameba 相关失败时使用。先确认仓库配置和工具可用性,区分通过、失败、无法验证与 planned,修复后必须复跑。
使用 Codeguard 对 C# 项目执行并诊断代码规范门禁;当用户要求 lint、格式检查、自动修复、提交前质量验证,或出现 dotnet format --verify-no-changes 相关失败时使用。先确认仓库配置和工具可用性,区分通过、失败、无法验证与 planned,修复后必须复跑。
使用 Codeguard 对 CSS / SCSS / Sass / LESS 项目执行并诊断代码规范门禁;当用户要求 lint、格式检查、自动修复、提交前质量验证,或出现 npx --no-install stylelint '**/*.css' 相关失败时使用。先确认仓库配置和工具可用性,区分通过、失败、无法验证与 planned,修复后必须复跑。
使用 Codeguard 对 CUDA 项目执行并诊断代码规范门禁;当用户要求 lint、格式检查、自动修复、提交前质量验证,或出现 clang-tidy --quiet '{file}' 相关失败时使用。先确认仓库配置和工具可用性,区分通过、失败、无法验证与 planned,修复后必须复跑。
编排 Maven、Node、Python 和 Rust 依赖的 CVE 扫描与门禁;当用户要求扫漏洞、依赖安全检查、发布前审查、解释 HIGH/CRITICAL 发现或设计抑制策略时使用。必须保留工具、阈值、依赖路径与复扫证据。
使用 Codeguard 对 Dart / Flutter 项目执行并诊断代码规范门禁;当用户要求 lint、格式检查、自动修复、提交前质量验证,或出现 dart analyze 相关失败时使用。先确认仓库配置和工具可用性,区分通过、失败、无法验证与 planned,修复后必须复跑。
使用 Codeguard 通过扩展名、文件名和项目标记识别仓库语言构成;当用户询问这是什么语言项目、需要为 lint 选路、调整 codeguard.json 映射/排除,或初始化治理时使用。
使用 Codeguard 对 Dockerfile 项目执行并诊断代码规范门禁;当用户要求 lint、格式检查、自动修复、提交前质量验证,或出现 hadolint '{file}' 相关失败时使用。先确认仓库配置和工具可用性,区分通过、失败、无法验证与 planned,修复后必须复跑。
使用 Codeguard 对 Elixir 项目执行并诊断代码规范门禁;当用户要求 lint、格式检查、自动修复、提交前质量验证,或出现 mix credo --strict 相关失败时使用。先确认仓库配置和工具可用性,区分通过、失败、无法验证与 planned,修复后必须复跑。
使用 Codeguard 对 Elm 项目执行并诊断代码规范门禁;当用户要求 lint、格式检查、自动修复、提交前质量验证,或出现 elm-review 相关失败时使用。先确认仓库配置和工具可用性,区分通过、失败、无法验证与 planned,修复后必须复跑。
使用 Codeguard 对 Erlang 项目执行并诊断代码规范门禁;当用户要求 lint、格式检查、自动修复、提交前质量验证,或出现 elvis rock 相关失败时使用。先确认仓库配置和工具可用性,区分通过、失败、无法验证与 planned,修复后必须复跑。
对 Codeguard 检出的可逆格式和静态规则问题执行受控自动修复;当用户说自动修复、/fix、格式化修复,或 lint 明确给出 autofix 时使用。先 dry-run/保留基线,审查 diff,并用原命令复验;不自动改业务语义。
使用 Codeguard 对 F# 项目执行并诊断代码规范门禁;当用户要求 lint、格式检查、自动修复、提交前质量验证,或出现 dotnet fantomas --check 相关失败时使用。先确认仓库配置和工具可用性,区分通过、失败、无法验证与 planned,修复后必须复跑。
识别并执行 Gitflow、GitHub/GitLab Flow、Trunk-Based、OneFlow 和 Release Flow 的分支命名、流向与合并门禁;当用户要创建、切换、合并、rebase 分支,规划发版,或询问分支规范/gitflow 时使用。先识别仓库现行模型,不编造版本、作者或流向。
根据已暂存差异和仓库历史起草、校验 Conventional Commits、Gitmoji 或 Udacity 风格的提交信息;当用户要写 commit message、执行 git commit、设置 commitlint 或询问提交规范时使用。不凭对话编造改动,不用 --no-verify 绕过门禁。
使用 Codeguard 对 Go 项目执行并诊断代码规范门禁;当用户要求 lint、格式检查、自动修复、提交前质量验证,或出现 go vet ./... 相关失败时使用。先确认仓库配置和工具可用性,区分通过、失败、无法验证与 planned,修复后必须复跑。
使用 Codeguard 对 GraphQL 项目执行并诊断代码规范门禁;当用户要求 lint、格式检查、自动修复、提交前质量验证,或出现 npx --no-install eslint --ext .graphql . 相关失败时使用。先确认仓库配置和工具可用性,区分通过、失败、无法验证与 planned,修复后必须复跑。
使用 Codeguard 对 Groovy 项目执行并诊断代码规范门禁;当用户要求 lint、格式检查、自动修复、提交前质量验证,或出现 npm-groovy-lint '{file}' 相关失败时使用。先确认仓库配置和工具可用性,区分通过、失败、无法验证与 planned,修复后必须复跑。
使用 Codeguard 对 Haskell 项目执行并诊断代码规范门禁;当用户要求 lint、格式检查、自动修复、提交前质量验证,或出现 hlint . 相关失败时使用。先确认仓库配置和工具可用性,区分通过、失败、无法验证与 planned,修复后必须复跑。
使用 Codeguard 对 HTML 项目执行并诊断代码规范门禁;当用户要求 lint、格式检查、自动修复、提交前质量验证,或出现 npx --no-install htmlhint '{file}' 相关失败时使用。先确认仓库配置和工具可用性,区分通过、失败、无法验证与 planned,修复后必须复跑。
为已有仓库规划并受控接入 Codeguard,包括语言检测、linter 配置、pre-commit、AGENTS.md 规则和 CI 门禁;当用户说 /init、接入规范检查、添加 pre-commit 或 CI 时使用。必须先盘点现有配置并输出合并计划,不覆盖用户文件。
使用 Codeguard 对 Java 项目执行并诊断代码规范门禁;当用户要求 lint、格式检查、自动修复、提交前质量验证,或出现 mvn -q javadoc:jar -DskipTests 相关失败时使用。先确认仓库配置和工具可用性,区分通过、失败、无法验证与 planned,修复后必须复跑。
使用 Codeguard 对 Julia 项目执行并诊断代码规范门禁;当用户要求 lint、格式检查、自动修复、提交前质量验证,或出现 尚未接入的检查链 相关失败时使用。先确认仓库配置和工具可用性,区分通过、失败、无法验证与 planned,修复后必须复跑。
使用 Codeguard 对 Kotlin 项目执行并诊断代码规范门禁;当用户要求 lint、格式检查、自动修复、提交前质量验证,或出现 ./gradlew detekt 相关失败时使用。先确认仓库配置和工具可用性,区分通过、失败、无法验证与 planned,修复后必须复跑。
使用 Codeguard 对 Liquid (Shopify) 项目执行并诊断代码规范门禁;当用户要求 lint、格式检查、自动修复、提交前质量验证,或出现 theme-check . 相关失败时使用。先确认仓库配置和工具可用性,区分通过、失败、无法验证与 planned,修复后必须复跑。
使用 Codeguard 对 Lua 项目执行并诊断代码规范门禁;当用户要求 lint、格式检查、自动修复、提交前质量验证,或出现 luacheck . 相关失败时使用。先确认仓库配置和工具可用性,区分通过、失败、无法验证与 planned,修复后必须复跑。
使用 Codeguard 对 Luau 项目执行并诊断代码规范门禁;当用户要求 lint、格式检查、自动修复、提交前质量验证,或出现 luau-analyze '{file}' 相关失败时使用。先确认仓库配置和工具可用性,区分通过、失败、无法验证与 planned,修复后必须复跑。
使用 Codeguard 对 Markdown 项目执行并诊断代码规范门禁;当用户要求 lint、格式检查、自动修复、提交前质量验证,或出现 npx --no-install markdownlint-cli2 相关失败时使用。先确认仓库配置和工具可用性,区分通过、失败、无法验证与 planned,修复后必须复跑。
使用 Codeguard 对 Metal 项目识别但不冒充已执行代码规范门禁;当用户要求 lint、格式检查、自动修复、提交前质量验证,或出现 尚未接入的检查链 相关失败时使用。先确认仓库配置和工具可用性,区分通过、失败、无法验证与 planned,修复后必须复跑。
使用 Codeguard 对 Nim 项目执行并诊断代码规范门禁;当用户要求 lint、格式检查、自动修复、提交前质量验证,或出现 nim check src 相关失败时使用。先确认仓库配置和工具可用性,区分通过、失败、无法验证与 planned,修复后必须复跑。
使用 Codeguard 对 Nix 项目执行并诊断代码规范门禁;当用户要求 lint、格式检查、自动修复、提交前质量验证,或出现 deadnix '{file}' 相关失败时使用。先确认仓库配置和工具可用性,区分通过、失败、无法验证与 planned,修复后必须复跑。
使用 Codeguard 对 Objective-C 项目执行并诊断代码规范门禁;当用户要求 lint、格式检查、自动修复、提交前质量验证,或出现 clang-tidy --quiet '{file}' 相关失败时使用。先确认仓库配置和工具可用性,区分通过、失败、无法验证与 planned,修复后必须复跑。
使用 Codeguard 对 OCaml 项目执行并诊断代码规范门禁;当用户要求 lint、格式检查、自动修复、提交前质量验证,或出现 ocamlformat --check . 相关失败时使用。先确认仓库配置和工具可用性,区分通过、失败、无法验证与 planned,修复后必须复跑。
使用 Codeguard 对 Pascal / Delphi 项目执行并诊断代码规范门禁;当用户要求 lint、格式检查、自动修复、提交前质量验证,或出现 尚未接入的检查链 相关失败时使用。先确认仓库配置和工具可用性,区分通过、失败、无法验证与 planned,修复后必须复跑。
使用 Codeguard 对 Perl 项目执行并诊断代码规范门禁;当用户要求 lint、格式检查、自动修复、提交前质量验证,或出现 perlcritic '{file}' 相关失败时使用。先确认仓库配置和工具可用性,区分通过、失败、无法验证与 planned,修复后必须复跑。
使用 Codeguard 对 PHP 项目执行并诊断代码规范门禁;当用户要求 lint、格式检查、自动修复、提交前质量验证,或出现 php -l '{file}' 相关失败时使用。先确认仓库配置和工具可用性,区分通过、失败、无法验证与 planned,修复后必须复跑。
使用 Codeguard 对 PowerShell 项目执行并诊断代码规范门禁;当用户要求 lint、格式检查、自动修复、提交前质量验证,或出现 pwsh -NoProfile -Command 'Invoke-ScriptAnalyzer -Path . -Severity Error' 相关失败时使用。先确认仓库配置和工具可用性,区分通过、失败、无法验证与 planned,修复后必须复跑。
使用 Codeguard 对 Protobuf 项目执行并诊断代码规范门禁;当用户要求 lint、格式检查、自动修复、提交前质量验证,或出现 buf lint 相关失败时使用。先确认仓库配置和工具可用性,区分通过、失败、无法验证与 planned,修复后必须复跑。
使用 Codeguard 对 Python 项目执行并诊断代码规范门禁;当用户要求 lint、格式检查、自动修复、提交前质量验证,或出现 ruff check . 相关失败时使用。先确认仓库配置和工具可用性,区分通过、失败、无法验证与 planned,修复后必须复跑。
使用 Codeguard 对 R 项目执行并诊断代码规范门禁;当用户要求 lint、格式检查、自动修复、提交前质量验证,或出现 Rscript -e 'lintr::lint_dir('"'"'.'"'"')' 相关失败时使用。先确认仓库配置和工具可用性,区分通过、失败、无法验证与 planned,修复后必须复跑。
使用 Codeguard 对 Ruby 项目执行并诊断代码规范门禁;当用户要求 lint、格式检查、自动修复、提交前质量验证,或出现 rubocop 相关失败时使用。先确认仓库配置和工具可用性,区分通过、失败、无法验证与 planned,修复后必须复跑。
Plugin manifests1
{
"name": "codeguard",
"version": "0.5.3+codex.20260919",
"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/",
"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": []
}
}For maintainers
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-2)