Skip to content

feat: add react-hook-philosophy plugin#366

Draft
kimyouknow wants to merge 1 commit intomainfrom
feat/hook-design-plugin
Draft

feat: add react-hook-philosophy plugin#366
kimyouknow wants to merge 1 commit intomainfrom
feat/hook-design-plugin

Conversation

@kimyouknow
Copy link
Copy Markdown
Collaborator

@kimyouknow kimyouknow commented Apr 3, 2026

Summary

Initial draft of react-hook-philosophy as a Claude Code plugin, defining 31 hook design principles for code review and writing guidance.

  • 31 principles: C1-C14 (coding principles from CLAUDE.md) + U1-U17 (usage patterns from react.dev)
  • 2 skills: react-hook-review (checklist) + react-hook-writing (guide)
  • 3 reference hooks: useToggle, useDebounce, useMediaQuery with anti-pattern comparisons

Files

File Description
docs/hook-design-principles.md Design document (requirements + C1-C14 + architecture + roadmap)
docs/react-hook-usage-patterns.md React hook usage patterns (U1-U17 from react.dev)
packages/plugin/ Claude Code plugin structure

Validation

  • claude plugin validate ✅ passed
  • Project reference grep: 0 matches ✅
  • SKILL.md token budget: review 598w, writing 552w (< 1500w limit) ✅

Install (after merge)

claude plugin install --source git-subdir \
  --url https://github.com/toss/react-simplikit.git \
  --path packages/plugin

Test plan

  • Run /react-hook-review locally → verify checklist feedback
  • Run /react-hook-writing locally → verify guide + patterns reference
  • Discuss Q1-Q6 decisions and reflect changes
  • Test git-subdir install from another React project

Add Claude Code plugin with 31 hook design principles (C1-C14 coding + U1-U17 usage patterns) for code review and writing guidance. Includes design document, React hook usage patterns reference, and 3 complete hook implementation examples.
@autofix-troubleshooter
Copy link
Copy Markdown

Hi! I'm the autofix logoautofix.ci troubleshooter bot.

It looks like you correctly set up a CI job that uses the autofix.ci GitHub Action, but the autofix.ci GitHub App has not been installed for this repository. This means that autofix.ci unfortunately does not have the permissions to fix this pull request. If you are the repository owner, please install the app and then restart the CI workflow! 😃

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 3, 2026

Size Change: 0 B 🆕

Total Size: 0 B

compressed-size-action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants