By yoshi47
Workflow compliance enforcer — ensures plan reviews and PR reviews are completed before proceeding
Customize metsuke configuration — interactive wizard that scans installed plugins and available skills, then asks one question at a time to build config.json
Show current metsuke workflow compliance status for this session
Skip review enforcement for this session (for hotfixes or trivial changes)
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
Executes bash commands
Hook triggers when Bash tool is used
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub yoshi47/metsuke --plugin metsukeAutomatically save work checkpoints when sending messages
Core skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques
Harness-native ECC operator layer - 67 agents, 271 skills, 92 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses
Superpowers Plus core skills library for Claude Code: planning, execution routing, TDD, debugging, and collaboration workflows
Claude harness - A harness for solo developers (Vibecoders) to handle full-cycle contract development.
Intelligent prompt optimization: injects the right context at the right moment so Claude lands a better first output. Clarifies vague prompts with research-based questions, plus targeted nudges for approach selection, plan readability, workflow routing, background execution, subagent routing, output readability, user-decision questions, and plan-mode assessment