Плагин coding-discipline
Eight lean but firm skills, including spec-sync for durable intent and context-hygiene against stale documentation. They trigger only when their conditions match and stay strict once active. Includes a SessionStart discipline primer, passive local usage counting, and first-entry guide-doc seeding for CLAUDE.md / AGENTS.md.
Как установить плагин coding-discipline
Выполните обе команды в Claude Code. Первая один раз добавляет маркетплейс; вторая устанавливает плагин.
/plugin marketplace add chipfighter/coding-discipline
/plugin install coding-discipline@coding-disciplineЧто внутри coding-discipline
10 частей прочитано из файлов самого плагина.
Skills 8
Claude загружает это при соответствии задачи- brainstorming
Use before coding when requirements have multiple reasonable interpretations, approaches require tradeoffs, or mistakes would be costly (permissions/payments/data migration/public APIs/data structures/hard-to-revert changes). Clarify requirements and design one question at a time, then get approval before implementation. Do not trigger for a focused small change with a clear goal and approach, or for mechanical edits (copy/constants/config values).
- code-review
Use when changes affect interactions across multiple modules, involve high-risk areas (authorization/authentication, payments/funds, data deletion/migration, public APIs/cross-service interfaces/security boundaries), or the user requests a review. Review in this order—correctness → requirements → security → simplicity → style. Verify feedback before acting; do not comply blindly or agree performatively. Unless the user asks, documentation-only changes, explicit config values, and mechanical renames do not trigger merely because of a PR or merge.
- context-hygiene
Use when starting a project, reading project documentation or history, or resolving conflicts between documents. For current state, read only the latest documents designated by the project; do not proactively read archives; do not duplicate the spec; use long-term memory only for environment, people, and preferences not recorded in the repository.
- git-flow
Use when creating a branch, using worktrees for parallel work, committing, or wrapping up. Covers branch naming, conventional commits, short-lived branches, worktree isolation, and final merge/cleanup.
- spec-sync
Use in cross-session work when user-confirmed outcomes, non-goals, hard constraints, or acceptance criteria have not been written back to the current source of truth (spec), or reality conflicts with it enough that following it would be wrong; also use during wrap-up or handoff when a source of truth should exist but does not. Edit only the affected original wording; do not keep separate old and new versions. Do not trigger for work that can be completed within one session, local implementation details, verification against existing acceptance criteria, locating the source of truth, or ordinary documentation edits.
- systematic-debugging
Use before proposing a permanent fix for bugs, test failures, or unexpected behavior with an unknown root cause—mandatory when symptoms are far from the cause, a prior fix failed, or the issue crosses components. Reproduce, trace backward to the root cause, fix once at the source, and add a regression test. Do not trigger for obvious errors whose message identifies the cause (syntax/typo/missing import); fix those directly.
- tdd
Use before implementation when behavior can be verified by automated tests and regression coverage has clear value. For bugs with an unknown root cause, use systematic-debugging first, then return for red-green. Follow red-green-refactor—write a failing test first, add only enough code to pass it, then refactor. Do not trigger for documentation, configuration, copy-only, or styling changes with no testable behavior.
- verify-before-done
Use before claiming "done", "fixed", "tested", or "it runs", and before committing or opening a PR or MR—no task is exempt. Accept only evidence gathered after the last relevant change and just sufficient to prove the claim; do not over-verify small changes.
Хуки 2
Запускается при этих событиях- PostToolUsecommand
Skill
- SessionStartcommand
startup|clear|compact
Использование coding-discipline в Claude Code
Skills не требуют команд. Claude считывает их, когда ваш запрос соответствует их описанию.
Обновить, выключить или удалить
- Обновить плагин (shell)
- claude plugin update coding-discipline@coding-discipline
- Обновить marketplace
- /plugin marketplace update coding-discipline
- Временно выключить
- /plugin disable coding-discipline@coding-discipline
- Удалить
- /plugin uninstall coding-discipline@coding-discipline
Навыки в coding-discipline
- brainstormingchipfighter/coding-discipline
Use before coding when requirements have multiple reasonable interpretations, approaches require tradeoffs, or mistakes would be costly (permissions/payments/data migration/public APIs/data structures/hard-to-revert changes). Clarify requirements and design one question at a time, then get approval before implementation. Do not trigger for a focused small change with a clear goal and approach, or for mechanical edits (copy/constants/config values).
25звёзд - code-reviewchipfighter/coding-discipline
Use when changes affect interactions across multiple modules, involve high-risk areas (authorization/authentication, payments/funds, data deletion/migration, public APIs/cross-service interfaces/security boundaries), or the user requests a review. Review in this order—correctness → requirements → security → simplicity → style. Verify feedback before acting; do not comply blindly or agree performatively. Unless the user asks, documentation-only changes, explicit config values, and mechanical renames do not trigger merely because of a PR or merge.
25звёзд - context-hygienechipfighter/coding-discipline
Use when starting a project, reading project documentation or history, or resolving conflicts between documents. For current state, read only the latest documents designated by the project; do not proactively read archives; do not duplicate the spec; use long-term memory only for environment, people, and preferences not recorded in the repository.
25звёзд - git-flowchipfighter/coding-discipline
Use when creating a branch, using worktrees for parallel work, committing, or wrapping up. Covers branch naming, conventional commits, short-lived branches, worktree isolation, and final merge/cleanup.
25звёзд - spec-syncchipfighter/coding-discipline
Use in cross-session work when user-confirmed outcomes, non-goals, hard constraints, or acceptance criteria have not been written back to the current source of truth (spec), or reality conflicts with it enough that following it would be wrong; also use during wrap-up or handoff when a source of truth should exist but does not. Edit only the affected original wording; do not keep separate old and new versions. Do not trigger for work that can be completed within one session, local implementation details, verification against existing acceptance criteria, locating the source of truth, or ordinary documentation edits.
25звёзд - systematic-debuggingchipfighter/coding-discipline
Use before proposing a permanent fix for bugs, test failures, or unexpected behavior with an unknown root cause—mandatory when symptoms are far from the cause, a prior fix failed, or the issue crosses components. Reproduce, trace backward to the root cause, fix once at the source, and add a regression test. Do not trigger for obvious errors whose message identifies the cause (syntax/typo/missing import); fix those directly.
25звёзд - tddchipfighter/coding-discipline
Use before implementation when behavior can be verified by automated tests and regression coverage has clear value. For bugs with an unknown root cause, use systematic-debugging first, then return for red-green. Follow red-green-refactor—write a failing test first, add only enough code to pass it, then refactor. Do not trigger for documentation, configuration, copy-only, or styling changes with no testable behavior.
25звёзд - verify-before-donechipfighter/coding-discipline
Use before claiming "done", "fixed", "tested", or "it runs", and before committing or opening a PR or MR—no task is exempt. Accept only evidence gathered after the last relevant change and just sufficient to prove the claim; do not over-verify small changes.
25звёзд
Вопросы о плагине coding-discipline
Как установить плагин coding-discipline?
В Claude Code выполните /plugin marketplace add chipfighter/coding-discipline, затем /plugin install coding-discipline@coding-discipline.
Что включает плагин coding-discipline?
coding-discipline объединяет 8 навыков, хуки.
Как обновить или удалить плагин coding-discipline?
Обновите его с помощью claude plugin update coding-discipline@coding-discipline в вашем shell или на вкладке Installed в /plugin. Удалите его с помощью /plugin uninstall coding-discipline@coding-discipline.
Под какой лицензией распространяется плагин coding-discipline?
MIT, как указано в манифесте плагина.