guard
v0.5.2Turn coding rules into harness-enforced ones. comment-guard hands back every comment block an edit added or grew, three lines or longer, with one question: is this why, or is this what?
By QLicense: MIT1 GitHub starsUpdated 2 hours ago
Directory evidence
- Runtimes
- Codex and Claude Code
- Parsed components
- 0 skill or MCP entries
- Source updated
- Sep 29, 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 guard for Codex and Claude Code
codex plugin marketplace add FunnyQ/cc-plugins
codex plugin marketplace upgrade q-lab-marketplace
codex plugin add guard@q-lab-marketplacePaste and run these commands in a terminal with Codex. They add and refresh the q-lab-marketplace catalog, then install this plugin.
Compatibility: the page URL and API slug “guard-3” remain stable.
- Codex:
guard-3@agent-plugin-marketplace→guard@q-lab-marketplace
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/FunnyQ/cc-pluginsClone the source repository, then follow its setup instructions to add the plugin to a compatible client. The plugin root is packages/guard/.
Plugin files
├── .codex-plugin/plugin.json└── .claude-plugin/plugin.json
Plugin manifests2
{
"name": "guard",
"version": "0.5.2",
"description": "Turn coding rules into harness-enforced ones. comment-guard hands back every comment block an edit added or grew, three lines or longer, with one question: is this why, or is this what?",
"author": {
"name": "Q"
},
"license": "MIT",
"keywords": [
"guard",
"hook",
"comment",
"why-not-what",
"coding-discipline",
"lint",
"code-quality"
]
}{
"name": "guard",
"version": "0.5.2",
"description": "Turn coding rules into harness-enforced ones. comment-guard hands back every comment block an edit added or grew, three lines or longer, with one question: is this why, or is this what?",
"author": {
"name": "Q"
},
"license": "MIT",
"keywords": [
"guard",
"hook",
"comment",
"why-not-what",
"coding-discipline",
"lint",
"code-quality"
],
"hooks": {
"PostToolUse": [
{
"matcher": "Edit|Write",
"hooks": [
{
"type": "command",
"command": "bun \"${CLAUDE_PLUGIN_ROOT}/hooks/comment-guard.ts\"",
"timeout": 10
}
]
}
],
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "bun \"${CLAUDE_PLUGIN_ROOT}/hooks/comment-sweep.ts\" snapshot",
"timeout": 10
}
]
}
],
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "bun \"${CLAUDE_PLUGIN_ROOT}/hooks/comment-sweep.ts\" sweep",
"timeout": 10
}
]
}
]
}
}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.
[guard on Agent Plugins Marketplace](https://pluginsmp.com/plugins/guard-3)