Files
shanxia2.0/.cursor/rules/openspec-zkxw-standards.mdc
T
2026-05-30 14:03:11 +08:00

22 lines
1.2 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
description: OpenSpec 工程规范(山峡化工 shanxia2.0)SHALL 级约束入口
alwaysApply: true
---
# OpenSpec(shanxia2.0 / 山峡化工)
- 使用 OpenSpec CLI 管理变更时,遵守仓库 `openspec/config.yaml` 与既有 `changes/` 结构;新能力在 `proposal.md` 的 Capabilities 中与 `specs/<kebab-name>/spec.md` 一一对应。
- **实现或评审代码**时,对照当前生效的 spec(`### Requirement` / `#### Scenario`),并与 `工程规范`、两份 UI 规范交叉核对,避免与 SHALL 冲突。
**路径(活跃变更)**
- `openspec/changes/zkxw-engineering-standards/specs/*/spec.md`:`architecture-conventions`、`api-conventions`、`ui-conventions`、`coding-conventions`、`database-conventions`、`workflow-conventions`、`permission-conventions`、`ecosystem-landscape`(多系统 SQL 快照与 `shanxia/crm` 路径)。
**路径(归档后基线)**
- 若已归档:`openspec/specs/<capability>/spec.md` 为长期基线;与 `changes/` 并存时 **以 `openspec/specs/` 为准**。
**技能入口(可选)**
- `.cursor/commands/opsx-*.md` 与 `.cursor/skills/openspec-*/SKILL.md` 用于 propose / apply / explore / archive 流程。