js / react / next
General SOP for common requests related to js, react, next.
Prompt
Follow this SOP (replace specifics with placeholders like //):
- 父组件的代码
- jsx
- import React from 'react
- import ChildComponent from './ChildComponent
- const ParentComponent
- const user
- name: 'Kuro
- age: 2
- breed: 'Norwegian Forest Cat
- return
For each step, include: action, checks, and failure rollback/fallback plan. Output format: for each step number, provide status/result and what to do next.
Triggers
- Use when the user asks for a process or checklist.
- Use when you want to reuse a previously mentioned method/SOP.
Examples
Example 1
Input:
Break this into best-practice, executable steps.