ETest-Vue-FastAPI/.openclaw/skill-project.json

121 lines
3.5 KiB
JSON

{
"project_name": "ETest-LIMS",
"description": "测试中心工单管理系统 - 基于若依FastAPI",
"version": "1.0.0",
"project_path": "C:\\PPRO\\ETest-Vue-FastAPI",
"created_at": "2026-03-21",
"skill_hierarchy": {
"root": "etest-orchestrator",
"layers": {
"orchestration": [
"etest-orchestrator"
],
"architecture": [
"software-architect",
"software-architect-lims",
"software-architect-etest"
],
"implementation": [
"fastapi-crud",
"vue-component",
"database-migration"
],
"tool": [
"project-context-transfer",
"code-review"
],
"management": [
"agent-handover"
]
}
},
"skill_dependencies": {
"software-architect-etest": {
"depends_on": ["software-architect-lims"],
"provides": ["etest-architecture", "etest-data-model"]
},
"fastapi-crud": {
"depends_on": ["software-architect-etest"],
"provides": ["crud-generation"]
},
"database-migration": {
"depends_on": ["software-architect-etest"],
"provides": ["migration-script"]
}
},
"invocation_rules": {
"default_entry": "software-architect-etest",
"allowed_transitions": {
"software-architect-etest": ["fastapi-crud", "vue-component", "database-migration"],
"fastapi-crud": ["code-review"],
"database-migration": ["code-review", "fastapi-crud"],
"vue-component": ["code-review"]
}
},
"context_files": {
"shared": [
"docs/README.md",
"docs/ARCHITECTURE.md",
"docs/DATA_MODEL.md",
"docs/AGENT_HANDOVER.md"
],
"skill_specific": {
"software-architect-etest": [
"references/etest-detailed-design.md"
],
"fastapi-crud": [
"docs/API_CONTRACT.md"
],
"database-migration": [
"docs/DATA_MODEL.md"
]
}
},
"workflows": {
"new_feature": {
"description": "开发新功能",
"steps": [
{"step": 1, "skill": "software-architect-etest", "task": "设计架构", "output": "docs/ARCHITECTURE.md"},
{"step": 2, "skill": "database-migration", "task": "创建迁移脚本", "output": "sql/migration/"},
{"step": 3, "skill": "fastapi-crud", "task": "生成后端代码", "output": "ruoyi-fastapi-backend/"},
{"step": 4, "skill": "vue-component", "task": "生成前端代码", "output": "ruoyi-fastapi-frontend/"},
{"step": 5, "skill": "code-review", "task": "代码审查", "output": "review-report.md"}
]
},
"bug_fix": {
"description": "修复Bug",
"steps": [
{"step": 1, "skill": "project-context-transfer", "task": "加载上下文"},
{"step": 2, "skill": "code-review", "task": "分析代码"},
{"step": 3, "skill": "fastapi-crud", "task": "修复问题"}
]
},
"database_change": {
"description": "数据库变更",
"steps": [
{"step": 1, "skill": "software-architect-etest", "task": "更新数据模型"},
{"step": 2, "skill": "database-migration", "task": "生成迁移脚本"},
{"step": 3, "skill": "fastapi-crud", "task": "更新实体代码"}
]
}
},
"context_management": {
"auto_update": true,
"update_triggers": ["entity_changed", "api_changed", "agent_switched"],
"handover_file": "docs/AGENT_HANDOVER.md",
"changelog_file": "docs/CHANGELOG.md"
},
"project_structure": {
"docs_dir": "docs",
"references_dir": "references",
"config_dir": ".openclaw"
}
}