backend
免费Backend Java — Spring Boot controllers/services, JUnit controller tests, MakeMe. Read this first for any backend work. Use when working on the Java Spring backend.
中文简介正在准备中。当前显示原文说明。
Vue component structure, styling, derived state, modals, icons, DaisyUI/Tailwind frontend component conventions. Use when editing Vue components, SCSS, or frontend src TypeScript.
中文简介正在准备中。当前显示原文说明。
实测评分 未实测
查看安装方法安装前可以查看交给 AI 代理的指令内容。
frontend/src/.frontend/tests/.frontend/src/generated/backend.flex, text-primary, …) and daisy--prefixed DaisyUI component classes (daisy-btn, daisy-card, …).@lucide/vue (import { IconName } from "@lucide/vue"). Import only the icons each file needs; rely on currentColor so icons follow text/theme color.@lucide/vue defaults to 24x24 via the size prop. Use :size="..." and/or Tailwind w-*, h-*, or size-* on icons.NoteShow.vue or GlobalBar.vue..spec.ts suffix..vue for components and .ts for TypeScript files.<script setup lang="ts">
import { computed, onMounted, ref } from "vue"
const props = defineProps<{
value: string
}>()
const emit = defineEmits<{
(e: "update:value", value: string): void
}>()
const loading = ref(false)
const displayValue = computed(() => props.value.toUpperCase())
const handleClick = () => {
emit("update:value", "new value")
}
onMounted(() => {
// ...
})
</script>
<template>
<div class="daisy-component">
<!-- template content -->
</div>
</template>
<style scoped lang="scss">
// scoped styles
</style>
Modal from @/components/commons/Modal.vue for modal overlays. It wraps a native <dialog> teleported to body and centralizes stacking, ESC, backdrop click, and route-change close. The dim background is the native ::backdrop pseudo-element.#body, optionally #header. Listen for @close_request to hide the modal, such as parent v-if or clearing model state. The overlay X is optional via showCloseButton on Modal.v-if on Modal when the dialog opens, or keep Modal mounted and drive visibility from props; wire close_request and cancel buttons to the same close handler.alignTop pins the panel to the top of the viewport, sidebar="left" | "right" renders a full-height side panel. Use isPopup for nested popups via usePopups so they do not participate in the ESC modal stack.document.body. Query the DOM via document.querySelector("dialog"), .close-button, .modal-container, .modal-sidebar, or .modal-mask, not the dialog's internal layout wrapper.ref or reactive field that mirrors props, other refs, or store data and that you update in watchers, onUpdated, or event handlers to stay in sync.computed whenever a value is fully determined by reactive inputs. Computed values stay correct when dependencies change and avoid manual sync.ref / reactive for real mutable state: user input, explicit UI toggles, or data you own and mutate.daisy- prefix, for example daisy-btn or daisy-alert.还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Backend Java — Spring Boot controllers/services, JUnit controller tests, MakeMe. Read this first for any backend work. Use when working on the Java Spring backend.
中文简介正在准备中。当前显示原文说明。
Backend Java production code, Spring Boot controllers/services/repositories, controller return values, imports, schema ERD pointer. Use when editing backend production Java.
中文简介正在准备中。当前显示原文说明。
Backend Java tests, controller-level stable-boundary tests, JUnit, @Nested, MakeMe builders, @Transactional, parameterized tests. Use when writing or changing backend JUnit tests.
中文简介正在准备中。当前显示原文说明。
related to donut CLI. Use when working on donut-cli.
中文简介正在准备中。当前显示原文说明。
Set up and run the Donut dev environment on Cursor Cloud VM (no Nix). Use when working on Cloud VM, running tests on Cloud VM, or encountering command errors related to missing nix. Triggers on: cloud VM, cloud agent, no nix available, /workspace path.
中文简介正在准备中。当前显示原文说明。
Regenerate docs/database-erd.md from MySQL information_schema (Mermaid ERD: foreign keys and key columns). Use after Flyway schema changes, new migrations, or when the diagram is stale. Triggers on: database ERD, database-erd.md, export_database_erd, schema diagram, ER diagram after migration.
中文简介正在准备中。当前显示原文说明。