
项目特性: - 完整的Markdown编辑器,支持实时预览 - 文件管理功能,支持保存/加载/删除文件 - 正则表达式工具,支持批量文本替换 - 前后端分离架构 - 响应式设计 技术栈: - 前端:React + TypeScript + Vite - 后端:Python Flask - Markdown解析:Python-Markdown 包含组件: - WorkingMarkdownEditor: 基础功能版本 - FullMarkdownEditor: 完整功能版本 - SimpleMarkdownEditor: 简化版本
2.0 KiB
2.0 KiB
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Project Overview
This is a new workspace without an existing codebase. The repository is ready for new project initialization.
Common Commands
Since this is a new workspace, you'll need to establish project structure based on the technology stack chosen:
Project Initialization Commands
For Node.js projects:
npm init -y
npm install [packages]
npm run dev
npm run build
npm test
For Python projects:
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python -m pytest
For Go projects:
go mod init [module-name]
go mod tidy
go run .
go test ./...
For Rust projects:
cargo init
cargo build
cargo run
cargo test
Directory Structure Recommendations
Consider establishing one of these structures based on project type:
Web Application:
src/
├── components/
├── pages/
├── utils/
├── styles/
└── tests/
API Service:
src/
├── handlers/
├── models/
├── middleware/
├── config/
└── tests/
Library/Package:
src/
├── core/
├── utils/
├── types/
└── tests/
Technology Stack Detection
When starting work in this repository:
- Check for existing package.json, requirements.txt, Cargo.toml, or go.mod
- Look for .gitignore, .env files, or other configuration indicators
- Examine any existing README.md or documentation
- Ask the user about intended technology stack if unclear
Development Environment
This workspace runs in WSL (Windows Subsystem for Linux). File paths from Windows should be converted to WSL format:
- Windows:
C:\temp\file.txt
→ WSL:/mnt/c/temp/file.txt
Next Steps
- Determine the intended technology stack with the user
- Initialize project structure accordingly
- Set up appropriate build tools and testing framework
- Create initial project files based on requirements