You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f408c19
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: .agents/plugins/marketplace.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@
16
16
"authentication": "ON_USE"
17
17
},
18
18
"category": "Developer Tools",
19
-
"version": "0.3.8",
19
+
"version": "0.4.0",
20
20
"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.",
Copy file name to clipboardExpand all lines: .codex-plugin/plugin.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "codeguard",
3
-
"version": "0.3.8+codex.20260919",
3
+
"version": "0.4.0+codex.20260919",
4
4
"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.",
if gh pr view chore/skills-sync >/dev/null 2>&1; then
49
+
echo "sync PR already open; branch updated"
50
+
exit 0
51
+
fi
52
+
gh pr create \
53
+
--title "chore: sync vendored Codeguard skills" \
54
+
--body "Automated refresh of the checksummed skill snapshot from skills.lock.json. Externally managed skills come from full-stack-skills/codeguard-skills; unlisted plugin-local skills are preserved." \
Copy file name to clipboardExpand all lines: .zcode-plugin/plugin.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@
5
5
"en": "CodeGuard",
6
6
"zh-CN": "代码规范检查"
7
7
},
8
-
"version": "0.3.8",
8
+
"version": "0.4.0",
9
9
"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.",
10
10
"description_i18n": {
11
11
"en": "Cross-language code lint enforcement. PostToolUse hook auto-runs the language-specific linter on every AI-written file; failed lint blocks further writes when strict_mode is on. Ships ready-to-go .pre-commit-config.yaml templates for Java/Rust/TypeScript/Python.",
Copy file name to clipboardExpand all lines: README.md
+15-5Lines changed: 15 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@ AI code that passes lint on first try
65
65
|---|---|
66
66
| Plugin ID |`partme-codeguard-plugin`|
67
67
| Hosts | ZCode, Claude Code, Codex CLI, Kimi Code |
68
-
| Current version |`0.2.0`|
68
+
| Current version |`0.4.0`|
69
69
| ZCode manifest |`.zcode-plugin/plugin.json`|
70
70
| Codex manifest |`.codex-plugin/plugin.json`|
71
71
| MCP server |`python3 scripts/run_check.py --mcp` (stdio JSON-RPC) |
@@ -95,9 +95,17 @@ Beyond linting, codeguard ships standalone governance skills sourced from the te
95
95
96
96
The commit gate is pre-wired in the pre-commit template (`stages: [commit-msg]`); branch and security skills guide the AI during branch creation, interface development, and pre-merge review.
97
97
98
-
### Skill architecture
98
+
### External skill source
99
99
100
-
All 18 skills follow a unified authoring standard abstracted from [rust-skills](https://github.com/full-stack-skills/rust-skills): a lean `SKILL.md` (trigger metadata, capability boundaries, workflow, gotchas) plus `references/` for progressive disclosure of deep material. The standard is documented in [docs/CODEGUARD_SKILLS_SPEC.md](docs/CODEGUARD_SKILLS_SPEC.md). Skills cross-route to each other (e.g. the main entry routes deep Java questions to the java-skills repository, commit format to codeguard-git-commit).
100
+
The 68 portable skills are authored in [full-stack-skills/codeguard-skills](https://github.com/full-stack-skills/codeguard-skills), not independently inside this plugin. This repository vendors the complete `v0.1.0` snapshot so installed plugins work offline:
101
+
102
+
-`skills.lock.json` pins the upstream repository, immutable tag, resolved commit, managed skill names, and per-skill SHA-256 digests.
103
+
-`python3 scripts/vendor/skill_vendor.py update` refreshes only the skill names listed in the lock.
104
+
-`python3 scripts/vendor/skill_vendor.py check --offline` verifies the packaged snapshot; omit `--offline` to verify the upstream ref and content too.
105
+
- Do not directly edit a locked skill directory. Change and release `codeguard-skills`, update the lock ref, then run the vendor update.
106
+
- Plugin-specific skills may remain under `skills/` only when they are intentionally absent from `skills.lock.json`; the vendor leaves those directories untouched.
107
+
108
+
Hooks, linters, commands, MCP wiring, and executable scripts remain plugin-owned. The authoring standard is documented in [docs/CODEGUARD_SKILLS_SPEC.md](docs/CODEGUARD_SKILLS_SPEC.md).
0 commit comments