一键导入
use-form-component
Never use raw `<form>` in app code. Use Form or FormContainer from @boilerplate/ui.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Never use raw `<form>` in app code. Use Form or FormContainer from @boilerplate/ui.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
When changing API routes, auth, or env-dependent behavior, add or update the corresponding integration tests and keep the test file layout consistent.
When adding or changing files under infra/k8s/ or sync targets for k8s, know what Argo CD syncs and remind the user to push to Git so the cluster can sync.
Keeps tools/generate-data seeders and docs in sync when main or management DB schema or ORM entities change. Use when adding or changing tables/entities in packages/orm, packages/management-orm, or infra database migrations.
When changing DB schema or permission dimensions, consider predefined roles and bucket_role / role-related code.
Use when adding or changing environment variables, infra/env/classification YAML, scripts/env-classification, K8s env render, or local env generation.
Common patterns for the Boilerplate HTTP API (Express)
| name | use-form-component |
| description | Never use raw `<form>` in app code. Use Form or FormContainer from @boilerplate/ui. |
| version | 1.0.0 |
When to use: When adding or editing forms in app code (e.g. apps/web, apps/management-web).
Do not use raw <form> in app code. Use one of:
Form (from @boilerplate/ui) – when you need a titled card plus the form. Renders a Card + <form> + Stack; props include title, onSubmit, submitError, children.FormContainer (from @boilerplate/ui) – when the form is already inside a card or other layout. Renders a <form> with optional max-width; props: onSubmit, children, optional constrainWidth, optional className.Stack for consistent vertical spacing (flex column + gap).Stack with gap or Container) rather than a bare div; see avoid-wrapper-elements.Form or FormContainer from @boilerplate/ui, not <form>.<Stack> as the direct child of FormContainer.