Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By yoshi47v0.2.0MITIn 1 marketplace
Workflow compliance enforcer — ensures plan reviews and PR reviews are completed before proceeding
Claude loads one when your task matches it, or you run it by name.
1 caution to review before installing
A hook runs when Claude uses the Bash tool
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude Code plugin that enforces CLAUDE.md workflow compliance through hooks.
Named after the Edo-period inspector (目付) who monitored whether officials followed the rules — metsuke does the same for your AI coding agent.
Blocks git commit if pr-review-toolkit:review-pr hasn't been run in the current session.
[metsuke] git commit blocked: レビュー未実施
pr-review-toolkit:review-pr を実行してください。
回避: /metsuke:skip-review または METSUKE_SKIP=1
In plan mode, injects a reminder to run plan-document-reviewer before presenting the plan to the user.
/plugin install metsuke@metsuke-plugin
Or add to your settings.json:
{
"enabledPlugins": {
"metsuke@metsuke-plugin": true
},
"extraKnownMarketplaces": {
"metsuke-plugin": {
"source": {
"source": "github",
"repo": "yoshi47/metsuke"
}
}
}
}
metsuke is now active. It blocks git commit without a review and reminds about plan reviews in plan mode using default settings.
/metsuke:metsuke-config
Creates ~/.config/metsuke/config.json for customization. See Configuration below.
metsuke works with no configuration. To customize, run /metsuke:metsuke-config to create ~/.config/metsuke/config.json:
{
"commit_aliases": [],
"checks": [
{
"name": "impl_review",
"enabled": true,
"trigger": "pre_commit",
"action": "block",
"detection_patterns": ["pr-review-toolkit"],
"message": "[metsuke] git commit blocked: レビュー未実施\npr-review-toolkit:review-pr を実行してください。"
},
{
"name": "plan_review",
"enabled": true,
"trigger": "plan_mode",
"action": "remind",
"detection_patterns": ["plan-document-reviewer"],
"message": "[metsuke] プラン作成後は plan-document-reviewer でレビューしてからユーザーに提示してください。"
}
]
}
| Field | Description |
|---|---|
commit_aliases | Regex patterns for custom git commit aliases (e.g., `["\bgit\s+ci(\s |
checks[].name | Check identifier (used in marker filenames) |
checks[].enabled | Enable/disable without removing from array |
checks[].trigger | pre_commit (blocks at git commit) or plan_mode (reminds in plan mode) |
checks[].action | block (pre_commit only) or remind |
checks[].detection_patterns | Substring patterns matched against SubagentStop payload |
checks[].message | Message shown when check is unsatisfied |
SessionStart → Clear markers, initialize tracking
PreToolUse(Bash) → Detect "git commit", block if no review marker
SubagentStop → Detect review completion, create marker
UserPromptSubmit → Inject plan review reminder in plan mode
State is tracked via marker files in ${TMPDIR}/metsuke/:
${TMPDIR}/metsuke/
├── <session-id>.impl_review-done # Created when PR review completes
├── <session-id>.plan_review-done # Created when plan review completes
└── <session-id>.skip # Created by /metsuke:skip-review
| Skill | Description |
|---|---|
/metsuke:metsuke-config | Customize configuration |
/metsuke:metsuke-status | Show current workflow compliance status |
/metsuke:skip-review | Bypass review enforcement for this session |
/metsuke:skip-review — creates a skip marker for the current sessionMETSUKE_SKIP=1 — environment variable to disable all enforcementLogs are written to ${TMPDIR}/metsuke/debug.log.
git ci) bypass the commit gate by default. Add custom patterns to commit_aliases in config to catch them.MIT
npx claudepluginhub yoshi47/metsuke --plugin metsukePlugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.