agents.md
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -16,6 +16,7 @@ vendor/
|
|||||||
|
|
||||||
# IDE-specific files
|
# IDE-specific files
|
||||||
.idea/
|
.idea/
|
||||||
|
.vscode/
|
||||||
*.swp
|
*.swp
|
||||||
*.swo
|
*.swo
|
||||||
|
|
||||||
|
|||||||
20
AGENTS.md
20
AGENTS.md
@@ -1,18 +1,4 @@
|
|||||||
<!-- OPENSPEC:START -->
|
# 资源地址
|
||||||
# OpenSpec Instructions
|
|
||||||
|
|
||||||
These instructions are for AI assistants working in this project.
|
1. 你可以访问 http://localhost:8080/ 进入我的前端界面, 前端项目是另一个项目, 但接入的是当前项目对应的后端平台, 如果需要登录账号密码都是huang
|
||||||
|
2. 项目根目录有project_structure.txt, 你需要先阅读此文件了解项目目录结构
|
||||||
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 -->
|
|
||||||
8
Makefile
8
Makefile
@@ -62,6 +62,11 @@ dev:
|
|||||||
mcp-chrome:
|
mcp-chrome:
|
||||||
node "C:\nvm4w\nodejs\node_modules\chrome-devtools-mcp\build\src\index.js"
|
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
|
.PHONY: tree
|
||||||
|
|
||||||
@@ -79,4 +84,5 @@ tree:
|
|||||||
# 启用gemini-cli
|
# 启用gemini-cli
|
||||||
.PHONY: gemini
|
.PHONY: gemini
|
||||||
gemini:
|
gemini:
|
||||||
gemini -m "gemini-2.5-flash"
|
gemini -m "gemini-2.5-flash"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user