chore(cursor): use composer-2 for subagents

This commit is contained in:
Tommaso Casaburi
2026-03-20 12:51:22 +08:00
parent a2286aa68e
commit dd4451c8c5
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
---
name: browser-check
model: composer-1.5
model: composer-2
description: Verifies UI changes in the browser using playwright-cli. Use after making visual or interaction changes to React components, CSS, layouts, or routing to confirm they render and behave correctly.
---
+1 -1
View File
@@ -1,6 +1,6 @@
---
name: code-quality
model: composer-1.5
model: composer-2
description: Code quality specialist that runs build, lint, and type-check, then fixes any errors it finds. Use proactively after code changes to verify nothing is broken.
---
+1 -1
View File
@@ -1,6 +1,6 @@
---
name: plan-implementer
model: composer-1.5
model: composer-2
description: Implements assigned tasks from a plan. Receives specific tasks from the parent agent, implements them sequentially, verifies with a build check, and reports back. The parent agent handles parallelization by spawning multiple plan-implementer subagents with different task subsets.
---
+1 -1
View File
@@ -1,6 +1,6 @@
---
name: react-doctor-fixer
model: composer-1.5
model: composer-2
description: Fixes React issues identified by react-doctor. Use when the parent agent has validated a react-doctor diagnostic and has a detailed fix plan. The parent agent provides the plan; this subagent implements the fix and re-runs react-doctor to verify.
---
+1 -1
View File
@@ -1,6 +1,6 @@
---
name: react-patterns-enforcer
model: composer-1.5
model: composer-2
description: Reviews React code for anti-pattern violations specific to the 5chan project (useState/useEffect misuse, missing Zustand, copy-pasted logic) and fixes them. Use after writing or modifying React components, hooks, or state management code.
---
+1 -1
View File
@@ -1,6 +1,6 @@
---
name: translator
model: composer-1.5
model: composer-2
description: Translates a single i18next key into all 35 supported languages, creates a dictionary file, and runs the update script. Use proactively when the parent agent needs to translate one translation key.
---