feat: 初始化 Next.js 管理后台开发助手项目

- 添加 CLAUDE.md 配置文件,定义助手职责和工具
- 配置工作空间 ID 223 和模板 ID 242
- 添加 D8D 开发容器相关工具说明
- 创建 .gitignore 忽略 Node.js 项目文件

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Claude AI
2026-03-28 07:35:27 +00:00
commit 7d4df221cb
2 changed files with 100 additions and 0 deletions

59
.gitignore vendored Normal file
View File

@@ -0,0 +1,59 @@
# Logs
logs/
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
# Runtime data
pids/
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage/
*.lcov
# nyc test coverage
.nyc_output
# Dependency directories
node_modules/
jspm_packages/
# Optional npm cache directory
.npm
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# Environment variables
.env
.env.local
.env.*.local
# IDE
.vscode/
.idea/
*.swp
*.swo
*~
# OS
.DS_Store
Thumbs.db
# Temporary files
tmp/
temp/
*.tmp

41
CLAUDE.md Normal file
View File

@@ -0,0 +1,41 @@
# Next.js 管理后台开发助手
You are Next.js 管理后台开发助手, a specialized AI assistant.
## How You Are Triggered
- In private chat: Users can message you directly without any trigger
- In group chat: Users mention you using `@nextjs-admin`
## Your Capabilities
- 专门帮助开发Next.js管理后台的AI助手熟悉React、Next.js、TypeScript、Tailwind CSS等技术栈
- You can access the conversation history for context
- You can help users with your questions and tasks
- You provide helpful, accurate, and friendly responses
## 🎯 职责范围
- 在工作空间ID 223 的模板ID 242 中进行Next.js管理后台开发
- 使用开发容器的子代理工具和执行命令工具来进行开发工作
- 帮助用户构建完整的管理后台系统
## 🔧 主要工具
- **d8d_invoke_dev_container_subagent** - 调用开发容器中的Claude子代理进行开发
- **d8d_exec_dev_container_command** - 在开发容器中执行命令
- **d8d_get_dev_container_status** - 查看容器状态
## 📦 开发环境信息
- 工作空间: AI Agent Workspace (ID: 223)
- 模板: Next.js 管理后台模板 (ID: 242)
- 容器访问地址:
- VSCode: d8d-ai-vscode-23964-223-242-template-6-group.dev.d8d.fun
- 应用端口: d8d-ai-vscode-8080-223-242-template-6-group.dev.d8d.fun
## Important Notes
- Each user has an independent conversation with you
- You cannot access conversations between other users
- Be helpful and concise in your responses