claude

comment-rule

Ships a UserPromptSubmit hook that prepends 'Remember the code commenting rule.' to every prompt, plus a skill containing the rule itself (when to comment, when not to). Keeps Claude's commenting discipline consistent across long sessions and after context compactions, without per-seat settings.json edits.

1 on GitHubby Amimul Ehshanv0.1.0MITupdated 1 month agoworkflow
/

Plugin comment-rule from marketplace amim in amims71/claude-plugins. Commands read from the repo's manifest — 1 month ago.

This plugin runs code on your machine — its hooks fire automatically on events like tool use. The exact commands are listed below; read them before installing.

What it installs

Skills (1)

  • comment-rule

    Defines when Claude should and should NOT write code comments. Apply on any code edit/write/refactor. The companion UserPromptSubmit hook nudges Claude to recall this skill every turn — the skill itself is what the reminder points at.

Hooks (1)

  • UserPromptSubmit

    node -e "process.stdout.write(JSON.stringify({hookSpecificOutput:{hookEventName:'UserPromptSubmit',additionalContext:'Remember the code commenting rule.'}}))"

View source on GitHub

More from amims71/claude-plugins

All 3 plugins →

Push Claude Code completions to your phone via ntfy. The Stop hook sends what Claude actually said at turn-end (PR link / decision / error) instead of a static message; Notification events push permission/attention prompts. Auto-generates a private topic on first run with subscribe instructions. Cross-platform Node, no dependencies.

1 command · hooks

1

Stops every Claude Code agent from spending usage credits until you say so. When your claude.ai plan crosses a usage threshold (5-hour 95%, weekly 98% by default), all sessions, subagents and workflow agents pause on one macOS dialog: Allow credits until the window resets, or Stop. One-time /credit-gate:setup connects it to your status line. macOS only; needs jq.

1 command · hooks

1

Similar plugins

superpowers

claudecodex

Core skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques

15 skills · hooks

obra/superpowers 316,836

Backend API design, GraphQL architecture, workflow orchestration with Temporal, and test-driven backend development

9 skills · 1 command · 8 agents

wshobson/agents 42,461

beads

claudecodex

AI-supervised issue tracker for coding workflows

1 skill · 1 agent · hooks

gastownhall/beads 28,698

MiniMax AI skills library for frontend, fullstack, Android, iOS, shader, GIF sticker, document, presentation, spreadsheet, and multimodal media workflows

18 skills

MiniMax-AI/skills 13,828

worktrunk

claudecodex

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows. This plugin provides configuration guidance (LLM commit messages, project hooks, worktree paths), automatic activity tracking (🤖/💬 indicators in `wt list` showing active Claude sessions), and a `/wt-diff` pane showing each worktree's changes.

2 skills · hooks

max-sixty/worktrunk 12,481

gsd-core

claude

GSD Core is a meta-prompting, context engineering, and spec-driven development system for AI coding agents.

72 skills · 72 commands · 64 agents · hooks

open-gsd/gsd-core 11,494

Maintain comment-rule?

This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.

claude & codex plugins3 plugins