agents.md

This commit is contained in:
2025-11-25 15:25:52 +08:00
parent d7deaa346b
commit ae27eb142d
4 changed files with 11 additions and 18 deletions

1
.gitignore vendored
View File

@@ -16,6 +16,7 @@ vendor/
# IDE-specific files
.idea/
.vscode/
*.swp
*.swo

View File

@@ -1,18 +1,4 @@
<!-- OPENSPEC:START -->
# OpenSpec Instructions
# 资源地址
These instructions are for AI assistants working in this project.
Always open `@/openspec/AGENTS.md` when the request:
- Mentions planning or proposals (words like proposal, spec, change, plan)
- Introduces new capabilities, breaking changes, architecture shifts, or big performance/security work
- Sounds ambiguous and you need the authoritative spec before coding
Use `@/openspec/AGENTS.md` to learn:
- How to create and apply change proposals
- Spec format and conventions
- Project structure and guidelines
Keep this managed block so 'openspec update' can refresh the instructions.
<!-- OPENSPEC:END -->
1. 你可以访问 http://localhost:8080/ 进入我的前端界面, 前端项目是另一个项目, 但接入的是当前项目对应的后端平台, 如果需要登录账号密码都是huang
2. 项目根目录有project_structure.txt, 你需要先阅读此文件了解项目目录结构

View File

@@ -62,6 +62,11 @@ dev:
mcp-chrome:
node "C:\nvm4w\nodejs\node_modules\chrome-devtools-mcp\build\src\index.js"
# 启用PostgreSQL MCP服务器
.PHONY: mcp-pgsql
mcp-pgsql:
npx mcp-postgres-server "postgresql://pig-farm-controller:pig-farm-controller@192.168.5.16:5431/pig-farm-controller"
# 生成文件目录树
.PHONY: tree
@@ -80,3 +85,4 @@ tree:
.PHONY: gemini
gemini:
gemini -m "gemini-2.5-flash"