diff --git a/.agents/plugins/marketplace.json b/.agents/plugins/marketplace.json new file mode 100644 index 00000000..767328e9 --- /dev/null +++ b/.agents/plugins/marketplace.json @@ -0,0 +1,20 @@ +{ + "name": "react-simplikit", + "interface": { + "displayName": "React Simplikit" + }, + "plugins": [ + { + "name": "react-design-philosophy", + "source": { + "source": "local", + "path": "./packages/plugin" + }, + "policy": { + "installation": "AVAILABLE", + "authentication": "ON_INSTALL" + }, + "category": "Development" + } + ] +} diff --git a/packages/plugin/.codex-plugin/plugin.json b/packages/plugin/.codex-plugin/plugin.json new file mode 100644 index 00000000..6307e31b --- /dev/null +++ b/packages/plugin/.codex-plugin/plugin.json @@ -0,0 +1,25 @@ +{ + "name": "react-design-philosophy", + "version": "0.1.0", + "description": "React design philosophy for abstraction design, hook review, and hook writing. Covers declarative APIs, lifecycle safety, SSR, state design, effect patterns, TypeScript, and performance.", + "author": { "name": "kimyouknow, zztnrudzz13" }, + "homepage": "https://react-simplikit.slash.page", + "repository": "https://github.com/toss/react-simplikit", + "license": "MIT", + "keywords": ["react", "hooks", "philosophy", "code-review", "api-design", "ssr", "typescript"], + "skills": "./skills/", + "interface": { + "displayName": "React Design Philosophy", + "shortDescription": "React hook design, review, and API abstraction guidance.", + "longDescription": "React design philosophy for abstraction design, hook review, and hook writing. Covers declarative APIs, lifecycle safety, SSR, state design, effect patterns, TypeScript, and performance.", + "developerName": "Toss", + "category": "Development", + "capabilities": ["Review", "Write"], + "websiteURL": "https://react-simplikit.slash.page", + "defaultPrompt": [ + "Review this hook against React design principles.", + "Design a React hook API for this behavior.", + "Check whether this abstraction fits React." + ] + } +} diff --git a/packages/plugin/README.md b/packages/plugin/README.md index 9e522324..7f3735e7 100644 --- a/packages/plugin/README.md +++ b/packages/plugin/README.md @@ -4,6 +4,8 @@ React design philosophy plugin for Claude Code. Includes skills for reviewing an ## Install +### Claude Code + ```bash # 1. Add this plugin's marketplace (sparse-checkout keeps the clone minimal) claude plugin marketplace add https://github.com/toss/react-simplikit \ @@ -13,13 +15,29 @@ claude plugin marketplace add https://github.com/toss/react-simplikit \ claude plugin install react-design-philosophy@react-design-philosophy ``` +### Codex + +```bash +codex plugin marketplace add https://github.com/toss/react-simplikit +``` + +Then install `React Design Philosophy` from the Codex plugin UI. + To uninstall: +### Claude Code + ```bash claude plugin uninstall react-design-philosophy@react-design-philosophy claude plugin marketplace remove react-design-philosophy ``` +### Codex + +```bash +codex plugin marketplace remove react-simplikit +``` + ## Skills ### /react-design-principles