mirror of
https://github.com/IgorWarzocha/Opencode-Workflows.git
synced 2026-09-14 16:22:53 +08:00
44de53700c
Introduce a new agent and comprehensive skill set for professional React component engineering. This includes specialized commands for component review and creation based on a formal specification. Key additions: - New component-engineer agent and associated commands - Deep knowledge-base skill covering accessibility and composition - Integration of the specification into the VRTCT stack agents
1.0 KiB
1.0 KiB
name, description
| name | description |
|---|---|
| component-create | Generates a new React component. |
/component-create [name] [intent]
Generate a professional, spec-compliant React component. - `name`: Name of the component (e.g., `MetricCard`). - `intent`: What the component SHOULD do (e.g., "display a value with a trend indicator").- Load Skill: You MUST use the
skilltool to loadcomponent-engineering. - Read References: You MUST read the relevant
references/*.mdfiles to align with the engineering specification. - Design:
- Select Artifact Type (Primitive, Component, Block).
- You MUST define the Keyboard Map and Focus Strategy.
- Design Slot and State data attributes.
- Implement:
- Use Semantic HTML or an appropriate Primitive.
- You MUST apply asChild support for interactive parts.
- You MUST implement Prop Spreading and Ref Forwarding.
- Review: Self-audit the result against the loaded skill.