Files
router-studio/web/.github/prompts/astro.prompt.md
abearxiong 0b17ac78a9 feat: enhance UI components and application features
Add new shadcn/ui components (popover, tabs, tooltip) and improve multiple application modules including chat, query-view, and studio. Update dependencies and refactor code for better user experience.
2026-01-03 18:59:37 +08:00

33 lines
1004 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
agent: agent
tags: ["astro", "react", "tailwindcss", "shadcn/ui", "typescript"]
createdAt: 2026-01-03
---
# 项目技术栈和上下文
## 核心框架和库
- **Astro** - 静态站点生成框架,用于构建高性能网站
- **React** - 用于构建交互式 UI 组件
- **TypeScript** - 项目使用 TypeScript 编写,有 tsconfig.json 配置
## UI 和样式
- **TailwindCSS** - CSS 框架,已集成
- **shadcn/ui** - 高质量 React 组件库,已安装
## 项目结构特点
- 使用 pnpm 工作区管理
- `src/` 目录包含主要源代码
- `apps/` - 应用模块chat、cv、studio、query-view 等)
- `components/` - React组件
- `pages/` - Astro 页面
- `layouts/` - Astro 布局
- `slides/` - 演示幻灯片内容
## 开发指南
- 修改代码时遵循项目现有的代码结构和命名约定
- React 组件通常使用 `.tsx` 后缀
- Astro 组件使用 `.astro` 后缀
- 样式优先使用 TailwindCSS 类
- 复用已有的 shadcn/ui 组件库中的组件